Chris Murphy posted on Wed, 23 Jul 2014 19:13:10 -0600 as excerpted:
> On Jul 22, 2014, at 11:24 PM, Duncan <1i5t5.dun...@cox.net> wrote: > >> ** ON BTRFS RAID1, TWO DEVICES MUST BE PRESENT IN ORDERED TO ALLOCATE >> NEW CHUNKS. MOUNTING DEGRADED WITH A SINGLE DEVICE MEANS NO NEW CHUNK >> ALLOCATION, WHICH MEANS YOU'RE LIMITED TO FILLING UP EXISTING CHUNKS ** > > I can confirm this behavior (see below). And... If I'm reading it correctly, patch 9/10 in Miao Xie's new 10-part patch series should fix that. From: Miao Xie <mi...@cn.fujitsu.com> Subject: [PATCH 09/10] Btrfs: don't consider the missing device when allocating new chunks Date: Thu, 24 Jul 2014 11:37:14 +0800 Message-ID: <1406173035-29478-9-git-send-email-mi...@cn.fujitsu.com> While I don't claim to be a dev, based on the comments and my reading of the patch (and assuming there's no other location blocking it that needs patched as well), that should allow new, effectively single-mode chunks to be allocated when a btrfs multi-device raid1 mode filesystem is mounted degraded with just a single device. That should allow normal writes to continue altho in single mode, and a balance -Xconvert=raid1 can be used later to upgrade back to raid1 after a second device is added back in. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html