于 2014/8/5 16:11, Hitoshi Mitake 写道: > At Tue, 05 Aug 2014 15:56:47 +0800, > 安萌 wrote: >> Hi, >> >> When following the steps in "Getting started" in github, I find the >> errors below. >> Per the debug log, it seems related to the latest code change of "sheep: >> revive lock operation ". >> does anyone see the same error? > Thanks for your reporting. Could you tell me about the version of your QEMU? The version is:QEMU emulator version 0.13.50, Copyright (c) 2003-2008 Fabrice Bellard
Thanks, Meng > > Thanks, > Hitoshi > >> Thanks, >> Meng >> >> ********************************************** >> The error log is shown below: >> >> # collie node list >> Id Host:Port V-Nodes Zone >> 0 127.0.0.1:7000 128 0 >> 1 127.0.0.1:7001 128 1 >> 2 127.0.0.1:7002 128 2 >> # collie cluster format --copies=3 >> # collie node list >> Id Host:Port V-Nodes Zone >> 0 127.0.0.1:7000 128 0 >> 1 127.0.0.1:7001 128 1 >> 2 127.0.0.1:7002 128 2 >> >> # collie cluster info >> Cluster status: running, auto-recovery enabled >> >> Cluster created at Tue Aug 5 13:42:49 2014 >> >> Epoch Time Version >> 2014-08-05 13:42:49 1 [127.0.0.1:7000, 127.0.0.1:7001, 127.0.0.1:7002] >> >> # qemu-img create sheepdog:IPDC-01 5G >> Formatting 'sheepdog:IPDC-01', fmt=raw size=5368709120 >> # collie vdi list >> Name Id Size Used Shared Creat >> ion time VDI id Copies Tag >> IPDC-01 0 5.0 GB 0.0 MB 0.0 MB 2014-08-05 13:43 115a27 3 >> >> # qemu-system-x86_64 sheepdog:IPDC-01 >> qemu-system-x86_64: cannot get vdi info, VDI isn't locked, IPDC-01 0 >> >> qemu: could not open disk image sheepdog:IPDC-01: Operation not permitted >> >> >> ****************************** >> The debug log: >> Aug 05 13:41:13 INFO [main] md_add_disk(343) >> /mnt/sda5/sheepdog_store/0/obj, vdisk nr 32, total disk 1 >> Aug 05 13:41:13 INFO [main] send_join_request(979) IPv4 ip:127.0.0.1 >> port:7000 >> Aug 05 13:41:13 NOTICE [main] nfs_init(599) nfs server service is not >> compiled >> Aug 05 13:41:13 WARN [main] check_host_env(490) Allowed open files 1024 >> too small, suggested 6144000 >> Aug 05 13:41:13 INFO [main] main(944) sheepdog daemon (version >> 0.8.0_268_g6f30fa7) started >> Aug 05 13:42:49 INFO [main] rx_main(830) req=0x7fc0e40008c0, fd=18, >> client=127.0.0.1:48125, op=MAKE_FS, data=(not string) >> Aug 05 13:42:50 INFO [main] tx_main(882) req=0x7fc0e40008c0, fd=18, >> client=127.0.0.1:48125, op=MAKE_FS, result=00 >> Aug 05 13:43:30 INFO [main] rx_main(830) req=0x7fc0e40008c0, fd=22, >> client=::1:59279, op=NEW_VDI, data=(not string) >> Aug 05 13:43:30 INFO [main] tx_main(882) req=0x7fc0e40008c0, fd=22, >> client=::1:59279, op=NEW_VDI, result=00 >> Aug 05 13:44:10 INFO [main] cluster_lock_vdi_main(1334) node: IPv4 >> ip:127.0.0.1 port:7000 is locking VDI: 115a27 >> Aug 05 13:44:10 INFO [main] vdi_lock(297) VDI 115a27 is locked >> *Aug 05 13:44:10 INFO [main] cluster_release_vdi_main(1356) node: IPv4 >> ip:127.0.0.1 port:7000 is unlocking VDI: 0** >> **Aug 05 13:44:10 ERROR [main] :(323) no vdi state entry of 0 found* >> Aug 05 13:44:10 INFO [main] cluster_lock_vdi_main(1334) node: IPv4 >> ip:127.0.0.1 port:7000 is locking VDI: 115a27 >> >>
-- sheepdog mailing list sheepdog@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/sheepdog