What is UUID_SUB?

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"
Asked By: PetaspeedBeaver


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)

Answered By: Stephen Kitt
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.