Skip to topic | Skip to bottom
Home
You are here: TWiki > AFSLore Web > GettingStarted > AFSQuickStartGuideforUNIX > ReplacingthefsckProgramonDigitalUNIXSystems r1 - 28 Apr 2005 - 18:22 - CraigCook


Start of topic | Skip to actions
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:

Never run the standard fsck program on AFS server partitions. It discards AFS volumes.

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.

  1. Install the vfsck binary to the /sbin and /usr/sbin directories. The AFS CD-ROM must still be mounted at the /cdrom directory.

   # cd /cdrom/alpha_dux40/root.server/etc
   
   # cp vfsck /sbin/vfsck
   
   # cp vfsck /usr/sbin/vfsck

  1. Rename the Digital UNIX fsck binaries and create symbolic links to the vfsck program.

   # cd /sbin
   
   # mv ufs_fsck ufs_fsck.noafs
   
   # ln -s vfsck ufs_fsck
   
   # cd /usr/sbin
   
   # mv ufs_fsck ufs_fsck.noafs
   
   # ln -s vfsck ufs_fsck
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback