Hdd access denied after coversion from ext4 to btrfs

Hi
I removed /hdd under root. Thanks for the advice. I am not so good at the btr file system. Below is my /etc/fstab content.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /              btrfs   subvol=/@,defaults,noatime,autodefrag,compre>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /home          btrfs   subvol=/@home,defaults,noatime,autodefrag,co>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /root          btrfs   subvol=/@root,defaults,noatime,autodefrag,co>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /srv           btrfs   subvol=/@srv,defaults,noatime,autodefrag,com>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /var/cache     btrfs   subvol=/@cache,defaults,noatime,autodefrag,c>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /var/log       btrfs   subvol=/@log,defaults,noatime,autodefrag,com>
UUID=72ac90b3-5bda-42c9-8af2-bc7bfe3605ed /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,autodefrag,com>
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

should I simply issue the following commands:

sudo mount -t btrfs /dev/sda1 mnt (?  or /mnt)

then unmount

sudo umount /dev/sda1

then

sudo nano /etc/fstab

and add the line below to the content of the fstab

/dev/sda1       /home/user/disk btrfs    defaults        0       0

then mount everything

$ sudo mount -a

Thanks for the advice and the patience.


Please read

I edit your post :slight_smile: , sorry.

1 Like