[OpenAFS] Solaris9 , SolsiceDisk and AFS fsck-mess

Derrick J Brashear shadow@dementia.org
Tue, 13 Jun 2006 11:55:50 -0400 (EDT)


mkdir -p /usr/lib/fs/afs
mkdir -p /usr/afs/bin
mkdir -p /usr/afs/etc

cd /usr/lib/fs/afs
for f in `ls /usr/lib/fs/ufs`
   ln -s /usr/lib/fs/ufs/${f} ${f}
rm /usr/lib/fs/afs/fsck
rm /usr/lib/fs/afs/fsckall
cat ../ufs/fsckall | /usr/bin/sed -e "s/ ufs / afs /"  > fsckall
chmod +x fsckall
cp root.server/etc/vfsck /usr/lib/fs/afs/fsck

Then designate the partitions type "afs" in vfstab.
Remember to explicitly specify nologging in the mount options.

> Is there a better way to comme around ?