I have recently re-installed Kubuntu 18.04 on btrfs (sda1). Trying to follow Oshunluvr's instructions to mount subvolumes at startup I did the following:
--mounted sda1 to /mnt (sudo mount /dev/sda1 /mnt)
--took snapshots of both @ and @home
--edited the /etc/stab file and got this:
<file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=7f608567-065d-432f-adc6-988d8de941a2 / btrfs defaults,subvol=@ 0 1
# /home was on /dev/sda1 during installation
UUID=7f608567-065d-432f-adc6-988d8de941a2 /home btrfs defaults,subvol=@home 0 2
UUID=7f608567-065d-432f-adc6-988d8de941a2 / btrfs defaults 0 0
/swapfile none swap sw 0 0
Then I saved the file and checked the results using ls: all four subvolumes appeared under /mnt.
Finally, I rebooted, expecting to find the subvolumes mounted under /mnt. They weren't.
What did I do wrong?
--mounted sda1 to /mnt (sudo mount /dev/sda1 /mnt)
--took snapshots of both @ and @home
--edited the /etc/stab file and got this:
<file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=7f608567-065d-432f-adc6-988d8de941a2 / btrfs defaults,subvol=@ 0 1
# /home was on /dev/sda1 during installation
UUID=7f608567-065d-432f-adc6-988d8de941a2 /home btrfs defaults,subvol=@home 0 2
UUID=7f608567-065d-432f-adc6-988d8de941a2 / btrfs defaults 0 0
/swapfile none swap sw 0 0
Then I saved the file and checked the results using ls: all four subvolumes appeared under /mnt.
Finally, I rebooted, expecting to find the subvolumes mounted under /mnt. They weren't.
What did I do wrong?
Comment