Hi, I caught an instance of the CoW bug on Linux 7.1, OpenAFS 1.2.2: [root@www06 tprender]# ls -la <files> [root@www06 tprender]# cp resinctl /afs/.reserveamericax/tools/bin/ [root@www06 tprender]# vos release tools Could not lock the VLDB entry for the volume 536870918. VLDB: no permission access for call Error in vos release command. VLDB: no permission access for call [root@www06 tprender]# klog admin Password: [root@www06 tprender]# vos release tools Released volume tools successfully [root@www06 tprender]# cd /afs/reserveamericax/tools/bin/ [root@www06 bin]# ls <files> [root@www06 bin]# ls /afs/.reserveamericax/tools/bin/ <files> [root@www06 bin]# vos release tools Released volume tools successfully [root@www06 bin]# ls [root@www06 bin]# ls res* restart [root@www06 bin]# cd /afs/.reserveamericax/tools/bin/ [root@www06 bin]# ls <files> [root@www06 bin]# ls -la <files> [root@www06 bin]# chown bin.root resinctl [root@www06 bin]# ls -la [root@www06 bin]# vos release tools Released volume tools successfully [root@www06 bin]# klog admin Password: [root@www06 bin]# ls <files> [root@www06 bin]# rm resinctl rm: remove `resinctl'? y rm: cannot unlink `resinctl': Input/output error [root@www06 bin]# pwd /afs/.reserveamericax/tools/bin [root@www06 bin]# ls -la [root@www06 bin]# mv resinctl resin2.ctl ls -la mv: cannot move `resinctl' to `resin2.ctl': No such device [root@www06 bin]# ls -la ls: .: Connection timed out [root@www06 bin]# ls ls: .: Connection timed out [root@www06 bin]# ls ls: .: Connection timed out [root@www06 bin]# ls ls: .: Connection timed out [root@www06 bin]#
This was done on a client machine (all running same version of AFS/Linux). From the server logs: [root@afsp logs]# grep Copy* * FileLog.old:Fri Aug 9 10:56:42 2002 CopyOnWrite failed: volume 536870918 in partition /vicepa (tried reading 2048, read 0, wrote 0, errno 4) volume needs salvage [root@afsp logs]# I salvaged the volume and was able to grab the files located in my 'lost' directory from another client machine. Thanks! Mike _______________________________________________ OpenAFS-info mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-info
