2

When I add a device to a btrfs sub-volume with

btrfs device add /dev/sdb /path/to/subvolume

is the added device then only used for the sub-volume or is it used by the whole file-system ?

Or the question in the other way: Is it possible to add a device only to a sub-volume?

thanks!

1 Answer 1

0

You can't add a device to a subvolume. You can add a device only to a filesystem.

But this command will work with any path to an object located on a btrfs filesystem.

And it looks like you do not quite understand what subvolume is. Adding a device to a subvolume makes no sense for me at all.

2
  • okay, thanks! so, balancing with ´btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt´ works also with any path of the btrfs filesystem,right?
    – oceanBT
    Jun 19, 2016 at 17:09
  • Exactly. The object of the path should be on the correct FS. It does not matter which object. But I suggest using the mount point, just not to make a mistake.
    – Pilot6
    Jun 19, 2016 at 17:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .