[sheepdog-users] Testing snapshot-object-reclaim
Valerio Pachera
sirio81 at gmail.com
Wed Mar 5 09:05:26 CET 2014
I got a strange behaviour: after removing a big file on the guest, it
wasn't able to write a second one (no space left on the device).
Sheepdog daemon version 0.8.0_118_g1c75b2a
---
dog vdi list
Name Id Size Used Shared Creation time VDI id Copies Tag
test 0 10 GB 2.3 GB 0.0 MB 2014-03-04 17:23 7c2b25
2:1
dog vdi snapshot test
dog vdi list
Name Id Size Used Shared Creation time VDI id Copies Tag
s test 1 10 GB 2.3 GB 0.0 MB 2014-03-04 17:23 7c2b25
2:1
test 0 10 GB 0.0 MB 2.3 GB 2014-03-05 08:50 7c2b26
2:1
dog node info
Id Size Used Avail Use%
0 233 GB 1.2 GB 231 GB 0%
1 452 GB 1.2 GB 451 GB 0%
2 500 GB 1.2 GB 499 GB 0%
Total 1.2 TB 3.6 GB 1.2 TB 0%
Total virtual image size 10 GB
<write big file on guest>
dog vdi snapshot test
<delete big file on guest>
dog vdi snapshot test
<write another big file on guest>
<error: no space left on the device>
dog vdi list
Name Id Size Used Shared Creation time VDI id Copies Tag
s test 1 10 GB 2.3 GB 0.0 MB 2014-03-04 17:23 7c2b25
2:1
s test 2 10 GB 5.9 GB 348 MB 2014-03-05 08:50 7c2b26
2:1
s test 3 10 GB 332 MB 5.9 GB 2014-03-05 08:53 7c2b27
2:1
test 0 10 GB 1.1 GB 5.1 GB 2014-03-05 08:53 7c2b28
2:1
dog node info
Id Size Used Avail Use%
0 233 GB 8.3 GB 224 GB 3%
1 452 GB 8.3 GB 444 GB 1%
2 500 GB 8.3 GB 491 GB 1%
Total 1.2 TB 25 GB 1.1 TB 2%
Total virtual image size 10 GB
---
I also think 25GB of used space seems to much.
On the guest I can write no ore than 4.7G and I was able to write the
big file only once.
I get no error/warning messages in sheep.log
Mar 05 08:47:30 INFO [main] md_add_disk(333) /mnt/sheep/dsk01, vdisk
nr 500, total disk 1
Mar 05 08:47:30 NOTICE [main] get_local_addr(519) found IPv4 address
Mar 05 08:47:31 INFO [main] send_join_request(787) IPv4
ip:192.168.10.6 port:7000
Mar 05 08:47:31 NOTICE [main] nfs_init(542) nfs server service is not compiled
Mar 05 08:47:31 INFO [main] check_host_env(493) Allowed open files
1024000, suggested 6144000
Mar 05 08:47:31 INFO [main] main(935) sheepdog daemon (version
0.8.0_118_g1c75b2a) started
More information about the sheepdog-users
mailing list