On Sat, May 23, 2015 at 12:15:13AM +0200, Arnaud Kapp wrote: > Hello, > > I've setup a filesystem with 2 devices. The metadata are in raid1. > Data is in raid0. > > I wish to remove one of this device from the filesystem (to use for an > unrelated purpose) but I am not able to do so. > It *seems* that attempting to balance metadata to dup is not allowed > (btrfs -mconvert=dup) because they currently are raid1. > The metadata in raid1 prevents me from removing the device because the > filesystem can't go below one device in raid1. > > Could someone please advise me about my options here? The RAID-0 data is also going to be a problem here. You'll have to convert that to single, because RAID-0 requires a minimum of two devices. For the metadata, one approach is to convert to single, delete the device, then convert to DUP. That at least will work, if be a little risky. IMO, we should definitely support conversion to DUP, and prevent the automatic "upgrade" to RAID-1, but I think we don't at the moment. Hugo. -- Hugo Mills | Two things came out of Berkeley in the 1960s: LSD hugo@... carfax.org.uk | and Unix. This is not a coincidence. http://carfax.org.uk/ | PGP: E2AB1DE4 |
Attachment:
signature.asc
Description: Digital signature
