I have an F80 with an external 2104-TU3 disk subsystem with 4 disks striped
(hdisk3 - hdisk6) and mirrored (to hdisk7 - hdisk10). Disk and lv layout is as follow:
lsvg -l sharedvg
sharedvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lv00 jfs 80 160 8 open/syncd /usr53
loglv00 jfslog 1 1 1 open/syncd N/A
lv03 jfs 56 112 8 open/syncd /usr3
lv04 jfs 76 152 8 open/syncd /usr5
lv05 jfs 80 160 8 open/syncd /usr54
lv06 jfs 200 400 8 open/syncd /usr4
Starting with the 4 disks in the mirror:
root in / =>lspv -l hdisk7
hdisk7:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lspv -l hdisk8
hdisk8:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lspv -l hdisk9
hdisk9:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lspv -l hdisk10
hdisk10:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lv lv06
LOGICAL VOLUME: lv06 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.6 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 200 PPs: 400
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: edge UPPER BOUND: 4
MOUNT POINT: /usr4 LABEL: /usr4
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv03
LOGICAL VOLUME: lv03 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.3 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 56 PPs: 112
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: middle UPPER BOUND: 4
MOUNT POINT: /usr3 LABEL: /usr3
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv04
LOGICAL VOLUME: lv04 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.4 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 76 PPs: 152
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: middle UPPER BOUND: 4
MOUNT POINT: /usr5 LABEL: /usr5
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv05
LOGICAL VOLUME: lv05 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.5 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 80 PPs: 160
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: middle UPPER BOUND: 4
MOUNT POINT: /usr54 LABEL: /usr54
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv00
LOGICAL VOLUME: lv00 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 80 PPs: 160
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: center UPPER BOUND: 4
MOUNT POINT: /usr53 LABEL: /usr53
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
hdisk7 is logging disk errors. My question is: how do I handle the unmirroring?
I know that because there are striped logical volumes I can't use migratepv.
Do I need to rmlvcopy all the logical volumes on hdisk7 through hdisk10,
replace the disk and re-mirror? I am confused. I have the AIX LVM redbook
(which is what I used to setup the stripe and mirror) but it is not clear to
me how to break the mirror and replace a bad disk. I appreciate any help!
Thank you.
Tom
(hdisk3 - hdisk6) and mirrored (to hdisk7 - hdisk10). Disk and lv layout is as follow:
lsvg -l sharedvg
sharedvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lv00 jfs 80 160 8 open/syncd /usr53
loglv00 jfslog 1 1 1 open/syncd N/A
lv03 jfs 56 112 8 open/syncd /usr3
lv04 jfs 76 152 8 open/syncd /usr5
lv05 jfs 80 160 8 open/syncd /usr54
lv06 jfs 200 400 8 open/syncd /usr4
Starting with the 4 disks in the mirror:
root in / =>lspv -l hdisk7
hdisk7:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lspv -l hdisk8
hdisk8:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lspv -l hdisk9
hdisk9:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lspv -l hdisk10
hdisk10:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lv06 50 50 50..00..00..00..00 /usr4
lv03 14 14 00..14..00..00..00 /usr3
lv04 19 19 00..19..00..00..00 /usr5
lv05 20 20 00..20..00..00..00 /usr54
lv00 20 20 00..00..20..00..00 /usr53
root in / =>lv lv06
LOGICAL VOLUME: lv06 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.6 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 200 PPs: 400
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: edge UPPER BOUND: 4
MOUNT POINT: /usr4 LABEL: /usr4
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv03
LOGICAL VOLUME: lv03 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.3 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 56 PPs: 112
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: middle UPPER BOUND: 4
MOUNT POINT: /usr3 LABEL: /usr3
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv04
LOGICAL VOLUME: lv04 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.4 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 76 PPs: 152
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: middle UPPER BOUND: 4
MOUNT POINT: /usr5 LABEL: /usr5
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv05
LOGICAL VOLUME: lv05 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.5 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 80 PPs: 160
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: middle UPPER BOUND: 4
MOUNT POINT: /usr54 LABEL: /usr54
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
root in / =>lslv lv00
LOGICAL VOLUME: lv00 VOLUME GROUP: sharedvg
LV IDENTIFIER: 000fa9ddd58f33e2.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 2048 PP SIZE: 32 megabyte(s)
COPIES: 2 SCHED POLICY: striped
LPs: 80 PPs: 160
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: maximum RELOCATABLE: no
INTRA-POLICY: center UPPER BOUND: 4
MOUNT POINT: /usr53 LABEL: /usr53
MIRROR WRITE CONSISTENCY: on
EACH LP COPY ON A SEPARATE PV ?: yes
STRIPE WIDTH: 4
STRIPE SIZE: 64K
hdisk7 is logging disk errors. My question is: how do I handle the unmirroring?
I know that because there are striped logical volumes I can't use migratepv.
Do I need to rmlvcopy all the logical volumes on hdisk7 through hdisk10,
replace the disk and re-mirror? I am confused. I have the AIX LVM redbook
(which is what I used to setup the stripe and mirror) but it is not clear to
me how to break the mirror and replace a bad disk. I appreciate any help!
Thank you.
Tom