New laptop with SSD and HDD (not hybrid). Confused about /etc/fstab and mount points.
by globetrotterdk from LinuxQuestions.org on (#5DN2X)
I just install Fedora 33 Cinnamon on a Lenovo Legion laptop. In the installer, I set up my SSD for my system (root and home) and my HDD as /data. My /etc/fstab looks as follows for the /data partition:
Code:/dev/disk/by-uuid/xxxxxx-xxxxx-xxxxx-xxxxxxx-xxxxxxxx /home/user/Data auto nosuid,nodev,nofail,x-gvfs-show 0 0As I have no experience with this, I used Disks to modify the mount options. Does this look OK? I am mainly asking because some of the threads I have read talk about making a directory
Code:$ sudo mkdir -p /home/user/Data/However, the system appears to have done this automatically for me.
This is the second time that I have done this. The first time, I had created a folder for the mount point with some random text files in a directory, but that no longer existed the second time, despite the files and directory having been saved to the HDD (I assume). I obviously don't want this happening when I think that I can rely on the data being on the HDD. I of course backup my data, but I don't want to have to do it twenty times a day...


Code:/dev/disk/by-uuid/xxxxxx-xxxxx-xxxxx-xxxxxxx-xxxxxxxx /home/user/Data auto nosuid,nodev,nofail,x-gvfs-show 0 0As I have no experience with this, I used Disks to modify the mount options. Does this look OK? I am mainly asking because some of the threads I have read talk about making a directory
Code:$ sudo mkdir -p /home/user/Data/However, the system appears to have done this automatically for me.
This is the second time that I have done this. The first time, I had created a folder for the mount point with some random text files in a directory, but that no longer existed the second time, despite the files and directory having been saved to the HDD (I assume). I obviously don't want this happening when I think that I can rely on the data being on the HDD. I of course backup my data, but I don't want to have to do it twenty times a day...