RE: how to resize (grow) device partition of a multi-device BTRFS filesystem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
>    You'll need to use something like fdisk or cfdisk to resize the
> partition first. With (c)fdisk, that involves deleting and recreating
> the partition with the same starting point. (fdisk gives you more
> control here). As with most low-level FS-resizing tools, btrfs fi
> resize doesn't attempt to change the size of the underlying device.
> 
>    Hugo.
[Rick Liu] 
I see.
So that means unlike ext4 filesystem,
which I can use resize2fs on line to grow partition without losing data,
BTRFS must re-create partition table (fdisk) and loss data.

I'll then use a workaround:
add new bigger virtual disk.

Thank for your help,

Rick

--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux