On Thursday, 12 November 2020 11:00:36 CET Andrei Borzenkov wrote:
On Thu, Nov 12, 2020 at 12:49 PM Ancor Gonzalez Sosa
> > Is it possible to add devices to already existing btrfs filesystems in
> > YaST?
Last time i tried it was only possible when creating new btrfs,
but not adding a device to an existing btrfs. That
would be cool for
servers. I managed the task on the command line, but YaST might be a
good place :-)
No. It's not possible because that's a process that can involve moving
data and other typically slow operations that are not always easy to
control, like btrfs balancing.
Adding a device does not involve any data movement at all. Data
movement could be used to improve data distribution but it is not
necessary or directly related to adding devices.
Removing a device does initiate data evacuation; maybe you mean this?
Well, You are both right ;-)
Adding alone does not move or copy data.
But often one wants to convert the btrfs data and/or metadata to RAID-
something. That starts to copy/move data.
But with a warning to the user, this might be ok.
How is that done when removing a user and its data in YaST? Ok deleting is
fast on resent filesystems, but wasn't in former times.
Mit freundlichen Gruessen,