All of lore.kernel.org
 help / color / mirror / Atom feed
* multipath-tools ./multipath.conf.annotated ./m ...
@ 2007-06-19 18:12 bmarzins
  2007-06-19 21:29 ` Device mapper devices not created before fsck at boot Wilson, Christopher J
  0 siblings, 1 reply; 4+ messages in thread
From: bmarzins @ 2007-06-19 18:12 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins@sourceware.org	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-tools/multipath.conf.annotated	2007/01/10 20:08:07	1.18.2.1
+++ multipath-tools/multipath.conf.annotated	2007/06/19 18:12:15	1.18.2.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-tools/multipath.conf.defaults	2007/05/17 19:47:24	1.5.4.3
+++ multipath-tools/multipath.conf.defaults	2007/06/19 18:12:15	1.5.4.4
@@ -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-tools/multipath.conf.synthetic	2007/01/10 20:08:07	1.11.2.1
+++ multipath-tools/multipath.conf.synthetic	2007/06/19 18:12:15	1.11.2.2
@@ -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-tools/multipath/multipath.conf.redhat	2007/05/08 20:15:59	1.6.2.3
+++ multipath-tools/multipath/multipath.conf.redhat	2007/06/19 18:12:15	1.6.2.4
@@ -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 {

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Device mapper devices not created before fsck at boot
@ 2007-06-19 21:52 Wilson, Christopher J
  0 siblings, 0 replies; 4+ messages in thread
From: Wilson, Christopher J @ 2007-06-19 21:52 UTC (permalink / raw)
  To: dm-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 3802 bytes --]

Apologies for my previous reply.  Here's the same on a new thread.
 
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

>> ls -al /dev/mapper/* is run here

crw-------  1 root root 10, 63 Jun 19 13:11 /dev/mapper/control

>> lsmod is run here - note dm_round_robin is 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

>> 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

>> dm_round_robin is 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




______________________________________________________________________
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.
______________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-19 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-19 18:12 multipath-tools ./multipath.conf.annotated ./m bmarzins
2007-06-19 21:29 ` Device mapper devices not created before fsck at boot Wilson, Christopher J
2007-06-19 21:45   ` Phillip Susi
  -- strict thread matches above, loose matches on Subject: below --
2007-06-19 21:52 Wilson, Christopher J

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.