How to change the partition labels?

Iam using btrfs for both / and /home and I want to change the lable of those two partitions.

Are they separate partitions or two subvolumes in the same partition?

I think its two subvolumes Iam not sure.

output of lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0 100.1G  0 part /var/cache
│                                /var/log
│                                /
├─sda2   8:2    0 831.2G  0 part /home
└─sda3   8:3    0 200.2M  0 part /boot/efi
sr0     11:0    1  1024M  0 rom  


Those look to be separate partitions. You can use gparted or kde partition manager to change the labels with a gui.

Alternatively, you can do it through the cli if you prefer that approach.

How to do it in CLI?

sudo btrfs filesystem label /home home
sudo btrfs filesystem label / root

Replace root and home with what you would like the labels to be.

You may need to reboot to see the labels in lsblk.

Thank you.