[kwlug-disc] Multiple disks to single mount point

unsolicited unsolicited at swiz.ca
Thu Mar 11 15:02:23 EST 2010


If this is a hotswap *bay*, then it's not USB.

- do you currently notice that the /sdX letter changes?
   - all the sata ports should be enumerated at boot, drive or not, 
I'd expect. This isn't your experience?
- perhaps it doesn't change if there is always a drive in it at boot time?
- can you put a file, say, .thisisabackupdrive, at the root of each 
such drive, and your backup script can look for the file? (This would 
prevent hosing a non-backup drive.)

I could see the advantage to duplicate UUIDs. Accidentally put two in 
at the same time, and all sorts of flags should fire off, warning you. 
Not necessarily a bad thing. (-:

Chris Irwin wrote, On 03/10/2010 4:45 PM:
> I'm currently using a 3.5" SATA hotswap bay for backups, swapping out a
> drive every week, and swapping a new one in. I'm considering changing
> the UUIDs on my backup filesystems to all be the same, thus I can have
> an entry in /etc/fstab that will work, rather than my current routine of
> manually checking dmesg and mounting/umounting devices directly. 
> 
> Can anybody think of a negative side of having duplicated UUIDs? You can
> assume I won't have multiple disks connected at a single time.
> 
> Or is there a better way to control mounting multiple drives to a common
> mount-point? I tried multiple UUID entries in fstab, but it only looks
> for the first if I tell it to mount /mnt/backup and fails with only the
> second drive connected.




More information about the kwlug-disc mailing list