<div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">We are doing a test simulating disk fail. The test step is described as follows:</span><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">1. start sheep on each node like this<span style="text-align:-webkit-auto">:</span></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">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</div>
<div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
2. umount a disk on a node:</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
sudo umount /disk5</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div>
<div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">3. then sheep.log on this node output:</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">Jun 10 20:55:37 ERROR [io 122878] err_to_sderr(96) /disk5/sheepdogstoredata corrupted<br>
Jun 10 20:55:37 ERROR [io 122878] err_to_sderr(96) /disk5/sheepdogstoredata corrupted<br>
Jun 10 20:55:37 ERROR [io 122871] err_to_sderr(96) /disk5/sheepdogstoredata corrupted<br>
Jun 10 20:55:37 ERROR [io 122702] err_to_sderr(96) /disk5/sheepdogstoredata corrupted</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
The log is growing fast, and may fill the log disk.</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
--------------------------------------------------------------------------------------------------------------------------------</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">Should sheep panic and exit when the store path does not exist? </div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">If sheep on this node does not exit, all vms on other nodes want to read or write on this store path may hang.</div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">
<br></div><div style="color:rgb(0,0,0);font-family:Tahoma;text-align:-webkit-auto;font-size:medium">Do you agree with this?</div><br></div><div><br></div>-- <br>Xu Fang<br><br>
</div>