Re: Help interpreting RAID1 space allocation

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

 



On 2013-08-24 11:24, Joel Johnson wrote:
Should I file a few bugs to capture the related issues? Here are the
discrete issues that seem to be present from a user point of view:

After writing this, I figured I'd experiment with the current state and try to properly delete and add the sdd device. However, I was surprised to find that I'm not allowed to remove one of the two drives in a RAID1. Kernel message is "btrfs: unable to go below two devices on raid1" Not allowing it by default makes some sense, however a --force flag or something would be beneficial. I understand that the preferred method is to add the replacement device first and then delete the old one (or do a direct replace), however the system I'm using for testing only has three SATA ports, the first is used for the system drive, and the second and third have the two drives I'm using for my btrfs testing - I have no way to add a third drive for the filesystem before removing one first. This is still with the filesystem mounted with the degraded mount option set.

As it stands, I don't see how I can run btrfs reliably on this system since I now know I want to properly remove devices and add them, but I'm unable to do so with the limited number of drive interfaces, requiring hot removal of drive, and either readding it, or using another system to clear the drive before readding it.

Is there a flag I'm missing? If not, I'd add a fourth bug item:

4. allow (forced only if appropriate) removal of redundant drives (e.g. second drive in RAID1)

Joel
--
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