[EMAIL PROTECTED] wrote on 07/05/2007 03:19:43 PM:

> Hi Scott,
> 
Hi Steve, Thanks for your reply.

> What was the old device name of the USB drive? (I'll assume /dev/sdd)
> Do you have only the one md device? (I'll assume /dev/md0)
> What level of raid do you have? (I'll assume raid 5 seeing you have so
> many devices)
> 
Sorry, I should have been more clear.
The three SCSI drives are in a raid 5 and raid 1 for the /boot.

The USB drive is a 250GB drive thats sole purpose is for samba sharing 
that doesn't require backups (for example, freely distributable programs 
from the net)

> > Its less then ideal to use sda as a usb drive for obvious reasons, and 
I 
> > am wondering what is the best way to fix this?
> > 
> 
> udevinfo -a -p /sys/block/sdb/sdd
> Will list the attributes for the drive
> 
> here's my usbdisk udev rules
> /etc/udev/rules.d/95-usbdisk.rules
> ATTR{size}=="586072368",
> ATTRS{model}=="00JB-00KFA0     ", ATTRS{vendor}=="WDC WD30",
> NAME{all_partitions}="usbdisk"
> 
My concern isn't about removal and insertion of the disk on the running 
OS, its that sometimes it may be present on bootup, and other times it may 
not. So therefore the SCSI drives will be assigned different letters if 
the usb drive is not present, which would degrade the array, as they would 
now be sda, b and c, and not sdb, c and d.

On looking at your udev rules, could I apply this to both udev on the OS, 
and udev on initrd, and instead of the USB drive being assigned /dev/sda, 
it will be assigned /dev/usbdisk, and the other SCSI disks would be 
assigned /dev/sda, b and c?

Thanks again.

Scott
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to