LINUX.ORG.RU
ФорумAdmin

multipath и тома

 , , , rdm


0

1

Есть сервер, есть SAN HP EVA P4000 с двумя контроллерами HP HSV300. Сервер и SAN видят друг друга по оптике через FC-свитч. На сервере раньше был установлен ESX 3, пропал один том, который был предоставлен виртуалке через RDM (Map RAW LUN), при том, что виртуалки с других серверов этот том продолжают видеть. Мигрируем плавно на kvm. Multipathd тома презентованные ему видит, алиасы назначил через multipathd.conf

capetown ~ # ls -la /dev/mapper/
total 0
drwxr-xr-x  2 root root      380 Dec 10 10:38 .
drwxr-xr-x 13 root root    12380 Dec 10 10:38 ..
brw-------  1 root root 253,   2 Dec 10 10:38 1CV77
brw-------  1 root root 253,  11 Dec 10 10:38 1CV77LOG
brw-------  1 root root 253,   3 Dec 10 10:38 1CV81
brw-------  1 root root 253,  12 Dec 10 10:38 1CV81LOG
brw-------  1 root root 253,   6 Dec 10 10:38 3600508b4000c20fa0001200000480000
brw-------  1 root root 253,   7 Dec 10 10:38 3600508b4000c20fa00012000017a0000
brw-------  1 root root 253,   8 Dec 10 10:38 3600508b4000c20fa00012000020c0000
brw-------  1 root root 253,   4 Dec 10 10:38 CON81
brw-------  1 root root 253,  13 Dec 10 10:38 CON81LOG
brw-------  1 root root 253,   5 Dec 10 10:38 REG81
brw-------  1 root root 253,  14 Dec 10 10:38 REG81LOG
brw-------  1 root root 253,  15 Dec 10 10:38 VD1CV77
brw-------  1 root root 253,  10 Dec 10 10:38 VD1CV81
brw-------  1 root root 253,   9 Dec 10 10:38 VDCON81
crw-------  1 root root  10, 236 Dec 10  2012 control
brw-------  1 root root 253,   1 Dec 10 10:38 quorum
brw-------  1 root root 253,   0 Dec 10 10:38 sdb
capetown ~ # ls -la /dev/dm*
brw-rw---- 1 root disk 253,  0 Dec 10 10:38 /dev/dm-0
brw-rw---- 1 root disk 253,  1 Dec 10 10:39 /dev/dm-1
brw-rw---- 1 root disk 253, 10 Dec 10 10:39 /dev/dm-10
brw-rw---- 1 root disk 253, 11 Dec 10 10:39 /dev/dm-11
brw-rw---- 1 root disk 253, 12 Dec 10 10:39 /dev/dm-12
brw-rw---- 1 root disk 253, 13 Dec 10 10:39 /dev/dm-13
brw-rw---- 1 root disk 253, 14 Dec 10 10:39 /dev/dm-14
brw-rw---- 1 root disk 253, 15 Dec 10 10:39 /dev/dm-15
brw-rw---- 1 root disk 253,  2 Dec 10 10:39 /dev/dm-2
brw-rw---- 1 root disk 253,  3 Dec 10 10:39 /dev/dm-3
brw-rw---- 1 root disk 253,  4 Dec 10 10:39 /dev/dm-4
brw-rw---- 1 root disk 253,  5 Dec 10 10:39 /dev/dm-5
brw-rw---- 1 root disk 253,  6 Dec 10 10:38 /dev/dm-6
brw-rw---- 1 root disk 253,  7 Dec 10 10:38 /dev/dm-7
brw-rw---- 1 root disk 253,  8 Dec 10 10:38 /dev/dm-8
brw-rw---- 1 root disk 253,  9 Dec 10 10:39 /dev/dm-9
multipah -ll -v2
capetown ~ # multipath -ll -v2
sdq: checker msg is "directio checker reports path is down"
sdaf: checker msg is "directio checker reports path is down"
sdbj: checker msg is "directio checker reports path is down"
sdau: checker msg is "directio checker reports path is down"
sdcn: checker msg is "directio checker reports path is down"
sddc: checker msg is "directio checker reports path is down"
sdby: checker msg is "directio checker reports path is down"
sddr: checker msg is "directio checker reports path is down"
VD1CV77 (3600508b4000c20fa0001200003930000) dm-15 ,
[size=1.8T][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdq  65:0   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdaf 65:240 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbj 67:208 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdau 66:224 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcn 69:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddc 70:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdby 68:192 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddr 71:144 [failed][faulty]
3600508b4000c20fa00012000020c0000dm-8 ,
[size=2.0T][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ #:#:#:# sdj  8:144  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdy  65:128 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdan 66:112 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdbc 67:96  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdcg 69:64  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdbr 68:80  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sddk 71:32  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdcv 70:48  [active][ready]
sdn: checker msg is "directio checker reports path is down"
sdac: checker msg is "directio checker reports path is down"
sdbg: checker msg is "directio checker reports path is down"
sdar: checker msg is "directio checker reports path is down"
sdck: checker msg is "directio checker reports path is down"
sdbv: checker msg is "directio checker reports path is down"
sddo: checker msg is "directio checker reports path is down"
sdcz: checker msg is "directio checker reports path is down"
1CV81LOG (3600508b4000c20fa0001200002080000) dm-12 ,
[size=300G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdn  8:208  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdac 65:192 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbg 67:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdar 66:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdck 69:128 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbv 68:144 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddo 71:96  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcz 70:112 [failed][faulty]
sdg: checker msg is "directio checker reports path is down"
sdv: checker msg is "directio checker reports path is down"
sdak: checker msg is "directio checker reports path is down"
sdbo: checker msg is "directio checker reports path is down"
sdcd: checker msg is "directio checker reports path is down"
sdaz: checker msg is "directio checker reports path is down"
sddh: checker msg is "directio checker reports path is down"
sdcs: checker msg is "directio checker reports path is down"
REG81 (3600508b4000c20fa0001200000280000) dm-5 ,
[size=500G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdg  8:96   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdv  65:80  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdak 66:64  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbo 68:32  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcd 69:16  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdaz 67:48  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddh 70:240 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcs 70:0   [failed][faulty]
sdc: checker msg is "directio checker reports path is down"
sdr: checker msg is "directio checker reports path is down"
sdag: checker msg is "directio checker reports path is down"
sdbk: checker msg is "directio checker reports path is down"
sdav: checker msg is "directio checker reports path is down"
sdco: checker msg is "directio checker reports path is down"
sddd: checker msg is "directio checker reports path is down"
sdbz: checker msg is "directio checker reports path is down"
quorum (3600508b4000c20fa0001200000180000) dm-1 ,
[size=1.0G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdc  8:32   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdr  65:16  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdag 66:0   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbk 67:224 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdav 66:240 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdco 69:192 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddd 70:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbz 68:208 [failed][faulty]
3600508b4000c20fa00012000017a0000dm-7 ,
[size=2.0T][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ #:#:#:# sdi  8:128  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdx  65:112 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdam 66:96  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdbb 67:80  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdcf 69:48  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdbq 68:64  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sddj 71:16  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdcu 70:32  [active][ready]
sdm: checker msg is "directio checker reports path is down"
sdab: checker msg is "directio checker reports path is down"
sdbf: checker msg is "directio checker reports path is down"
sdaq: checker msg is "directio checker reports path is down"
sdcj: checker msg is "directio checker reports path is down"
sdbu: checker msg is "directio checker reports path is down"
sddn: checker msg is "directio checker reports path is down"
sdcy: checker msg is "directio checker reports path is down"
1CV77LOG (3600508b4000c20fa0001200001f80000) dm-11 ,
[size=200G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdm  8:192  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdab 65:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbf 67:144 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdaq 66:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcj 69:112 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbu 68:128 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddn 71:80  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcy 70:96  [failed][faulty]
sdf: checker msg is "directio checker reports path is down"
sdu: checker msg is "directio checker reports path is down"
sdaj: checker msg is "directio checker reports path is down"
sdbn: checker msg is "directio checker reports path is down"
sdcc: checker msg is "directio checker reports path is down"
sday: checker msg is "directio checker reports path is down"
sddg: checker msg is "directio checker reports path is down"
sdcr: checker msg is "directio checker reports path is down"
CON81 (3600508b4000c20fa0001200000240000) dm-4 ,
[size=300G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdf  8:80   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdu  65:64  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdaj 66:48  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbn 68:16  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcc 69:0   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sday 67:32  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddg 70:224 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcr 69:240 [failed][faulty]
sdp: checker msg is "directio checker reports path is down"
sdae: checker msg is "directio checker reports path is down"
sdbi: checker msg is "directio checker reports path is down"
sdat: checker msg is "directio checker reports path is down"
sdcm: checker msg is "directio checker reports path is down"
sddb: checker msg is "directio checker reports path is down"
sdbx: checker msg is "directio checker reports path is down"
sddq: checker msg is "directio checker reports path is down"
REG81LOG (3600508b4000c20fa0001200002040000) dm-14 ,
[size=500G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdp  8:240  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdae 65:224 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbi 67:192 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdat 66:208 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcm 69:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddb 70:144 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbx 68:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddq 71:128 [failed][faulty]
3600508b4000c20fa0001200000480000dm-6 ,
[size=250G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ #:#:#:# sdh  8:112  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdw  65:96  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdal 66:80  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdba 67:64  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdce 69:32  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdbp 68:48  [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sddi 71:0   [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ #:#:#:# sdct 70:16  [active][ready]
sdk: checker msg is "directio checker reports path is down"
sdz: checker msg is "directio checker reports path is down"
sdao: checker msg is "directio checker reports path is down"
sdbd: checker msg is "directio checker reports path is down"
sdch: checker msg is "directio checker reports path is down"
sdbs: checker msg is "directio checker reports path is down"
sddl: checker msg is "directio checker reports path is down"
sdcw: checker msg is "directio checker reports path is down"
VDCON81 (3600508b4000c20fa00012000039b0000) dm-9 ,
[size=1.8T][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdk  8:160  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdz  65:144 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdao 66:128 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbd 67:112 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdch 69:80  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbs 68:96  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddl 71:48  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcw 70:64  [failed][faulty]
sde: checker msg is "directio checker reports path is down"
sdt: checker msg is "directio checker reports path is down"
sdai: checker msg is "directio checker reports path is down"
sdbm: checker msg is "directio checker reports path is down"
sdcb: checker msg is "directio checker reports path is down"
sdax: checker msg is "directio checker reports path is down"
sddf: checker msg is "directio checker reports path is down"
sdcq: checker msg is "directio checker reports path is down"
1CV81 (3600508b4000c20fa0001200000200000) dm-3 ,
[size=300G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sde  8:64   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdt  65:48  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdai 66:32  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbm 68:0   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcb 68:240 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdax 67:16  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddf 70:208 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcq 69:224 [failed][faulty]
sdb (360015172263c80000e0bc2e7c7b448de) dm-0 ,
[size=272G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=1][active]
 \_ #:#:#:# sdb  8:16   [active][ready]
sdl: checker msg is "directio checker reports path is down"
sdaa: checker msg is "directio checker reports path is down"
sdbe: checker msg is "directio checker reports path is down"
sdap: checker msg is "directio checker reports path is down"
sdci: checker msg is "directio checker reports path is down"
sdbt: checker msg is "directio checker reports path is down"
sddm: checker msg is "directio checker reports path is down"
sdcx: checker msg is "directio checker reports path is down"
VD1CV81 (3600508b4000c20fa0001200003970000) dm-10 ,
[size=1.8T][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdl  8:176  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdaa 65:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbe 67:128 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdap 66:144 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdci 69:96  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbt 68:112 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddm 71:64  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcx 70:80  [failed][faulty]
sdd: checker msg is "directio checker reports path is down"
sds: checker msg is "directio checker reports path is down"
sdah: checker msg is "directio checker reports path is down"
sdbl: checker msg is "directio checker reports path is down"
sdca: checker msg is "directio checker reports path is down"
sdaw: checker msg is "directio checker reports path is down"
sdde: checker msg is "directio checker reports path is down"
sdcp: checker msg is "directio checker reports path is down"
1CV77 (3600508b4000c20fa00012000001c0000) dm-2 ,
[size=200G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdd  8:48   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sds  65:32  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdah 66:16  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbl 67:240 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdca 68:224 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdaw 67:0   [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdde 70:192 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcp 69:208 [failed][faulty]
sdo: checker msg is "directio checker reports path is down"
sdad: checker msg is "directio checker reports path is down"
sdbh: checker msg is "directio checker reports path is down"
sdas: checker msg is "directio checker reports path is down"
sdcl: checker msg is "directio checker reports path is down"
sdda: checker msg is "directio checker reports path is down"
sdbw: checker msg is "directio checker reports path is down"
sddp: checker msg is "directio checker reports path is down"
CON81LOG (3600508b4000c20fa0001200002000000) dm-13 ,
[size=300G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdo  8:224  [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdad 65:208 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbh 67:176 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdas 66:192 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdcl 69:144 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdda 70:128 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sdbw 68:160 [failed][faulty]
\_ round-robin 0 [prio=0][enabled]
 \_ #:#:#:# sddp 71:112 [failed][faulty]
При попытке сделать fdisk -l /dev/dm-1 либо fdisk -l /dev/mapper/quorum - все зависает, лечится полной перезагрузкой. Том сейчас примонтирован к одной из виртуалок. Собственно суть вопроса - как к виртуалке примапить том, не давая при этом монопольного доступа. В ESX это решалось через Map RAW LUN. В конфиге qemu пишу так:
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/mapper/quorum'/>
      <target dev='vdb' bus='virtio'/>
Вот это постоянно сыпется в messages:
capetown ~ # tail -f /var/log/messages
Dec 10 10:55:40 localhost kernel: sd 5:0:3:12: [sdbf]  
Dec 10 10:55:40 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:40 localhost kernel: sd 5:0:3:12: [sdbf] CDB: 
Dec 10 10:55:40 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:40 localhost kernel: sd 5:0:3:13: reservation conflict
Dec 10 10:55:40 localhost kernel: sd 5:0:3:13: [sdbg] Unhandled error code
Dec 10 10:55:40 localhost kernel: sd 5:0:3:13: [sdbg]  
Dec 10 10:55:40 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:40 localhost kernel: sd 5:0:3:13: [sdbg] CDB: 
Dec 10 10:55:40 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:42 localhost kernel: sd 5:0:0:1: reservation conflict
Dec 10 10:55:42 localhost kernel: sd 5:0:0:1: [sdc] Unhandled error code
Dec 10 10:55:42 localhost kernel: sd 5:0:0:1: [sdc]  
Dec 10 10:55:42 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:42 localhost kernel: sd 5:0:0:1: [sdc] CDB: 
Dec 10 10:55:42 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:42 localhost multipathd: sdc: directio checker reports path is down
Dec 10 10:55:42 localhost multipathd: sdd: directio checker reports path is down
Dec 10 10:55:42 localhost kernel: sd 5:0:0:2: reservation conflict
Dec 10 10:55:42 localhost kernel: sd 5:0:0:2: [sdd] Unhandled error code
Dec 10 10:55:42 localhost kernel: sd 5:0:0:2: [sdd]  
Dec 10 10:55:42 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:42 localhost kernel: sd 5:0:0:2: [sdd] CDB: 
Dec 10 10:55:42 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:42 localhost kernel: sd 5:0:0:3: reservation conflict
Dec 10 10:55:42 localhost kernel: sd 5:0:0:3: [sde] Unhandled error code
Dec 10 10:55:42 localhost kernel: sd 5:0:0:3: [sde]  
Dec 10 10:55:42 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:42 localhost multipathd: sde: directio checker reports path is down
Dec 10 10:55:42 localhost multipathd: sdf: directio checker reports path is down
Dec 10 10:55:42 localhost multipathd: sdg: directio checker reports path is down
Dec 10 10:55:42 localhost multipathd: sdk: directio checker reports path is down
Dec 10 10:55:42 localhost kernel: sd 5:0:0:3: [sde] CDB: 
Dec 10 10:55:42 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:42 localhost kernel: sd 5:0:0:4: reservation conflict
Dec 10 10:55:42 localhost kernel: sd 5:0:0:4: [sdf] Unhandled error code
Dec 10 10:55:42 localhost kernel: sd 5:0:0:4: [sdf]  
Dec 10 10:55:42 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:42 localhost kernel: sd 5:0:0:4: [sdf] CDB: 
Dec 10 10:55:42 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:42 localhost kernel: sd 5:0:0:5: reservation conflict
Dec 10 10:55:42 localhost kernel: sd 5:0:0:5: [sdg] Unhandled error code
Dec 10 10:55:42 localhost kernel: sd 5:0:0:5: [sdg]  
Dec 10 10:55:42 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:42 localhost kernel: sd 5:0:0:5: [sdg] CDB: 
Dec 10 10:55:42 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Dec 10 10:55:42 localhost kernel: sd 5:0:0:10: reservation conflict
Dec 10 10:55:42 localhost kernel: sd 5:0:0:10: [sdk] Unhandled error code
Dec 10 10:55:42 localhost kernel: sd 5:0:0:10: [sdk]  
Dec 10 10:55:42 localhost kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Dec 10 10:55:42 localhost kernel: sd 5:0:0:10: [sdk] CDB: 
Dec 10 10:55:42 localhost kernel: Read(10): 28 00 00 00 00 00 00 00 08 00
Это нормально или проблемы в аппаратной части?

★★

Последнее исправление: cetjs2 (всего исправлений: 1)

Сделал так:

<disk type='block' device='lun'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/mapper/quorum'/>
      <target dev='sda' bus='virtio'/>
</disk>
Все равно виртуалка не запускается, видимо пытается получить монопольный доступ к тому.

Fletch ★★
() автор топика

Да, аппаратная часть:

07:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
09:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)

Fletch ★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.