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

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

Brenda,

After poking around and Googling, I *think* the problem is due to the way
the Ubuntu shuts down the RAID array (
http://www.linuxquestions.org/questions/debian-26/disk-might-not-be-spun-down-properly-update-shutdown-utility-583307/#post2926448).
I am trying various ideas and will report to the list latter this week.
Thanks!

Charles

On Tue, Jan 18, 2011 at 10:00 PM, Brenda J. Butler <bjb [ at ] linuxbutler [ dot ] ca>wrote:

>
> 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---
>



-- 
Charles Nadeau Ph.D.
http://charlesnadeau.blogspot.com/