[dm-devel] /dev/sdd fails fsck on bootup

Keith O'Brien keith.obrien at rga.com
Tue Apr 29 16:09:15 UTC 2008


After adding a second dm device to a server and rebooting, the server reports that /dev/sdd has failed fsck check. Once booted after continuing dmsetup reports a linear device for /dev/sdd. It also reports it for multipath. Once I remove the linear device I can mount the partition and everything appears fine.  While researching this problem I found that I was creating the partition on dm device incorrectly, by fdisking /dev/dm-x. This is the only one that has this issue. It is also the first multipath device connected to our new IBM san.

I have tried removing multipath -f svnbackup and then running a manual fdisk on /dev/sdd. (inactive path)
fdisk /dev/sdd
Unable to read /dev/sdd

Checking /dev/sdb reports everything is fine. This make since to me because this is the active path and sdd failed and is inactive.

When I run multipath after checking everything it recreates the linear path svnbackup1 along with the multipath. I am not sure why this is happening.

Attached below are the output for dmsetup and mutlitpath -v3

Please let me know if you need any additional info.

Thanks,
Keith.


DMSETUP INFO:
------------------------
Name:              svnbackup1
State:             ACTIVE
Tables present:    LIVE
Open count:        0
Event number:      0
Major, minor:      254, 2
Number of targets: 1
UUID: part1-mpath-3600a0b80002938260000042547e783bb

Name:              svnbackup
State:             ACTIVE
Tables present:    LIVE
Open count:        1
Event number:      1
Major, minor:      254, 1
Number of targets: 1
UUID: mpath-3600a0b80002938260000042547e783bb

Name:              svn
State:             ACTIVE
Tables present:    LIVE
Open count:        1
Event number:      1
Major, minor:      254, 0
Number of targets: 1
UUID: mpath-3600a0b800017d0110000060946d56eb5

