I have a 1TB portable hard drive that I use for backups. The entire drive (
/dev/sdb) has been formatted as an
I have been reading about the benefits of
btrfs for backups (checksums, self-healing, etc) and am considering converting this disk from
I'm pretty sure I can still resize the disk (
e2fsck -f /dev/sdb && resize2fs /dev/sdb 500G && fdisk /dev/sdb, or thereabouts). However, I'm not sure how to "introduce" partitions to a device that didn't have partitions to start with.
Can this be done, and if so, how?
(Note that the filesystems themselves -
btrfs, etc - are pretty much irrelevant - the question is purely about partitioning a device that was initially created without a partition - and doing so without losing the existing filesystem.)