Hi, I have a BTRFS RAID-1 FS made from 2x 2TB SATA mechanical drives. It was created a while ago, with defaults by the time of 4K leaf sizes. It also contains *lots* of subvols and snapshots. It has become very slow over time, and I know that BTRFS performs better with the new 16K leaf sizes. I know that I cannot dynamically change the leaf size, but I'm wondering if the following could be feasible (and how to ?) 1/ Could I first pull a disk out of the current RAID-1 config, losing redundancy without breaking anything else ? 2/ Then reset the removed HD, and create onto it a new BTRFS FS with 16K leaf size ? 3/ Then is there a ways I could "btrfs send | btrfs receive" a complete volume including its subvolumes and snapshots,or is this impossible (and would I rather have to create the receiving volumes structure manually, and use rsync) ? 4/ Once the data are copied onto the new FS, could I reset the remaining "old" HD, import it into the new FS and get back to a RAID-1 config, rebuilding the RAID with a "balance" operation ? (Machine's kernel is an Ubuntu 3.16.0-30 with btrfs-tools 3.14.1-1) Many thanks for all help / lights about if this is feasible / how to do it without losing my data... TIA. -- Swâmi Petaramesh <swami@xxxxxxxxxxxxxx> http://petaramesh.org PGP 9076E32E -- 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
