Re: inconsistent mounting
Rene Bartosh <[email protected]> Thu, 3 Feb 2011 18:05:34 +1300
| Newsgroups | gmane.org.user-groups.linux.hawkes-bay |
|---|---|
| Message-ID | <[email protected]> |
Hi Chris, Not sure what distro you are running, but I believe what you are looking for are UUIDs (http://en.wikipedia.org/wiki/Universally_unique_identifier). /etc/fstab on my Ubuntu system has the following info: # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # / was on /dev/sdd1 during installation UUID=fe5b6b56-2725-41c0-99bf-123316cd8586 / ext4 errors=remount-ro 0 1 # swap was on /dev/sdd5 during installation UUID=dfba75f4-9da8-4a7e-8e30-3755b157feb2 none swap sw 0 0 Hope that points you in the right direction, Cheers, Rene On Thu, Feb 3, 2011 at 4:52 PM, Chris Morris <[email protected]> wrote: > I have two 1TB and one 2TB drive in this workstation. The two that don't > have an OS on them are purely storage and every time I reboot I have to > mount them manually. > The reason being is that they often turn up in different locations after the > reboot. > For example the 2TB may appear on /dev/sda or perhaps /dev/sdg or /dev/sdf > > I would have thought one would have to physically change the > sata-lead/sata-port on the motherboard for this to happen, but it seems not. > Something in the BIOS perhaps? > > This random allocation is what prevents me from adding the mount points to > fstab for auto-mounting the storage drives. > > any ideas? > > chris > > > > > _______________________________________________ > HBLUG mailing list > [email protected] > http://www.linux.net.nz/cgi-bin/mailman/listinfo/hblug > -- >From Rene Bartosh (Gmail account) <[email protected]> Personal: http://kirjava.net.nz/