Re: 3ware and scsi ids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Deas, Jim wrote:
I am currently using 3wares products to create 2T raids.
To increase performance on my NAS type boxes I am
using software raids.
 My problem relates to a falure of a IDE drive.
Once a drive fails the next boot of the machine remaps all scsi ids.
so /dev/sda-adi becomes /dev/sda-sdh.
In short, if /dev/sdb dies, all raids become bad as all scsi ids
shift down making my raidtab file now point at the wrong drives.
(I assume this will also be a possible problem when I use
my USB dongle to update software.)

 Is there a way to hard assign logical /dev/sd(x) in the driver
so they will always map the same ide port on the 3ware controllers?
3ware is no help on this. They say it is the bios/system and they
have no control over this.

You'd better use mdadm instead of the raidtools.


The config file for mdadm looks like this:
# cat /etc/mdadm.conf
DEVICE /dev/hd* /dev/sd*
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=52094036:b2e9cf8b:4267c923:750757da

So you do not have to worry about which drive gets assigned which
scsi id.

A
   /sbin/mdadm --assemble --scan
will do the trick.

Get it at http://www.cse.unsw.edu.au/~neilb/source/mdadm/

--
MfG / Regards
Friedrich Lobenstock
____________________________________________________________________
Friedrich Lobenstock                       Linux Services Lobenstock
URL: http://www.lsl.at/                         Email: fl@fl.priv.at
____________________________________________________________________


- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux