[dm-devel] Partition(s) on boot time

Bahadir Kiziltan b_kiziltan at hotmail.com
Tue Mar 7 07:57:06 UTC 2006


Have a Dell PowerEdge 6850 server with 2 x Emulex LP1050 HBAs with the 
latest firmware and BIOS connected to EMC CX300 storage system via 2 x SAN 
switches. It's a fully redundant SAN fabric. A LUN sized and named 112GB is 
dedicated to such server running RHEL4 U2. Here are some more details...

[root at devapp2 ~]# multipath -ll
112GB (36006016064e116004a8cdf7cd8a9da11)
[size=112 GB][features="1 queue_if_no_path"][hwhandler="1 emc"]
\_ round-robin 0 [active]
  \_ 1:0:0:0 sdb  8:16    [ready ][active]
\_ round-robin 0 [enabled]
  \_ 1:0:1:0 sdc  8:32    [ready ][active]
\_ round-robin 0 [enabled]
  \_ 2:0:0:0 sdd  8:48    [ready ][active]
\_ round-robin 0 [enabled]
  \_ 2:0:1:0 sde  8:64    [ready ][active]

Such LUN is presented under "/dev" as "dm-0". Also "/dev/mapper/112GB" 
device file is available. However I can't see partitions created on such LUN 
without executing "kpartx" command manually.

[root at devapp2 ~]# kpartx -va /dev/dm-0
add map dm-0p1 : 0 9783522 linear /dev/dm-0 63

I tried to modify script files under /etc/udev/rules directory but no luck.

How is it possible to make partition(s) available on boot time?

BTW, fail-over and fail-back operations are working flawless.

Thanks.





More information about the dm-devel mailing list