On Wednesday, January 17, 2007 @ 8:34 PM, Jay C Vollmer wrote: >On Wednesday 17 January 2007 20:15, Greg Wallace wrote: >> I want to try running a manual fsck on my main partition. I booted into >> runlevel 3 and tried "umount /dev/hda2" but got "device is busy". I'm >> thinking that I should be trying to unmount the filesystem itself, not the >> device, but don't know how to figure out what that is (and I can't remember >> a command that would show the filesystem name associated with the device). >> Then again, maybe I'm way off base here. Anyway, I just need to be able to >> unmount the filesystem so I can run fsck on it. Can someone tell me what
to >> enter to do the unmount? >To list the mounted filesystems and the device entries associated with each >of these, use the 'df' command. >To unmount one of these filesystems, first make sure that nothing is >accessing the filesystem in question. Once this is the case, issue the >following as root: > umount -v filesystem_name >If you get the message that a filesystem cannot be unmounted because it is >busy, use the 'lsof' command to see which processes are still using that >filesystem. Term any processes holding the filesystem hostage and then try >umount again. >-- >JAY VOLLMER [EMAIL PROTECTED] >TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK >VERGING CRIMETHINK - IGNORE FULLWISE Well, I entered lsof and about 6 or 7 screens of data rolled by. Looks like booting from the installation DVD is the only (reasonable) way to get there. Greg W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
