[sheepdog-users] Testing snapshot-object-reclaim
Valerio Pachera
sirio81 at gmail.com
Wed Apr 2 15:49:21 CEST 2014
I'm using ext3 instead of xfs now but nothing change:
mount | grep sheep
/dev/mapper/vg00-sheepdog on /mnt/sheep/dsk01 type ext3
(rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered)
root at test006:~# dog vdi snapshot test
root at test006:~# dog vdi snapshot test
root at test006:~# dog vdi snapshot test
root at test006:~# dog vdi snapshot test
root at test006:~# dog vdi snapshot test
root at test006:~# dog vdi snapshot test
root at test006:~# dog vdi list
Name Id Size Used Shared Creation time VDI id Copies Tag
s test 1 5.0 GB 868 MB 0.0 MB 2014-04-02 14:58 7c2b25 2:1
s test 2 5.0 GB 4.5 GB 232 MB 2014-04-02 15:01 7c2b26 2:1
s test 3 5.0 GB 20 MB 4.7 GB 2014-04-02 15:06 7c2b27 2:1
s test 4 5.0 GB 4.5 GB 240 MB 2014-04-02 15:06 7c2b28 2:1
s test 5 5.0 GB 20 MB 4.7 GB 2014-04-02 15:10 7c2b29 2:1
s test 6 5.0 GB 32 MB 4.7 GB 2014-04-02 15:10 7c2b2a 2:1
test 0 5.0 GB 0.0 MB 4.7 GB 2014-04-02 15:10 7c2b2b 2:1
root at test006:~# dog node info
Id Size Used Avail Use%
0 220 GB 5.0 GB 215 GB 2%
1 425 GB 5.0 GB 420 GB 1%
2 470 GB 5.0 GB 465 GB 1%
Total 1.1 TB 15 GB 1.1 TB 1%
Total virtual image size 5.0 GB
root at test006:~# for n in $(seq 1 6); do dog vdi delete -s $n test; done
root at test006:~# dog vdi list
Name Id Size Used Shared Creation time VDI id Copies Tag
test 0 5.0 GB 0.0 MB 4.7 GB 2014-04-02 15:10 7c2b2b 2:1
root at test006:~# dog node info
Id Size Used Avail Use%
0 219 GB 7.1 GB 212 GB 3%
1 424 GB 2.4 GB 422 GB 0%
2 468 GB 7.1 GB 461 GB 1%
Total 1.1 TB 17 GB 1.1 TB 1%
Total virtual image size 5.0 GB
root at test006:~# dog vdi delete test
root at test006:~# dog node info
Id Size Used Avail Use%
0 217 GB 354 MB 217 GB 0%
1 423 GB 90 MB 423 GB 0%
2 467 GB 354 MB 467 GB 0%
Total 1.1 TB 799 MB 1.1 TB 0%
Total virtual image size 0.0 MB
More information about the sheepdog-users
mailing list