At Tue, 10 Jun 2014 21:41:59 +0800, 徐舫 wrote: > > [1 <multipart/alternative (7bit)>] > [1.1 <text/plain; UTF-8 (quoted-printable)>] > We are doing a test simulating disk fail. The test step is described as > follows: > > 1. start sheep on each node like this: > > sheep -n > /home/admin/sheepdogmetadata/,/disk1/sheepdogstoredata/,/disk2/sheepdogstoredata/,/disk3/sheepdogstoredata/,/disk4/sheepdogstoredata/,/disk5/sheepdogstoredata/,/disk6/sheepdogstoredata/,/disk7/sheepdogstoredata/,/disk8/sheepdogstoredata/,/disk9/sheepdogstoredata/ > -b 0.0.0.0 -y *.*.*.* -c zookeeper:*.*.*.*:2181 > > > 2. umount a disk on a node: > > sudo umount /disk5 > > > 3. then sheep.log on this node output: > > Jun 10 20:55:37 ERROR [io 122878] err_to_sderr(96) > /disk5/sheepdogstoredata corrupted > Jun 10 20:55:37 ERROR [io 122878] err_to_sderr(96) > /disk5/sheepdogstoredata corrupted > Jun 10 20:55:37 ERROR [io 122871] err_to_sderr(96) > /disk5/sheepdogstoredata corrupted > Jun 10 20:55:37 ERROR [io 122702] err_to_sderr(96) > /disk5/sheepdogstoredata corrupted > > The log is growing fast, and may fill the log disk. > > -------------------------------------------------------------------------------------------------------------------------------- > > Should sheep panic and exit when the store path does not exist? > > If sheep on this node does not exit, all vms on other nodes want to read or > write on this store path may hang. > > Do you agree with this?
Thanks for your report, I'm still not digging in your problem, could you file an issue to our tracker? https://bugs.launchpad.net/sheepdog-project/+bug/ We have bunch of todos and sometimes miss reports, sorry. Thanks, Hitoshi > > > -- > Xu Fang > [1.2 <text/html; UTF-8 (quoted-printable)>] > > [2 <text/plain; us-ascii (7bit)>] > -- > sheepdog mailing list > [email protected] > http://lists.wpkg.org/mailman/listinfo/sheepdog -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
