[OpenAFS] trouble deleting corrupt volume

Wes Chow wchow@athenacr.com
Mon, 05 Jun 2006 12:02:00 -0400


I'm trying to get rid of a corrupt volume on a server, but attempts to
zap it have seemed to leave it in an inconsistent state:

wchow@ein:~/vols$ vos listvol fs0.dev
Total number of volumes on server fs0.dev partition /vicepa: 8
dfs.200504.readonly               536941570 RO   86680945 K On-line
dfs.200505.readonly               536941573 RO   90877122 K On-line
dfs.200506.readonly               536941576 RO  121191000 K On-line
dfs.200507.readonly               536941579 RO   97423014 K On-line
dfs.200508.readonly               536941582 RO  106688000 K On-line
dfs.200509.readonly               536941585 RO  109427632 K On-line
dfs.200511.readonly               536941588 RO  100987584 K On-line
**** Could not attach volume 536942164 ****


When I salvage the volume, I get this in the log:

fs0:/vicepa/AFSIDat# tail -f /var/log/openafs/SalvageLog
06/05/2006 11:50:09 Found 0 link count file
/vicepa/AFSIDat/I=/INF+U/+/+/82+++M6.
06/05/2006 11:50:09 Found 0 link count file
/vicepa/AFSIDat/I=/INF+U/+/+/A2+++Q6.
06/05/2006 11:50:09 Found 0 link count file
/vicepa/AFSIDat/I=/INF+U/+/+/C2+++U6.
06/05/2006 11:50:09 Found 0 link count file
/vicepa/AFSIDat/I=/INF+U/+/+/=+++22.
06/05/2006 11:50:09 1 nVolumesInInodeFile 28
06/05/2006 11:50:09 SALVAGING VOLUME 536942164.
06/05/2006 11:50:09 dfs.200510 (536942164) updated 12/06/2005 17:27
06/05/2006 11:50:09 totalInodes 116
06/05/2006 11:50:09 Found 112 orphaned files and directories (approx.
37020063 KB)
06/05/2006 11:50:09 Salvaged dfs.200510 (536942164): 112 files, 37020063
blocks


However, it remains unattachable (and unzappable).

I would like to remove the volume from the server so that I can recreate
it from our backup.  I can't seem to do this through the regular
utilities, however... any suggestions?


Thanks,
Wes

-- 

Athena Capital Research LLC
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA5CA6644
Key fingerprint = FDE5 21D8 9D8B 386F 128F  DF52 3F52 D582 A5CA 6644