1 In this section, you make modifications to guarantee that the appropriate fsck program runs on AFS server partitions. The fsck program provided with the operating system must never run on AFS server partitions. Because it does not recognize the structures that the File Server uses to organize volume data, it removes all of the data. To repeat:
3 Never run the standard fsck program on AFS server partitions. It discards AFS volumes.
5 On Digital UNIX systems, the files /sbin/fsck and /usr/sbin/fsck are driver programs. Rather than replacing either of them, you replace the actual binary included in the Digital UNIX distribution as /sbin/ufs\_fsck and /usr/sbin/ufs\_fsck.
7 1. Install the vfsck binary to the /sbin and /usr/sbin directories. The AFS CD-ROM must still be mounted at the /cdrom directory.
9 # cd /cdrom/alpha_dux40/root.server/etc
11 # cp vfsck /sbin/vfsck
13 # cp vfsck /usr/sbin/vfsck
15 1. Rename the Digital UNIX fsck binaries and create symbolic links to the vfsck program.
19 # mv ufs_fsck ufs_fsck.noafs
21 # ln -s vfsck ufs_fsck
25 # mv ufs_fsck ufs_fsck.noafs
27 # ln -s vfsck ufs_fsck