[OpenAFS] Strange backup volume behavior

Rick Cochran rcc2@cornell.edu
Thu, 20 May 2010 23:25:40 -0400


Hello, John of printing fame!

After rehabilitating my typing fingers, as Andrew Deason suggests, I get
the following:

samuel> ls /afs/.afsdemo.cit.cornell.edu/users/rcc2
afs  Private  Yesterday
samuel> ls /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
ls: cannot access /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday:
Connection timed out
samuel> fs exa /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
fs: File '/afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday' doesn't exist
samuel> fs lsm /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
'/afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday' is a mount point
for volume '#rcc2.backup'
samuel> vos exa rcc2.backup
rcc2.backup                       536870926 BK    1000930 K  On-line
      avoca01.serverfarm.cornell.edu /vicepb
      RWrite  536870924 ROnly          0 Backup  536870926
      MaxQuota    1100000 K
      Creation    Thu May 20 18:33:26 2010
      Copy        Thu May 20 18:33:26 2010
      Backup      Thu May 20 18:33:26 2010
      Last Access Thu May 20 18:30:47 2010
      Last Update Thu May 20 18:22:55 2010
      0 accesses in the past day (i.e., vnode references)

      RWrite: 536870924     Backup: 536870926
      number of sites -> 1
         server avoca01.serverfarm.cornell.edu partition /vicepb RW Site
samuel> fs rmm /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
fs: File '/afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday' doesn't exist
samuel> ls -l /afs/.afsdemo.cit.cornell.edu/users/rcc2
ls: cannot access /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday:
Connection timed out
total 4
drwxrwxr-x 2 10052 rcc2 2048 2010-05-18 15:36 afs
drwxrwxr-x 4 10052 rcc2 2048 2010-05-18 16:09 Private
d????????? ? ?     ?       ?                ? Yesterday
samuel> chmod 775 /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
chmod: cannot access
`/afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday': Connection timed out
samuel> ls /afs/.afsdemo.cit.cornell.edu/users/rcc2/
afs  Private
samuel> fs mkm /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
rcc2.backup
samuel> fs exa /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
fs: File '/afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday' doesn't exist

But then:

samuel> fs checkvolumes
All volumeID/name mappings checked.
samuel> fs exa /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday
File /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday (536870926.1.1)
contained in volume 536870926
Volume status for vid = 536870926 named rcc2.backup
Current disk quota is 1100000
Current blocks used are 1000930
The partition has 9050308 blocks available out of 10208244

What I did previous to losing track of this backup volume was to move
volume "rcc2" from one server to another.  Should that cause this kind
of behavior?

-Rick

"I see it feelingly."  - Gloucester, King Lear

On 05/20/2010 05:44 PM, John Perkins wrote:
> Does "fs exa /afs/.afsdemo.cit.cornell.edu/users/rcc2/Yesterday" return 
> data?  If so, you need to release the volume containing 
> /afs/.afsdemo.cit.cornell.edu data.
> 
> You might want to try "fs lsm <path>" to find out what exactly those 
> mount points are pointing to if you suspect they're pointing at the 
> wrong volumes...
> 
> John
> 
> 
> 
> 
> On 05/20/2010 04:36 PM, Rick Cochran wrote:
>> I'm having trouble understanding the following.
>> -Rick
>>
>> arctura> vos remove -id rcc2.backup
>> Volume 536870926 on partition /vicepb server 
>> avoca01.serverfarm.cornell.edu deleted
>> arctura> fs rmm /afs/afsdemo.cit.cornell.edu/users/jim1/Yesterday
>> arctura> vos backup rcc2
>> Created backup volume for rcc2
>> arctura> fs mkm /afs/.afsdemo.cit.cornell.edu/users/jim1/Yesterday 
>> rcc2.backup
>> arctura> vos exa rcc2.backup
>> rcc2.backup                       536870926 BK    1000931 K  On-line
>>     avoca01.serverfarm.cornell.edu /vicepb
>>     RWrite  536870924 ROnly          0 Backup  536870926
>>     MaxQuota    1100000 K
>>     Creation    Thu May 20 17:28:49 2010
>>     Copy        Thu May 20 17:28:49 2010
>>     Backup      Thu May 20 17:28:49 2010
>>     Last Access Thu May 20 17:28:40 2010
>>     Last Update Thu May 20 15:12:26 2010
>>     0 accesses in the past day (i.e., vnode references)
>>
>>     RWrite: 536870924     Backup: 536870926
>>     number of sites -> 1
>>        server avoca01.serverfarm.cornell.edu partition /vicepb RW Site
>> arctura> fs exa /afs/afsdemo.cit.cornell.edu/users/rcc2/Yesterday
>> fs: File '/afs/afsdemo.cit.cornell.edu/users/rcc2/Yesterday' doesn't 
>> exist
>> arctura>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>