2

The output from blkid shows a post called UUID_SUB on my BTRFS-volumes. What does that mean and where can I find more info?

/dev/sdc: LABEL="example" UUID="e7c116be-e3ba-4097-857b-12a1f4e9f753" UUID_SUB="b263e0c0-1714-48f1-8706-f97dec03b355" BLOCK_SIZE="4096" TYPE="btrfs"

1 Answer 1

5

UUID_SUB shows the subvolume UUID (see man libblkid for details). For more on BTRFS subvolumes, see the relevant section of the BTRFS documentation.

Every BTRFS filesystem has at least one subvolume:

A freshly created filesystem is also a subvolume, called top-level, internally has an id 5. This subvolume cannot be removed or replaced by another subvolume. This is also the subvolume that will be mounted by default, unless the default subvolume has been changed (see btrfs subvolume set-default).

(from BTRFS manual on subvolumes)

2
  • Should I use subvolume 's UUID_SUB or device's UUID in /etc/fstab? Commented May 25, 2024 at 14:35
  • @Daniel that depends on what you’re trying to do. If you want to mount a subvolume, use its subid; otherwise use the device id. Commented May 25, 2024 at 15:47

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.