home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Problem with the changing order of drives

What kind of interface are the discs connected to? Is it some kind of hardware raid card?

----- Original Message -----
From: "Brenda J. Butler" <bjb [ at ] linuxbutler [ dot ] ca>
To: "Charles Nadeau" <charles [ dot ] nadeau [ at ] gmail [ dot ] com>
Cc: linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
Sent: Tuesday, January 18, 2011 10:00:59 PM
Subject: Re: [OCLUG-Tech] Problem with the changing order of drives


Strange that the udev rules aren't working ...

One approach is to debug that.  Make sure no statements are causing
the udev rules you show below to be skipped, and/or move them earlier in
the sequence of udev rules (to help with finding what's causing them
to be skipped - if that is what's happening).

Another approach is to use volume names.  I don't know offhand how
to do that or I'd give some pointers right here.  My guess is
you give volume names to the disks (they get written on the disks),
then use the volume names to mount the drives rather than the
device names.

bjb


On Tue, Jan 18, 2011 at 05:50:58PM -0500, Charles Nadeau wrote:
> Hi,
> 
> I had to reinstall linux over the week-end and made the switch from Gentoo
> to Xubuntu 10.10.
> Since then, everytime the computer reboot,s the order of the drives changes
> making the use of my RAID array very difficult.
> I tried writing udev rules but they are not followed on boot.
> 
> charles@ottawa:/etc/udev/rules.d$ cat 80-local.rules
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750640AS_5QD0ZEL6", NAME="sda"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750330AS_3QK0A55K", NAME="sdb"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750640AS_3QD1BKH4", NAME="sdc"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750330AS_3QK08ZAR", NAME="sdd"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST31000528AS_6VP053RH", NAME="sde"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3320620AS_6QF1A82N", NAME="sdf"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750640AS_5QD10GFJ", NAME="sdg"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750640AS_5QD0ZMT2", NAME="sdh"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750640AS_5QD0VDLG", NAME="sdi"
> SUBSYSTEM=="block", ATTR{ID_SERIAL}=="ST3750640AS_3QD0AF55", NAME="sdj"
> 
> What else can I try?
> Thanks!
> 
> Charles
> 
> -- 
> Charles Nadeau Ph.D.
> http://charlesnadeau.blogspot.com/
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://oclug.on.ca/mailman/listinfo/linux
---end quoted text---
_______________________________________________
Linux mailing list
Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
http://oclug.on.ca/mailman/listinfo/linux