When I see stuff like this, I ask why?
Code:
/dev/disk/by-uuid/6F2E5BBE58E5BAC0 /testmnt/6F2E5BBE58E5BAC0 auto nosuid,nodev,nofail,x-gvfs-show 0 0
Longer isn't more descriptive and certainly a UUID is pretty useless to a human.
Code:
UUID=6F2E5BBE58E5BAC0 /mnt/Data auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID has been supported in fstab since 2000, perhaps earlier. If using the UUID is the way you want to go, fine. OTOH, I'd give the partition a label and use
Code:
LABEL=Data01 /mnt/Data auto nosuid,nodev,nofail,x-gvfs-show 0 0
instead. I'm loving the options - except for NTFS, you need a few more, like
Code:
windows_names,big_writes,uid=1000,gid=1000,fmask=0002,dmask=0002
to keep your mount out of trouble. So the total fstab would look like:
Code:
LABEL=Data01 /mnt/Data ntfs nosuid,nodev,nofail,windows_names,big_writes,uid=1000,gid=1000,fmask=0002,dmask=0002,x-gvfs-show 0 0
I'm not a fan of gvfs in any way (it is big and slow), but that's a personal choice. I'd also specify the file system type, clearly. Best to have it fail quickly if an unexpected file system showed up.
/mnt/ is for temporary administrative mounts according to the file system specs. I wouldn't mount anything from the fstab there ... or to any location for temporary use. I actually use /d/ as the top level to hold permanent data mounts. Using 'df', here's how extra data gets mounted here:
Code:
Filesystem Type Size Used Avail Use% Mounted on
...
/dev/md1 ext4 1.8T 1.7T 43G 98% /raid1
/dev/md2 ext4 1.3T 383G 811G 33% /raid2
/dev/mapper/vg--rom01-lv--rom--data--1tb ext4 196G 125G 62G 68% /d/rom/Data/1TB
/dev/mapper/vg--rom01-lv--rom--data--r2 ext4 1.5T 383G 1.1T 27% /d/rom/Data/r2
/dev/mapper/vg--rom01-lv--rom--misc--2tb ext4 1.5T 1.4T 50G 97% /d/rom/misc/2TB
/dev/mapper/vg--rom01-lv--rom--raid ext4 2.0T 1.7T 219G 89% /d/rom/raid
/dev/mapper/vg--rom01-lv--rom--export ext4 196G 120G 67G 65% /d/rom/export
istar:/d/D1 nfs4 3.5T 3.5T 47G 99% /d/D1
istar:/d/D2 nfs4 3.6T 3.6T 50G 99% /d/D2
istar:/d/D3 nfs4 3.6T 3.6T 28G 100% /d/D3
istar:/d/D6 nfs4 3.6T 3.2T 224G 94% /d/D6
istar:/d/D7 nfs4 3.6T 956G 2.5T 28% /d/D7
istar:/TV nfs4 98G 44G 50G 48% /TV
As you can see, most of the different storage goes under /d/ somewhere. I like short, clear, paths. The /raidX/ locations are left over from around 2005, when I didn't have nearly the level of experience that I have now. /d/rom/ is storage that was in an old machine, since retired. I'm slowly integrating that data into other storage. Eventually, there won't be any /d/rom/ mounts at all.
So putting all this together, I'd use:
Code:
LABEL=Data01 /d/Data ntfs nosuid,nodev,nofail,windows_names,big_writes,uid=1000,gid=1000,fmask=0002,dmask=0002,x-gvfs-show 0 0
to mount storage. I don't bother with LABELs for logical volumes. The /dev/{vgname}/{lvname} is already descriptive for me.