[OpenAFS] Removing un-attachable volumes

Michael Meffie mmeffie@sinenomine.net
Wed, 27 Jun 2012 16:01:59 -0400


Staffan H=E4m=E4l=E4 wrote:
> Hi Michael!
>=20
> # /usr/afs/bin/volinfo -header -volumeid 539353513
> Volume header (size =3D 76):
>    stamp   =3D 0x1
>    VolId   =3D 539353513
> opening volume info: No such file or directory

Ah, The parent volume number is not printed when the volume info
file is missing. This was changed on master, so the parent number
is displayed even if the volume info file is missing. Sorry for forgettin=
g
this was not available in released versions of volinfo. In this case
though,

> No, no files there:
> find /vicepg/AFSIDat -ls
> 189480961    4 drwx------   2 root     root         4096 jun 27 09:33
> AFSIDat/
> 122372097    4 -r--r--r--   1 root     root          156 jun 27 19:21
> AFSIDat/README
>=20
> Does this mean it's safe to just remove the .vol-file?

all the data files and special files were removed, after the moves
(or after the salvage). So, there are no volumes on this partition
any longer.

Mike