Multipath -v3 INFO
---------------------------------
cciss!c0d0: blacklisted
dm-0: blacklisted
hda: blacklisted
loop0: blacklisted
loop1: blacklisted
loop2: blacklisted
loop3: blacklisted
loop4: blacklisted
loop5: blacklisted
loop6: blacklisted
loop7: blacklisted
ram0: blacklisted
ram10: blacklisted
ram11: blacklisted
ram12: blacklisted
ram13: blacklisted
ram14: blacklisted
ram15: blacklisted
ram2: blacklisted
ram3: blacklisted
ram4: blacklisted
ram5: blacklisted
ram6: blacklisted
ram7: blacklisted
ram8: blacklisted
ram9: blacklisted
sda: not found in pathvec
sda: mask = 0x1f
sda: bus = 1
sda: dev_t = 8:0
sda: size = 734003200
sda: vendor = IBM
sda: product = 1722-600
sda: rev = 0520
sda: h:b:t:l = 0:0:0:0
sda: tgt_node_name = 0x200600a0b81607da
sda: serial = 1T50650559
sda: path checker = tur (controller setting)
sda: state = 2
sda: getprio = NULL (internal default)
sda: prio = 1
sda: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
sda: uid = 3600a0b800017d0110000060946d56eb5 (callout)
sdb: not found in pathvec
sdb: mask = 0x1f
sdb: bus = 1
sdb: dev_t = 8:16
sdb: size = 734003200
sdb: vendor = IBM
sdb: product = 1814      FAStT
sdb: rev = 0916
sdb: h:b:t:l = 0:0:1:0
sdb: tgt_node_name = 0x200400a0b8293b28
sdb: serial = SN70600341
sdb: path checker = tur (controller setting)
sdb: state = 2
sdb: getprio = NULL (internal default)
sdb: prio = 1
sdb: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
sdb: uid = 3600a0b80002938260000042547e783bb (callout)
sdc: not found in pathvec
sdc: mask = 0x1f
sdc: bus = 1
sdc: dev_t = 8:32
sdc: size = 734003200
sdc: vendor = IBM
sdc: product = 1722-600
sdc: rev = 0520
sdc: h:b:t:l = 1:0:0:0
sdc: tgt_node_name = 0x200600a0b81607da
sdc: serial = 1T50765237
sdc: path checker = tur (controller setting)
sdc: state = 2
sdc: getprio = NULL (internal default)
sdc: prio = 1
sdc: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
sdc: uid = 3600a0b800017d0110000060946d56eb5 (callout)
sdd: not found in pathvec
sdd: mask = 0x1f
sdd: bus = 1
sdd: dev_t = 8:48
sdd: size = 734003200
sdd: vendor = IBM
sdd: product = 1814      FAStT
sdd: rev = 0916
sdd: h:b:t:l = 1:0:1:0
sdd: tgt_node_name = 0x200400a0b8293b28
sdd: serial = SN70504350
sdd: path checker = tur (controller setting)
sdd: state = 2
sdd: getprio = NULL (internal default)
sdd: prio = 1
sdd: getuid = /sbin/scsi_id -g -u -s /block/%n (controller setting)
sdd: uid = 3600a0b80002938260000042547e783bb (callout)
===== paths list =====
uuid                              hcil    dev dev_t pri dm_st  chk_st  vend/pr
3600a0b800017d0110000060946d56eb5 0:0:0:0 sda 8:0   1   [undef][ready] IBM,172
3600a0b80002938260000042547e783bb 0:0:1:0 sdb 8:16  1   [undef][ready] IBM,181
3600a0b800017d0110000060946d56eb5 1:0:0:0 sdc 8:32  1   [undef][ready] IBM,172
3600a0b80002938260000042547e783bb 1:0:1:0 sdd 8:48  1   [undef][ready] IBM,181
params = 0 0 2 1 round-robin 0 1 1 8:0 1000 round-robin 0 1 1 8:32 1000
status = 1 0 0 2 1 A 0 1 0 8:0 A 0 E 0 1 0 8:32 A 0
*word = 0, len = 1
*word = 0, len = 1
*word = 2, len = 1
*word = 1, len = 1
*word = round-robin, len = 11
*word = 0, len = 1
*word = 1, len = 1
*word = 1, len = 1
*word = 8:0, len = 3
*word = 1000, len = 4
*word = 1, len = 1
*word = 1, len = 1
*word = 8:32, len = 4
*word = 1000, len = 4
*word = 1, len = 1
*word = 0, len = 1
*word = 2, len = 1
*word = A, len = 1
*word = 1, len = 1
*word = 0, len = 1
*word = A, len = 1
*word = 0, len = 1
*word = E, len = 1
*word = 1, len = 1
*word = 0, len = 1
*word = A, len = 1
*word = 0, len = 1
sda: ownership set to svn
sda: not found in pathvec
sda: mask = 0xc
sda: state = 2
sda: prio = 1
sdc: ownership set to svn
sdc: not found in pathvec
sdc: mask = 0xc
sdc: state = 2
sdc: prio = 1
svn: pgfailover = -1 (internal default)
svn: pgpolicy = failover (LUN setting)
svn: selector = round-robin 0 (internal default)
svn: features = 0 (controller setting)
svn: hwhandler = 0 (controller setting)
svn: rr_weight = 1 (internal default)
svn: minio = 1000 (config file default)
svn: no_path_retry = NONE (internal default)
svn: set ACT_NOTHING (map unchanged)
sdb: ownership set to svnbackup
sdb: not found in pathvec
sdb: mask = 0xc
sdb: state = 2
sdb: prio = 1
sdd: ownership set to svnbackup
sdd: not found in pathvec
sdd: mask = 0xc
sdd: state = 2
sdd: prio = 1
svnbackup: pgfailover = -1 (internal default)
svnbackup: pgpolicy = failover (LUN setting)
svnbackup: selector = round-robin 0 (internal default)
svnbackup: features = 0 (controller setting)
svnbackup: hwhandler = 0 (controller setting)
svnbackup: rr_weight = 1 (internal default)
svnbackup: minio = 1000 (config file default)
svnbackup: no_path_retry = NONE (internal default)
svnbackup: set ACT_CREATE (map does not exist)
create: svnbackup (3600a0b80002938260000042547e783bb)  IBM,1814      FAStT
[size=350G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][undef]
 \_ 0:0:1:0 sdb 8:16  [undef][ready]
\_ round-robin 0 [prio=1][undef]
 \_ 1:0:1:0 sdd 8:48  [undef][ready]




Keith O'Brien Sr. Unix Administrator
Phone 212-946-4225 Fax 212-946-4010
Keith at rga.com<mailto:212-946-4010Keith at rga.com>

R/GA 350 West 39th Street New York, NY 10018 www.rga.com<http://www.rga.com/>



















This message is the property of R/GA and contains information which may be privileged or confidential. It is meant only for the intended recipients and/or their authorized agents. If you believe you have received this message in error, please notify us immediately by return e-mail or by forwarding this message to postmaster at rga.com<mailto:postmaster at rga.com>, and destroy any printed or electronic copies of the message. Any unauthorized use, dissemination, disclosure, or copying of this message or the information contained in it, is strictly prohibited and may be unlawful. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20080429/d6c3146f/attachment.htm>


More information about the dm-devel mailing list