I am on Linux 6.12.41-1-MANJARO (x86_64), nothing encrypted, no RAID etc. and I have a question about adding an additional internal drive to my computer. Although I have read the tutorials, like this:
or discussions like this:
I could not insert the correct line in fstab.
My luck to find the nofail option, so that I don’t have to repair fstab form a live system after each trying.
Manjaro is running on a nvme drive of total 2 TB (nvme0n1p1, p2, p3). And there is a 500 GB partition on this nvme (nvme0n1p4) labeled “VBox-VMs”, which is formatted with ext4 and which should now be mounted by fstab. Further there is a harddisk of 6 TB labeled “Intermediate”, which should also be mounted by fstab.
I tried my very best to follow the tuturials and all the valuable infos here, but I had no success. After having inserted the line for the new drive in fstab and then try:
sudo findmnt -x --vfs-all ✔
/home/clemens/Intermediate
[W] unerreichbare Quelle: UUID-db44e8d2-5fa8-43a1-940a-970484529933: Datei oder Verzeichnis nicht gefunden
[W] Dateisystemtyp auf der Platte kann nicht erkannt werden(Datei oder Verzeichnis nicht gefunden)
I don’t think, that the mount point is the problem, because I have tried two different:
/home/VBox-VMs
/home/jaqueline/VBox-VMs
At the first sample, I have of course set the directory to me as owner. I prefer the second sample of course.
Both drives, I want to get mounted by fstab can be mounted manually in Thunar like any external drive and all data is accessible then.
This is my fstab and the last two lines are belonging to the two drives. I have commented them out in order to get no problems, although I have set the option to nofail
of course.
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=888D-F3BF /boot/efi vfat defaults,umask=0077 0 2
UUID=340b5cb5-bc7b-4a3c-8274-46c2eea878da swap swap defaults 0 0
UUID=2aad5a62-915e-4075-b0d8-a517302e3547 / btrfs subvol=/@,defaults,noatime,space_cache=v2,compress=zstd:6 0 0
UUID=2aad5a62-915e-4075-b0d8-a517302e3547 /home btrfs subvol=/@home,defaults,noatime,space_cache=v2,compress=zstd:6 0 0
UUID=2aad5a62-915e-4075-b0d8-a517302e3547 /var/cache btrfs subvol=/@cache,defaults,noatime,space_cache=v2,compress=zstd:6 0 0
UUID=2aad5a62-915e-4075-b0d8-a517302e3547 /var/log btrfs subvol=/@log,defaults,noatime,space_cache=v2,compress=zstd:6 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
# UUID-5b578c12-7401-47a4-857a-c9cfac7ce47b /home/jaqueline/VBox-VMs ext4 defaults,nofail 0 0
# UUID-db44e8d2-5fa8-43a1-940a-970484529933 /home/jaqueline/Intermediate btrfs defaults,noatime,nofail,noexec 0 0
The mount points are empty directories in /home/jaqueline/
What am I doing wrong here?