1827243 Members
2319 Online
109716 Solutions
New Discussion

linux storage

 
SOLVED
Go to solution
ovedwish
Occasional Contributor

linux storage

Hey,

I connect a red hat linux es3 server to HDS 9980 disk farm. The HBA is emulex lp9002.

I have a few problems:
1. If no lun 0 is present then the machine doesn't recognize the disks.
2. If I have luns 0,1,2,3, for example, then the mapping is:
0-> /dev/sda
1-> /dev/sdb
2-> /dev/sdc
3-> /dev/sdd

If I remove lun 2 from the system then after reboot I get:
0-> /dev/sda
1-> /dev/sdb
3-> /dev/sdc

It is a problem, because the addresses change...

Is there a way to fix it ?

Thanx,
Oved


2 REPLIES 2
Uwe Zessin
Honored Contributor
Solution

Re: linux storage

This is usually accomplished using persistent LUN binding, but I am not familiar with the Emulex drivers to say if they have or don't have that feature.

And I don't know how you are using the disks, but on the ext2/ext3 file system, for example, you could use a 'label' to adress the device.

There is some information at the end of this page to help you get an idea:
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/admin-primer/s1-storage-basics.html
.
ovedwish
Occasional Contributor

Re: linux storage

Hey,

I use LVM...

Maybe it will work even if the addresses change...

I will check it out.

thanx,
Oved