multipath-tools ./multipath.conf.annotated ./m ...
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: [email protected] 2007-06-19 18:12:15
Modified files:
. : multipath.conf.annotated
multipath.conf.defaults
multipath.conf.synthetic
multipath : multipath.conf.redhat
Log message:
Pulled out cciss blacklist info from files.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.annotated.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.18.2.1&r2=1.18.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.3&r2=1.5.4.4
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.synthetic.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.11.2.1&r2=1.11.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/multipath.conf.redhat.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.6.2.3&r2=1.6.2.4
multipath.conf.annotated +1 -2
@@ -130,13 +130,12 @@ ## name : blacklist ## scope : multipath & multipathd ## desc : list of device names to discard as not multipath candidates -## default : cciss, fd, hd, md, dm, sr, scd, st, ram, raw, loop +## default : fd, hd, md, dm, sr, scd, st, ram, raw, loop ## #blacklist { # wwid 26353900f02796769 # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" # devnode "^hd[a-z][[0-9]*]" -# devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]" # device { # vendor DEC.* # product MSA[15]00
multipath.conf.defaults +0 -1
@@ -19,7 +19,6 @@ #blacklist { # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" # devnode "^hd[a-z]" -# devnode "^cciss!c[0-9]d[0-9]*" #} # #devices {
multipath.conf.synthetic +0 -1
@@ -20,7 +20,6 @@ # wwid 26353900f02796769 # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" # devnode "^hd[a-z][[0-9]*]" -# devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]" # device { # vendor DEC.* # product MSA[15]00
multipath/multipath.conf.redhat +0 -1
@@ -57,7 +57,6 @@ # wwid 26353900f02796769 # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" # devnode "^hd[a-z]" -# devnode "^cciss!c[0-9]d[0-9]*" #} #multipaths { # multipath {
Device mapper devices not created before fsck at boot
I have a system(s) which is failing to fsck /dev/mapper/<wwn> devices during boot time. The dev-mapper devices are not created from the time dmsetup is run in rc.sysinit until the device fsck is run (next block). The only device in /dev/mapper is /dev/mapper/control, none of the <wwn> devices exist before fsck attempts to run. I have put in a "sleep 10" in between the two code blocks and this has worked on one system and not others.
From our research our understanding is that there is a race condition somewhere in udev and dmsetup. Does anyone know if there is a fix for this issue or have encountered anything similar? Is there anything I can pass to dmsetup to ensure that devices are created before it returns? This appears to be specific to the latest generation HP servers for some reason (faster procs?).
Information about the system and lsmod and ls -al /dev/mapper/ commands inserted in rc.sysinit below.
OS: RHAS 4
Kernel: 2.6.9-42.Elsmp and 2.6.9-55.Elsmp
Hardware: HP DL380G5
2x proc (latest multi-core) external disk: 3PARdata HBA: Qlogic 2460 PCI-x HBA driver: 8.01.04-d7
Tue Jun 19 17:12:09 EDT 2007
Quoted 1 line
Quoted 1 line
ls -al
/dev/mapper/*is run here
crw------- 1 root root 10, 63 Jun 19 13:11 /dev/mapper/control
Quoted 1 line
Quoted 1 line
lsmod is run here - note
dm_round_robinis not loaded
Module Size Used by dm_mirror 32465 0 dm_multipath 21841 0 button 9057 0 battery 11209 0 ac 6729 0 hw_random 7137 0 bnx2 147253 0 qla2400 201025 0 ext3 137809 2 jbd 69104 1 ext3 dm_mod 68097 2 dm_mirror,dm_multipath ata_piix 14405 0 libata 78473 1 ata_piix qla2300 127425 0 qla2322 137537 0 cciss 69809 3 qla2xxx 183201 3 qla2400,qla2300,qla2322 scsi_transport_fc 11841 1 qla2xxx sd_mod 19393 0 scsi_mod 141457 5
libata,cciss,qla2xxx,scsi_transport_fc,sd_mod
Tue Jun 19 17:12:19 EDT 2007
Quoted 1 line
Quoted 1 line
ls -al
/dev/mapper/*run again 10 seconds later
brw-rw---- 1 root disk 253, 0 Jun 19 17:12 /dev/mapper/350002ac0000c03fd
brw-rw---- 1 root disk 253, 1 Jun 19 17:12 /dev/mapper/350002ac0000c03fd1
crw------- 1 root root 10, 63 Jun 19 13:11 /dev/mapper/control
Quoted 1 line
Quoted 1 line
dm_round_robinis loaded
Module Size Used by dm_round_robin 4929 1 dm_mirror 32465 0 dm_multipath 21841 2 dm_round_robin button 9057 0 battery 11209 0 ac 6729 0 hw_random 7137 0 bnx2 147253 0 qla2400 201025 0 ext3 137809 2 jbd 69104 1 ext3 dm_mod 68097 6 dm_mirror,dm_multipath ata_piix 14405 0 libata 78473 1 ata_piix qla2300 127425 0 qla2322 137537 0 cciss 69809 3 qla2xxx 183201 5 qla2400,qla2300,qla2322 scsi_transport_fc 11841 1 qla2xxx sd_mod 19393 2 scsi_mod 141457 5
libata,cciss,qla2xxx,scsi_transport_fc,sd_mod
Christopher Wilson
Storage Architect
Verizon Business
IT Solutions - IP Application Hosting
______________________________________________________________________
This e-mail has been scanned by Verizon Managed Email Content Service, using Skeptic™ technology powered by MessageLabs. For more information on Verizon Managed Email Content Service, visit http://www.verizonbusiness.com.
______________________________________________________________________
Re: Device mapper devices not created before fsck at boot
Quoted 7 lines · Christopher J
I have a system(s) which is failing to fsck /dev/mapper/<wwn> devices during boot time. The dev-mapper devices are not created from the time dmsetup is run in rc.sysinit until the device fsck is run (next block). The only device in
/dev/mapperis/dev/mapper/control, none of the <wwn> devices exist before fsck attempts to run. I have put in a "sleep 10" in between the two code blocks and this has worked on one system and not others.
<snip>
If you intend to make a new post, please make a new post; do not reply to an existing message, change the subject line, and delete all quotes.
Doing this causes the message to show up as part of the thread you
replied to, which may case people to never see it if they are ignoring that thread, and confuses people when they see your completely unrelated message when they are reading the original thread and are expecting the discussion to remain on the same topic.