Re: [newbie] Interesting Dilemma
On Sunday 15 Jun 2003 3:13 am, Brian Parish wrote: On Sun, 2003-06-15 at 11:49, JoeHill wrote: WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)? no OK, the easiest way to handle this is to boot from the first install CD then type rescue after hitting F1. From there you'll get a menu which allows you to get a console without having your filesystems active. Then you can safely fsck.ext3 /dev/hda6 The correct way is to drop to single user mode with telinit 1. Then unmount /home if it is still mounted read-write. -- Richard Urwin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sun, 15 Jun 2003 08:22:55 -0500 Tom Brinkman [EMAIL PROTECTED] uttered: Did you rip to wav's or mp3's? I've never had any luck normalizing anything but wav's. I get segfaults and corrupt mp3's trying to normalize them ... just part way thru ; rip to wav. I didn't know normalize would even work on mp3z, I use mp3gain for that. Now, if I try to even list the contents of the dir, the shell freezes, ctrl-c will not get me out. I tried rm -rf ~/mp3/chris, it freezes too, and again I cannot ctrl-c out of it. Same as root, why I thought that would work, I don't know, LOL. Any way out of this? I just want to delete the dir and start over. I cannot even delete the parent dir! Try to delete it with konqueror-super user mode. Sometimes that works when all else fails. You might try Rox or MC also. Everything just froze...ROX could not terminate child process. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 09:32:02 up 10:11, 2 users, load average: 0.00, 0.00, 0.00 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sun, 15 Jun 2003 11:10:15 +0100 Richard Urwin [EMAIL PROTECTED] uttered: The correct way is to drop to single user mode with telinit 1. Then unmount /home if it is still mounted read-write. That would have avoided a reboot? In any case, would it have allowed me to simply delete or otherwise dispose of the directory without running fsck? Thanks so much for all the interest guys, that's why I love this place. -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 09:36:45 up 10:16, 2 users, load average: 0.08, 0.02, 0.01 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sunday 15 Jun 2003 2:39 pm, JoeHill wrote: On Sun, 15 Jun 2003 11:10:15 +0100 Richard Urwin [EMAIL PROTECTED] uttered: The correct way is to drop to single user mode with telinit 1. Then unmount /home if it is still mounted read-write. That would have avoided a reboot? Yes. It would probably have maintained the uptime too. In any case, would it have allowed me to simply delete or otherwise dispose of the directory without running fsck? IMHO, you should always fshk first. doing anything with a corrupted filesystem is asking for trouble as it can spread the corruption. -- Richard Urwin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sun, 2003-06-15 at 09:25, JoeHill wrote: Hi all, I ripped some cd tracks to make a cd for a friend chris. I ran normalize -m * in the dir ~/mp3/chris, and it segfaulted part of the way through. Now, if I try to even list the contents of the dir, the shell freezes, ctrl-c will not get me out. I tried rm -rf ~/mp3/chris, it freezes too, and again I cannot ctrl-c out of it. Same as root, why I thought that would work, I don't know, LOL. Any way out of this? I just want to delete the dir and start over. I cannot even delete the parent dir! Any help appreciated, as always. Sounds like the file system is corrupt. Have you tried fsck on this partition? HTH Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Saturday 14 June 2003 07:25 pm, JoeHill wrote: Any way out of this? I just want to delete the dir and start over. I cannot even delete the parent dir! Any help appreciated, as always. First thing I would do is boot up with wither the rescue cd or something like knoppix and run fsck on the partition in question to make sure the filesystem is not corrupt, or if it is, to fix it. It sounds like the segfault happened in the middle of a write operation that was going on. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On 15 Jun 2003 10:16:29 +1000 Brian Parish [EMAIL PROTECTED] uttered: Sounds like the file system is corrupt. Have you tried fsck on this partition? everything else is fine. only that directory is screwed. I am not familiar with fsck, but from the man page it seems to be a big stick for a little problem. one thing I am not clear on, is there any way like fsck to just apply to the affected directory? -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 20:33:07 up 11 days, 18:36, 5 users, load average: 9.00, 9.00, 8.92 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sun, 2003-06-15 at 10:37, JoeHill wrote: On 15 Jun 2003 10:16:29 +1000 Brian Parish [EMAIL PROTECTED] uttered: Sounds like the file system is corrupt. Have you tried fsck on this partition? everything else is fine. only that directory is screwed. I am not familiar with fsck, but from the man page it seems to be a big stick for a little problem. one thing I am not clear on, is there any way like fsck to just apply to the affected directory? Have you tried to rename that directory, or move the contents of that directory elsewhere, then delete the directory, then recreate the directory and move all the old contents back into it? -- Sun Jun 15 10:55:00 EST 2003 10:55:00 up 1 day, 18:09, 3 users, load average: 0.37, 0.62, 0.62 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1 RH 7.3 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * Can you imagine how life could be improved if we could do away with jealousy, greed, hate ... It can also be improved by eliminating love, tenderness, sentiment -- the other side of the coin -- Dr. Roger Corby and Kirk, What are Little Girls Made Of?, stardate 2712.4 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On 15 Jun 2003 10:55:46 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Have you tried to rename that directory, or move the contents of that directory elsewhere, then delete the directory, then recreate the directory and move all the old contents back into it? I can rename the dir, but I can't delete, move, or even list the contents of the directory. :( Also, fsck says it only applies to ext2 filesystems, and I'm on ext3. Is that true that it will only check ext2? -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 21:39:52 up 11 days, 19:43, 6 users, load average: 10.15, 9.96, 9.56 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On 15 Jun 2003 10:16:29 +1000 Brian Parish [EMAIL PROTECTED] uttered: Sounds like the file system is corrupt. Have you tried fsck on this partition? hmmm, this does not sound encouraging: fsck 1.32 (09-Nov-2002) e2fsck 1.32 (09-Nov-2002) /dev/hda6 is mounted. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)? no -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 21:48:46 up 11 days, 19:52, 7 users, load average: 10.99, 10.81, 10.17 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Saturday 14 June 2003 08:46 pm, JoeHill wrote: On 15 Jun 2003 10:55:46 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Have you tried to rename that directory, or move the contents of that directory elsewhere, then delete the directory, then recreate the directory and move all the old contents back into it? I can rename the dir, but I can't delete, move, or even list the contents of the directory. :( Also, fsck says it only applies to ext2 filesystems, and I'm on ext3. Is that true that it will only check ext2? somebody jump in here but does not ext3fsck work like fsck? -- Dennis M. linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Saturday 14 June 2003 08:49 pm, JoeHill wrote: On 15 Jun 2003 10:16:29 +1000 Brian Parish [EMAIL PROTECTED] uttered: Sounds like the file system is corrupt. Have you tried fsck on this partition? hmmm, this does not sound encouraging: fsck 1.32 (09-Nov-2002) e2fsck 1.32 (09-Nov-2002) /dev/hda6 is mounted. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)? no Rats, I sent before I thought, I was thinking of the e2fsck command. I used it once in the past and all was ok. Mayhap I was just lucky. ??? -- Dennis M. linux user #180842 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sun, 2003-06-15 at 11:49, JoeHill wrote: On 15 Jun 2003 10:16:29 +1000 Brian Parish [EMAIL PROTECTED] uttered: Sounds like the file system is corrupt. Have you tried fsck on this partition? hmmm, this does not sound encouraging: fsck 1.32 (09-Nov-2002) e2fsck 1.32 (09-Nov-2002) /dev/hda6 is mounted. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)? no OK, the easiest way to handle this is to boot from the first install CD then type rescue after hitting F1. From there you'll get a menu which allows you to get a console without having your filesystems active. Then you can safely fsck.ext3 /dev/hda6 Note that fsck normally lives in /sbin. You may need to explicitly reference that as there will probably be no path set for you. HTH Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sat, 14 Jun 2003 21:05:33 -0500, Dennis Myers [EMAIL PROTECTED] wrote: On Saturday 14 June 2003 08:46 pm, JoeHill wrote: On 15 Jun 2003 10:55:46 +1000 Stephen Kuhn [EMAIL PROTECTED] uttered: Have you tried to rename that directory, or move the contents of that directory elsewhere, then delete the directory, then recreate the directory and move all the old contents back into it? I can rename the dir, but I can't delete, move, or even list the contents of the directory. :( Also, fsck says it only applies to ext2 filesystems, and I'm on ext3. Is that true that it will only check ext2? somebody jump in here but does not ext3fsck work like fsck? Joe, I just looked at man e2fsck looks like it might be what you need for ext3. It Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On 15 Jun 2003 12:13:19 +1000 Brian Parish [EMAIL PROTECTED] uttered: WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Ah, so this is the problem is that fsck is dangerous when run on an active filesystem. OK, the easiest way to handle this is to boot from the first install CD then type rescue after hitting F1. From there you'll get a menu which allows you to get a console without having your filesystems active. Then you can safely fsck.ext3 /dev/hda6 Still seems like an awfully harsh treatment for such a minor problem. It's just one directory out of the whole system, sheesh... I can't believe there's no way to just delete it! How about just fsck.ext3 /home? Thanks for all the help guys! so much for my uptime! :( -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 22:40:49 up 11 days, 20:44, 7 users, load average: 11.00, 11.00, 10.91 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Interesting Dilemma
On Sat, 14 Jun 2003 19:25:51 -0400 JoeHill [EMAIL PROTECTED] uttered: Well, fsck fsck! All I had to do was reboot... damn! I had a good one goin there... 11 days, no problems and then something like normalize brings me down...and from the CLI no less! Oh well, start again :( Thanks for all the suggestions, but the good news is, once again, Linux fixes itself! The files are all still there, gonna delete them just to be safe and start over. Cheers me mateys! -- Joehill Registered Linux user #282046 Homepage: http://nodex.sytes.net 23:23:58 up 3 min, 1 user, load average: 0.18, 0.25, 0.10 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com