[OpenAFS] questions about volume size?
Sam Tseng
hctseng@tiara.sinica.edu.tw
Tue, 7 Oct 2008 17:45:02 +0800
sorry to bother you guys. i think i found the answer. :$
i tried to move this home.rwaur volume before. so, it did clone before move it.
when i list volume in partition c only has one volume home.rwaur. but,
i list /vicepc/. it shows three volumes. so i zap them. however, i
don't know is this correct way to do this or not? but, it works.
[root@fs +]# vos listvol fs
Total number of volumes on server fs partition /vicepc: 1
home.rwaur 536871041 RW 1036276240 K On-line
Total volumes onLine 1 ; Total volumes offLine 0 ; Total busy 0
[root@fs vicepc]# ls
AFSIDat Lock lost+found V0536871041.vol V0536871168.vol V0536871171.vol
[root@fs vicepc]# vos zap -server fs -id 0536871168
vos: Missing required parameter '-partition'
[root@fs vicepc]# vos zap -server fs -partition c -id 536871168
Volume 536871168 deleted
[root@fs vicepc]#vos zap -server fs -partition c -id 536871171
Volume 536871171 deleted
thank you all!!
best, s
On Tue, Oct 7, 2008 at 5:30 PM, Harald Barth <haba@kth.se> wrote:
>> thanks for reply. however, i did not do vos backup. :)
>
> To Sam:
>
> Never created a backup volume?
>
> To the community:
>
> How does this work "under the hood"? I thought, when I make a backup
> volume, files are "cloned" with link(2)? Is this the same for Namei
> and Inode?
>
> Does not look like it is done like that (all volumes on server pompano
> have backup volumes of the same size as the original ones)
>
> pompano# cd /vicepa/AFSIDat/p0/pGj+U/+/+/
> pompano# ls -l
> total 5624
> ---------- 1 root root 0 Sep 19 17:27 0++++6
> ---------- 1 5937 adm 5754336 Sep 19 17:27 2++++A
> ---------- 1 adm root 2048 Sep 19 17:27 =++++2
>
> pompano# stat 0++++6
> File: `0++++6'
> Size: 0 Blocks: 0 IO Block: 4096 regular empty file
> Device: fd04h/64772d Inode: 2417392386 Links: 1
> Access: (0000/----------) Uid: ( 0/ root) Gid: ( 0/ root)
> Access: 2008-09-19 17:27:11.705744327 +0200
> Modify: 2008-09-19 17:27:11.705744327 +0200
> Change: 2008-09-19 17:27:11.705744327 +0200
>
> So how is it done?
>
> Harald.
>
--
Sam Tseng
Academia Sinica
Institute of Astronomy and Astrophysics
Tel: +886-2-3365-2200 ext 742
Fax: +886-2-2367-7849