recommended way to allow mounting of degraded array at boot

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

 



I am looking for a way to mimic mdadm's behaviour and have btrfs mount
a degraded array on boot as long as it's not broken (specific use case: 
RAID1 with a single disk missing/dead)

So far the only thing I could think of (and I've seen suggested 
elsewhere) is to add the "degraded" mount option
in kernel command line and in /etc/fstab.

But on the wiki I read that this is a bad idea because of what they call 
"Incomplete chunk conversion" issue [1]

that says I can only mount it degraded (when it is actually missing a 
disk) rw ONE TIME and then the filesystem would go ro.

Is that still a thing? Are there other ways of doing what I want?


-Alberto


1. 
https://btrfs.wiki.kernel.org/index.php/Gotchas#raid1_volumes_only_mountable_once_RW_if_degraded





[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