[Ocfs2-users] Problem with multipath and ocfs2

Heiko L. heikol at fh-lausitz.de
Tue Jul 19 13:46:03 PDT 2016


Am Di, 19.07.2016, 22:26 schrieb Heiko L.:

addendum

ocfs2 print coredump approx. 300s after reboot:

[  229.927561] vlan6: port 1(eth3.6) entered forwarding state
[  247.447053] INFO: task o2hb-47B2FD910E:4075 blocked for more than 120 seconds.
[  247.447074] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  247.447081] o2hb-47B2FD910E D ffff881003291e40     0  4075      2 0x00000000
[  247.447092]  ffff880faaa91a08 0000000000000246 ffff880faaa918f8 ffff880fb0043330
[  247.447101]  0000000000011e40 ffff880faaa91fd8 ffff880faaa90010 0000000000011e40
[  247.447110]  ffff880faaa91fd8 0000000000011e40 ffff880fae73a220 ffff880fb0043330


regards Heiko


> Hallo
>
>
>
> Ich have a Problem with multipath and ocfs2.
>
>
> Im running 2 ocfs-nodes with 4 disks connected on FC.
> After reboot node2 cannot access any disk.
>
>
> multipath show all disks. fdisk -l hang on "Disk /dev/dm-6" fdisk show: "Disk identifier: 0x02020202" for all SAN-disk On node1
> running all disks successfull.
>
>
> howto diag this problem?
>
>
> regards Heiko
>
>
> details
>
> - dis fstab:san
> - dis service ocfs2
>
>
>
>
> root at else2:~# multipath -ll
> mpath2 (3600601605b502e008ce8bab5d25de311) dm-1 DGC,RAID 5 size=400G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw |-+-
> policy='round-robin 0' prio=2 status=active | |- 2:0:0:1 sdg 8:96  active ready  running
> | `- 1:0:1:1 sdk 8:160 active ready  running
> `-+- policy='round-robin 0' prio=0 status=enabled
> |- 1:0:0:1 sdc 8:32  active ready  running
> `- 2:0:1:1 sdo 8:224 active ready  running
> mpath0 (3600601605b502e00f48ded703c86e211) dm-0 DGC,RAID 5 size=500G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw |-+-
> policy='round-robin 0' prio=2 status=active | |- 2:0:0:0 sdf 8:80  active ready  running
> | `- 1:0:1:0 sdj 8:144 active ready  running
> `-+- policy='round-robin 0' prio=0 status=enabled
> |- 1:0:0:0 sdb 8:16  active ready  running
> `- 2:0:1:0 sdn 8:208 active ready  running
> mpath5 (3600601605b502e00fc4857d9d496e511) dm-3 DGC,RAID 5 size=510G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw |-+-
> policy='round-robin 0' prio=2 status=active | |- 2:0:0:2 sdh 8:112 active ready  running
> | `- 1:0:1:2 sdl 8:176 active ready  running
> `-+- policy='round-robin 0' prio=0 status=enabled
> |- 1:0:0:2 sdd 8:48  active ready  running
> `- 2:0:1:2 sdp 8:240 active ready  running
> mpath3 (3600601605b502e00e0a9d366eff2e311) dm-2 DGC,RAID 5 size=510G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw |-+-
> policy='round-robin 0' prio=2 status=active | |- 2:0:0:2 sdh 8:112 active ready  running
> | `- 1:0:1:2 sdl 8:176 active ready  running
> `-+- policy='round-robin 0' prio=0 status=enabled
> |- 1:0:0:2 sdd 8:48  active ready  running
> `- 2:0:1:2 sdp 8:240 active ready  running
>
>
>
>
>
>
> # fdisk -l
> ...
> 255 heads, 63 sectors/track, 66576 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x6e577425
>
>
> Device Boot      Start         End      Blocks   Id  System
> /dev/dm-3p1               1      100517   807402771   83  Linux
>
>
> Disk /dev/dm-4: 536.9 GB, 536863993344 bytes
> 255 heads, 63 sectors/track, 65269 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x02020202
>
>
> Disk /dev/dm-4 doesn't contain a valid partition table
>
>
> Disk /dev/dm-5: 429.5 GB, 429490171904 bytes
> 255 heads, 63 sectors/track, 52215 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> (I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x02020202
>
>
> Disk /dev/dm-5 doesn't contain a valid partition table
>
>
>
> Disk /dev/dm-6: 547.6 GB, 547606209024 bytes
> 255 heads, 63 sectors/track, 66575 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x02020202
>
>
> Disk /dev/dm-6 doesn't contain a valid partition table
>
>
> ...hang...
>
>
> # more /etc/multipath.conf
> ...
> multipaths { multipath { wwid  3600601605b502e00f48ded703c86e211 alias mp0s6l31p1 }
> multipath { wwid  3600601605b502e008ce8bab5d25de311 alias mp1s6l93 }
> multipath { wwid 3600601605b502e00e0a9d366eff2e311 alias mp2s6l42 }
> multipath { wwid 3600601605b502e00fc4857d9d496e511 alias mp3s6l34 }
> }
>
>
> # grep s6  /etc/blkid.tab
> <device DEVNO="0x0861" TIME="1468871377" LABEL="s6r0l93p1" UUID="672e479c-8fdc-4c69-8d24-bb7fa6319463"
> TYPE="ocfs2">/dev/sdg1</device>
> <device DEVNO="0x0851" TIME="1468871377" LABEL="s6r3l31p1" UUID="7742c8e0-a792-4cfc-9d5b-02aa4ea1798b"
> TYPE="ocfs2">/dev/sdf1</device>
> <device DEVNO="0x0871" TIME="1468871377" LABEL="s6l42p1" UUID="d451ac65-7b3a-45c2-9dd1-bf01ce21e9f1"
> TYPE="ocfs2">/dev/sdh1</device>
> <device DEVNO="0x0881" TIME="1468871377" LABEL="s6r3l34p1" UUID="47b2fd91-0e6f-4492-a30a-8726db8cea33"
> TYPE="ocfs2">/dev/sdi1</device>
> <device DEVNO="0xfe05" TIME="1468871377" PRI="45" LABEL="s6r0l93p1" UUID="672e479c-8fdc-4c69-8d24-bb7fa6319463"
> TYPE="ocfs2">/dev/mapper/mpath2-part1</device>
> <device DEVNO="0xfe06" TIME="1468871377" PRI="45" LABEL="s6r3l34p1" UUID="47b2fd91-0e6f-4492-a30a-8726db8cea33"
> TYPE="ocfs2">/dev/mapper/mpath5-part1</device>
> <device DEVNO="0xfe04" TIME="1468871377" PRI="45" LABEL="s6r3l31p1" UUID="7742c8e0-a792-4cfc-9d5b-02aa4ea1798b"
> TYPE="ocfs2">/dev/mapper/mpath0-part1</device>
> <device DEVNO="0xfe07" TIME="1468871377" PRI="45" LABEL="s6l42p1" UUID="d451ac65-7b3a-45c2-9dd1-bf01ce21e9f1"
> TYPE="ocfs2">/dev/mapper/mpath4-part1</device>
> <device DEVNO="0x0841" TIME="1468871377" LABEL="s6r3l31p1" UUID="7742c8e0-a792-4cfc-9d5b-02aa4ea1798b"
> TYPE="ocfs2">/dev/sde1</device>
> <device DEVNO="0x08c1" TIME="1468871377" LABEL="s6r0l93p1" UUID="672e479c-8fdc-4c69-8d24-bb7fa6319463"
> TYPE="ocfs2">/dev/sdm1</device>
> <device DEVNO="0x4121" TIME="1468871377" LABEL="s6l42p1" UUID="d451ac65-7b3a-45c2-9dd1-bf01ce21e9f1"
> TYPE="ocfs2">/dev/sds1</device>
> <device DEVNO="0x4131" TIME="1468871377" LABEL="s6r3l34p1" UUID="47b2fd91-0e6f-4492-a30a-8726db8cea33"
> TYPE="ocfs2">/dev/sdt1</device>
>
>
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-users
>
>





More information about the Ocfs2-users mailing list