Re: [PATCH 2/2] btrfs: btrfs_rm_device() should zero mirror SB as well

2013-08-11 Thread Anand Jain
Hi Eric, btrfs fi show Label: none uuid: e7aae9f0-1aa8-41f5-8fb6-d4d8f80cdb2c Total devices 1 FS bytes used 28.00KiB devid2 size 2.00GiB used 0.00 path /dev/sdc -- WRONG devid1 size 2.00GiB used 20.00MiB path /dev/sdb Ok, now it's findable. Isn't

Re: [PATCH 2/2] btrfs: btrfs_rm_device() should zero mirror SB as well

2013-08-10 Thread Eric Sandeen
On 8/9/13 9:04 PM, anand jain wrote: btrfs fi show Label: none uuid: e7aae9f0-1aa8-41f5-8fb6-d4d8f80cdb2c Total devices 1 FS bytes used 28.00KiB devid2 size 2.00GiB used 0.00 path /dev/sdc -- WRONG devid1 size 2.00GiB used 20.00MiB path /dev/sdb Ok,

[PATCH 2/2] btrfs: btrfs_rm_device() should zero mirror SB as well

2013-07-25 Thread Anand Jain
There is a very less chance that all the copies of SB on the disk is zeroed unintentionally. unless device is removed, so this fix will ensure all copies on the disk is zeroed when the disk is intentionally removed. reproducer: --- btrfs dev del /dev/sdc /btrfs echo $? 0 umount