[OpenAFS] Moving root.*.readonly from /vicepa to /vicepb

Christian Pfaffel flash@itp.tu-graz.ac.at
Tue, 28 May 2002 15:51:06 +0200 (CEST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28 May 2002, Turbo Fredriksson wrote:

> When I started testing AFS, I had only a very small disk to play with,
> so all my volumes ended up on that little disk/partition. I later added
> a 36Gb disk when I desided to go live with AFS.
> 
> The /vicepa partition is formated as XFS, and the /vicepb as ext2... I've
> moved all the root volumes to /vicepb so that i can 'reformat' the /vicepa
> partition to ext2 as well. But the readonly volumes refuse to move...
> 
> ----- s n i p -----
> [papadoc.pts/3]$ for vol in `vos listvol papadoc /vicepa | grep ^root | sed 's@ .*@@'`; do echo "VOL: $vol"; vos move -id $vol -fromserver papadoc -frompartition /vicepa -toserver papadoc -topartition /vicepb -encrypt; done
> VOL: root.afs.readonly
> Only RW volume can be moved
> VOL: root.cell.readonly
> Only RW volume can be moved
> [papadoc.pts/3]$ vos listvol papadoc /vicepa
> Total number of volumes on server papadoc partition /vicepa: 2
> root.afs.readonly                 536870913 RO         36 K On-line
> root.cell.readonly                536870916 RO          5 K On-line
> 
> Total volumes onLine 2 ; Total volumes offLine 0 ; Total busy 0
> ----- s n i p -----
> 
> How do I move the two remaining volumes?
> 

You do not move a readonly volume. what you have to do is a 

# vos addsite papadoc vicepb root.afs
# vos remsite papadoc vicepb root.afs

same for root.cell

regards,

Christian

- -- 
PGP-Key: http://fubphpc.tu-graz.ac.at/~flash/pubkey.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE884tPzNp7/ndBhMQRAoOMAJ4kzxws0jUPMlLcCKyo32QUpPRlXwCfQLG9
xm+cKTj6FuBbBNC8ob8oIhc=
=OKkb
-----END PGP SIGNATURE-----