I want to use btrfs as filesystem on my server, and i am still research about it in all worst case condition.
Currently i want to test the raid system crash, the condition that i want to test is :
- if my disk broken, how to replace it
- if i can't replace it, how to save my data
- if accidentally i am (or my team) formated one of the disk, how to fix it
- if accidentally one of my disk stollen (i think this case not possible, just for the worst case condition), how to replace it
for all question i am writen above, i just can answer two of my question.
- answer number one is, i can use
replace
method before unplug the broken disk. - answer number two, i can plug external harddrive, and then mounting it, and i can use
restore
method to save my data
for the other question, i failed to test it.
for question number 3 and 4(if i replace it with another disk), i tried to use mount -o degraded
but i can't mount it it shows error wrong fs type, bad option, bad superblock on /dev/sdb
. i am tried to rebalance it with balance
method, but i can't mounting it.
please, i need answer to my question number 3 and 4.