Dear all,

I am trying to restore my AFS web volume after an incident. The problem seemed 
to be a piece of cake, but I was wrong: the volume is still inaccessible.

Symptoms:
        No access to the web volume (html forbidden error).

So, I’ve logged on a client and saw this:

$ ls -l
ls: cannot access html: Connection timed out
total 6197
d????????? ? ?         ?            ?            ? html/
-rw-r--r-- 1 milicchio diaafs 6339727 May  8 19:45 latest.zip
-rw-r--r-- 1 milicchio diaafs     218 Sep 10  2012 README.txt
-rw------- 1 milicchio diaafs     395 Jul 24 10:11 ssh-public-key
-rw-r--r-- 1 milicchio diaafs     955 Sep 10  2012 test-pc.c
drwxr-xr-x 5 milicchio diaafs    2048 May 30 10:36 wordpress/


Then, I examined it:

$ vos examine html.milicchio
Could not fetch the information about volume 536871913 from the server
: No such device
Volume does not exist on server aux.dia.uniroma3.it as indicated by the VLDB

Dump only information from VLDB

html.milicchio 
    RWrite: 536871913     Backup: 536871915 
    number of sites -> 1
       server aux.dia.uniroma3.it partition /vicepa RW Site 
$ ls -l
ls: cannot access html: Connection timed out
total 6197
d????????? ? ?         ?            ?            ? html/
-rw-r--r-- 1 milicchio diaafs 6339727 May  8 19:45 latest.zip
-rw-r--r-- 1 milicchio diaafs     218 Sep 10  2012 README.txt
-rw------- 1 milicchio diaafs     395 Jul 24 10:11 ssh-public-key
-rw-r--r-- 1 milicchio diaafs     955 Sep 10  2012 test-pc.c
drwxr-xr-x 5 milicchio diaafs    2048 May 30 10:36 wordpress/


I’ve tried some basic commands:

$ vos syncserv aux
Server aux synchronized with VLDB

$ vos syncvldb aux
VLDB synchronized with state of server aux


But it didn’t work. So, I started salvaging, but it didn’t work:

$ bos salvage aux -all
bos: shutting down 'fs'.
Starting salvage.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: waiting for salvage to complete.
bos: salvage completed
bos: restarting fs.

milicchio:public$ ls -l
ls: cannot access html: Connection timed out
total 6197
d????????? ? ?         ?            ?            ? html/
-rw-r--r-- 1 milicchio diaafs 6339727 May  8 19:45 latest.zip
-rw-r--r-- 1 milicchio diaafs     218 Sep 10  2012 README.txt
-rw------- 1 milicchio diaafs     395 Jul 24 10:11 ssh-public-key
-rw-r--r-- 1 milicchio diaafs     955 Sep 10  2012 test-pc.c
drwxr-xr-x 5 milicchio diaafs    2048 May 30 10:36 wordpress/


The volume now seems to be in the VLDB and on the server, since vos doesn’t 
bark:

$ vos examine html.milicchio
html.milicchio                    536871913 RW    2401123 K  On-line
    aux.dia.uniroma3.it /vicepa 
    RWrite  536871913 ROnly          0 Backup  536871915 
    MaxQuota  100000000 K 
    Creation    Wed Jul  6 16:33:25 2005
    Copy        Thu May 24 17:15:09 2012
    Backup      Thu Aug 28 01:00:05 2014
    Last Access Fri Aug 29 09:42:46 2014
    Last Update Fri Aug 29 09:42:20 2014
    0 accesses in the past day (i.e., vnode references)

    RWrite: 536871913     Backup: 536871915 
    number of sites -> 1
       server aux.dia.uniroma3.it partition /vicepa RW Site 


$ fs rmmount html

$ ls
latest.zip  README.txt  ssh-public-key  test-pc.c  wordpress/

$ fs mkmount html html.milicchio

$ ls -l
ls: cannot access html: Connection timed out
total 6197
d????????? ? ?         ?            ?            ? html/
-rw-r--r-- 1 milicchio diaafs 6339727 May  8 19:45 latest.zip
-rw-r--r-- 1 milicchio diaafs     218 Sep 10  2012 README.txt
-rw------- 1 milicchio diaafs     395 Jul 24 10:11 ssh-public-key
-rw-r--r-- 1 milicchio diaafs     955 Sep 10  2012 test-pc.c
drwxr-xr-x 5 milicchio diaafs    2048 May 30 10:36 wordpress/


Can you help me in restoring the volume back?

Thanks!


-- 
Franco Milicchio <[email protected]>

DIA - Dept. of Engineering
University Roma Tre
http://plm.dia.uniroma3.it/milicchio/

Reply via email to