setup-storage with 3ware controller and additional drives
Michał Dwużnik
michal.dwuznik at gmail.com
Mon Jan 9 14:43:17 CET 2012
Hi,
by path is ok after reboots, even after disk change
for difference btween 0000:00 and 0000:03
maybe see the numbers produced by lspci ;)
I have quite the same setup here:
pci-0000:07:01.0-scsi-0:0:0:0 disk belongs of course to
07:01.0 RAID bus controller: 3ware Inc 9xxx-series SATA-RAID
despite the possible change in the order of sd[a-f] you're safe IMO
when using by-path
Cheers
Michal
PS:
/dev/disk/by-id$ ls -1 | wc -l
104
/dev/disk/by-path$ ls -1 | wc -l
21
never had problems of that kind despite many volumes
On Mon, Jan 9, 2012 at 14:35, Carsten Aulbert
<Carsten.Aulbert at aei.mpg.de> wrote:
> Hi
>
> again, I'm struggling to get a problem with setup-storage solved. One of our
> machines has 8 hard drives, 4 of them are connected to a 3ware controller and
> set to export two logical devices. Additionally, there are 4 identical hard
> drives attached, i.e. I expect sda..sdf which I get.
>
> The problem is, how do i get the setup-storage configuration file set-up
> correctly and generic enough to work also a second time in a couple of month,
> if one of the disks has been replaced?
>
> The problem is:
>
> * I cannot use sda...sdf as these may change upon reboot - checked and this
> happens
>
> * in by-id I have scsi-SATA_Hitachi_HUA7210_GTE200P8G3JYGE for the 4 drives
> (well except the final characters as these are based on its serial number),
> while the 3ware controller is scsi-3600050e0f0998500d158000028c10000 and
> scsi-3600050e0f0998500d1580001e8960000
>
> * by-uuid is not of much help
>
> * by-path is interesting, but is this
>
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:00:1f.2-scsi-0:0:0:0 ->
> ../../sda
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:00:1f.2-scsi-1:0:0:0 ->
> ../../sdd
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:00:1f.2-scsi-2:0:0:0 ->
> ../../sde
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:00:1f.2-scsi-3:0:0:0 ->
> ../../sdf
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:03:00.0-scsi-0:0:0:0 ->
> ../../sdb
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:03:00.0-scsi-0:0:0:1 ->
> ../../sdc
> lrwxrwxrwx 1 root root 9 Jan 9 13:17 pci-0000:05:00.0-scsi-0:0:1:0 ->
> ../../sr0
>
>
> really stable across reboots?
> and then how does one differentiate between
> pci-0000:03:00.0-scsi-0:0:0:0 and
> pci-0000:00:1f.2-scsi-0:0:0:0
>
> (3ware first device and first stand-alone disk)?
>
> Anyone knows how to tackle this?
>
> In the end I want to have the system on 3ware device one, then once FS on
> 3ware device 2 and finally a software raid across the 4 disks.
>
> Cheers
>
> Carsten
--
Michal Dwuznik
More information about the linux-fai
mailing list