On Wed, Mar 10, 2010 at 4:45 PM, Chris Irwin <span dir="ltr"><<a href="mailto:chris@chrisirwin.ca">chris@chrisirwin.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm currently using a 3.5" SATA hotswap bay for backups, swapping out a<br>
drive every week, and swapping a new one in. I'm considering changing<br>
the UUIDs on my backup filesystems to all be the same, thus I can have<br>
an entry in /etc/fstab that will work, rather than my current routine of<br>
manually checking dmesg and mounting/umounting devices directly.<br>
<br>
Can anybody think of a negative side of having duplicated UUIDs? You can<br>
assume I won't have multiple disks connected at a single time.<br>
<br>
Or is there a better way to control mounting multiple drives to a common<br>
mount-point? I tried multiple UUID entries in fstab, but it only looks<br>
for the first if I tell it to mount /mnt/backup and fails with only the<br>
second drive connected.<br></blockquote><div><br>Related observation from some time ago:<br><br>When using USB disks, I noticed that Linux will assign an sdX letter to the drive in sequence if you just plug it in without properly removing it first. So, a disk will be sdb, then sdc, ..etc.<br>
<br>I found that properly unmounting and then powering off the drive before unplugging it would preserve the drive letter, e.g. sdb each time.<br><br>Give that a shot and see if you can do away with the UUIDs.<br><br>Otherwise, adding multiple UUIDs in fstab all pointing to the same mount point should be fine, as long as you never connect more than one them at a time (unlikely in your case).<br>
</div></div>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>