(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Media/Device Information, Filesystems, and Disks :
How do I fsck the root filesystem and other filesystems?
In general the root filesystem knows when it's dirty and it will fsck itself automatically. You can still do it by hand but only if you boot off of your emergency diskettes and if you did not mount root first. You would switch to a unix shell and type:
          fsck -F vxfs -o full /dev/rdsk/c0b0t0d0s1
You could add the -y flag if you want to automatically answer yes to all the questions fsck may ask you. I used s1 in the command above because that is the number of the root slice in a default Uw7/OSR6 install.

   You can fsck other slices, when they are unmounted.
   To fsck /home, you can do the following:
1) Warn users and get them all to log off. 2) fuser -uc /home <-- list files in use in /home 3) fuser -u /dev/dsk/c0b0t0d0s4 <-- same as above (-c is tight) 3) fuser -k /dev/dsk/c0b0t0d0s4 <-- kill user proc's using files. 4) umount /home <-- unmount /home 5) fsck -F vxfs -o full /dev/dsk/c0b0t0d0s4

<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Previous: (Answer) How do I use quotas on a vxfs filesystem in Uw7/OSR6?
Next: (Answer) How do enable Large File Support (for file sizes up to 1TB)?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=94
[Search] [Appearance]
This is a Faq-O-Matic 2.721.