How to merge two partitions?

2013-08-01 Thread Andrew Stubbs
If I have two partitions, /dev/sda1 and /dev/sda2, one btrfs, and one ext4 (but I could convert it first), how can I merge them into one filesystem without moving all the data onto an external device and then moving it all back again? (I do have a backup, of course, but transferring the data

Re: How to merge two partitions?

2013-08-01 Thread Hugo Mills
On Thu, Aug 01, 2013 at 11:53:34AM +0100, Andrew Stubbs wrote: If I have two partitions, /dev/sda1 and /dev/sda2, one btrfs, and one ext4 (but I could convert it first), how can I merge them into one filesystem without moving all the data onto an external device and then moving it all back

Re: How to merge two partitions?

2013-08-01 Thread Andrew Stubbs
On 01/08/13 12:08, Hugo Mills wrote: I thought of using btrfs device add and just living with the untidy underlying devices, but an experiment with loopback filesystems shows that any data on the new device is silently obliterated (it might be nice if the docs mentioned this!) You would