Ubuntu, XFS and Buffalo NAS – Part 2

In part 1, I explained how to mount the drive one time, but you’ll have to comment the params in /etc/fstab in order to disabled a block at startup when the drive is not present, and as an USB drive, if the number of drives connected at boot time is not the same, the drive will not have the same partition definition (the /dev/sdd will perhaps be /dev/sdc next time).

So a better option is to use the UUID of the drive and set the auto mount option. To gert the UUID, launch gparted again and right click on the partition. In the dialog box you’ll have a item will the UUID of the partition. Just copy the value. Edit again /etc/fstab and set the line of mount point the the code below this time :

UUID=<value copied>       /media/MyXFSDrive xfs user,auto 0 0
Advertisements

About this entry