LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mount Drive (https://www.linuxquestions.org/questions/linux-server-73/mount-drive-4175642294/)

tommytomato 11-13-2018 08:24 PM

Mount Drive
 
Hi all

OS is Ubuntu 18.04.1 LTS \n \l

How do I tell if its going to save to the correct mount

My UUID is /dev/sda: LABEL="1TB" UUID="56815082-3fdc-4d2c-842f-77146c74dde8" TYPE="ext4"

and using a live cd it tells me its mounted like so /media/ubuntu/1TB/backups

The main OS is on a 256GB M.2 Drive and I've put in a 1TB HDD for backups

fstab has UUID=56815082-3fdc-4d2c-842f-77146c74dde8 /media/ubuntu/1TB/backups ext4 defaults 0 1

cheers TT

frankbell 11-13-2018 08:29 PM

I think this tutorial will help you. I know it helped me when I decided to mount partitions via UUID.

https://www.cyberciti.biz/faq/linux-...-update-fstab/

yancek 11-14-2018 11:42 AM

The fstab entry from a Live CD will not be the same on an installed system. You need the correct UUID as shown in the link posted as well as the correct path to the mount point which you would have to create. Your fstab entry shown above would need to have a /media/ubuntu/1TB/backups directory path to work on the installed system which I doubt exists.


All times are GMT -5. The time now is 11:12 AM.