Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unmounting filesystem for fsck

Status
Not open for further replies.

paulx82

Technical User
Feb 11, 2002
21
AU
I need to repair the filesystem on my Linux partition in order to resize it with Partition Magic 8. fsck sometimes runs automatically, on startup, when my filesystem is too bad, but I cannot seem to run it manually. I've tried unmounting my filesystem in the single user run-level, but I get the following error message:
sh-2.05b# umount /dev/hda2
umount: /: device is busy

The partition for my boot directory, /dev/hda1 unmounted fine.

I did go through all run-levels, to Gnome, and then typed 'telinit 1' in an xterm.

I have two questions:
How can I make '/' unbusy, so I can unmount it?
and
Are there other programs that repair linux filesystems and where can you get them?


 
unmount -f /dev/hda2
That will force an unmount even when busy. John D. Saucier
jsauce@magicguild.com
Certified Technician
Network Administrator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top