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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi Eric,

btrfs fi show
Label: none  uuid: e7aae9f0-1aa8-41f5-8fb6-d4d8f80cdb2c
          Total devices 1 FS bytes used 28.00KiB
          devid    2 size 2.00GiB used 0.00 path /dev/sdc   <-- WRONG
          devid    1 size 2.00GiB used 20.00MiB path /dev/sdb

Ok, now it's findable.  Isn't that exactly how this should behave?
What is wrong about this?

  Total devices is still 1.

Hm, so it is.  But that inconsistency indicates a bug
somewhere else, doesn't it?

 Nope. to undo dev-delete admin has to use dev-add.

 Here the idea is to release the disk nicely when
 we know we don't need it anymore.

Thanks, Anand

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux