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 JVOLLMER@VISI.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK - IGNORE FULLWISE -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org