Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Rookie questions about FSTAB and external drives

$
0
0

Server has two external HDs connected via USB (one is a USB-USB connection, the other is a USB-SATA connection if that matters). They are permanent mounts into their respective /mnt directories via an entry in FSTAB

As part of a backup process, I'm trying to backup data on cycling hard drives. Can you have two mount entries in FSTAB that point to the same directory, or will FSTAB throw an exception to that? (I understand if you plugged both of the drives into the machine at the same time, that could cause a conflict, but assume I never did that).

Example in FSTABUUID:"USBDRIVE#1" /mnt/backupawesomenessUUID:"USBDRIVE#2" /mnt/backupawesomeness

So basically only #1 or #2 will ever be plugged in, but to avoid having to re-do the backup procedure every time a new drive is put in, i'm thinking of doing it this way.​if you can't do that, what's a better way to have a swappable/cycling backup option?


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>