<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.3333339691162px">Hi guys,</span><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">I wanted to ask you about what happen in case of power failure.</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">I have 2 node proxmox cluster with glusterfs as sdb1 XFS, and mounted on each node as localhost/glusterstorage.</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">I am storing VMs on it as qcow2(and inside ext4 filesystem).</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px"> Live migration works ok WOW.. Everything works fine.</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">But tell me will something bad happen when the power will fail on whole datacenter ?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Will be data corrupted and will be the same thing if i am using drbd ?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">DRBD doesnt give me so much flexability(because i cant use qcow2 and store files like iso or backups on drbd), but glusterfs does give me much flexability !</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Anyway yesterday i created glusterfs with ext4, and VM qcow with ext4 on it and when i made &quot;reboot -f&quot;(i assume this is the same as i will pull power cord off ?) - after node went online again, VM data was corrupted and i had many ext failures inside VM.</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Tell me was that because i used ext4 on top of sdb1 glusterfs storage or will that work the same with XFS ?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Is drbd better  protection in case of power failure ?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px"><br></div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Anyway second question, if i have 2 nodes with glusterfs.</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">node1 is changing file1.txt</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">node2 is changing file2.txt</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">then i will disconnect glusterfs in network, and data keeps changing on both nodes)</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">After i will reconnect glusterfs how this will go?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Newer changed file1 from node1 will overwrite file1 on node2?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">and newer file2 changed on node2 will overwrite file2 on node1 ?</div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Am i correct ?<br></div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px"><br></div><div style="font-family:arial,sans-serif;font-size:13.3333339691162px">Thx for answer :)</div><div class="gmail_extra"><br></div></div>