LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-17-2011, 06:45 AM   #1
Lothar Schwab
LQ Newbie
 
Registered: Aug 2007
Location: Minnesota, USA
Distribution: Lubuntu
Posts: 19

Rep: Reputation: 2
Random assignment of drives to devices


I am using Ubuntu for a long time now. Beginning with (I think) Maverick Meercat I can see a peculiar behavior. My desktop system has three physical disk drives (100GB, 250GB and 2TB).

Before Meercat these physical disks were reliably assigned to these devices:
100GB disk -> sda
250GB disk -> sdb
2TB disk -> sdc

And beginning with Meercat this assignment is somewhat random. Sometimes I get the above assignment after a reboot but sometimes it is this way:
100GB disk -> sdc
250GB disk -> sda
2TB disk -> sdb

The 2TB drive is a SATA drive while the other disks are IDE drives.

After each reboot there seems to be a 50/50 chance
for one or the other drive-to-device assignment.

Has anybody else observed such behavior?
 
Old 11-17-2011, 07:21 AM   #2
davemguru
Member
 
Registered: Apr 2006
Location: London
Distribution: Pclos,Debian,Puppy,Fedora
Posts: 87

Rep: Reputation: 42
Quote:
Originally Posted by Lothar Schwab View Post
I am using Ubuntu for a long time now. Beginning with (I think) Maverick Meercat I can see a peculiar behavior. My desktop system has three physical disk drives (100GB, 250GB and 2TB).

Before Meercat these physical disks were reliably assigned to these devices:
100GB disk -> sda
250GB disk -> sdb
2TB disk -> sdc

And beginning with Meercat this assignment is somewhat random. Sometimes I get the above assignment after a reboot but sometimes it is this way:
100GB disk -> sdc
250GB disk -> sda
2TB disk -> sdb

The 2TB drive is a SATA drive while the other disks are IDE drives.

After each reboot there seems to be a 50/50 chance
for one or the other drive-to-device assignment.

Has anybody else observed such behavior?
Hi, I had this some time ago (not Ubuntu) and it appeared to be related to the UUID of the disks... or (in fact) the NON-use of UUID in my fstab at the time. So, are you saying (for example) that partitions on sda are being mounted incorrectly - because sda is no longer the physical 100GB drive?
I had an IDE (Pata) as my first (boot) drive and some other Sata drives as secondary. SOMETIMES they would "swap identities".
It related to a USB stick that I had stuck in the machine at boot time. The "smart" bios was moving things around.
So.... (if I am close) I would suggest ensuring that you use UUID's for all devices - rather than "sda1, sdb3" etc.
Dave
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Random drives corrupt GTP table gimpy530 Linux - General 18 02-05-2011 10:34 PM
Random number generator for linux based mobile devices usman_minhas Programming 4 05-15-2009 03:05 AM
no ip assignment / wireless devices tlambert693 Linux - Wireless Networking 1 11-26-2005 09:29 AM
hot swap for adding random hard drives? PATA, SATA, SCSI? Oo.et.oO Linux - General 1 11-05-2005 10:38 AM
Hard Drives issues and random I/O errors totofy Linux - Hardware 2 03-05-2004 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration