Hi,
I wanted to check if my disks were mirrored, so looking to man pages I found:
To get default mirroring of rootvg, enter:
mirrorvg rootvg
rootvg now has two copies.
I thought this command simply has to tell me if a mirror exists or not but after I ran it, it seems mirroring!
On this system I have rootvg which has assigned 2 disks:
lspv
hdisk0 00c7632f06f1e5fd rootvg active
hdisk1 00c548dc8e83def7 rootvg active
lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 16 32 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 1 2 2 open/syncd /
hd2 jfs2 12 24 2 open/syncd /usr
hd9var jfs2 5 10 2 open/syncd /var
hd3 jfs2 11 22 2 open/syncd /tmp
hd1 jfs2 1 2 2 open/syncd /home
hd10opt jfs2 121 242 2 open/syncd /opt
lg_dumplv sysdump 8 8 1 open/syncd N/A
wasapplv jfs2 16 16 1 open/syncd /usr/WebSphere/AppServer
wasloglv jfs2 2 2 1 open/syncd /usr/WebSphere/AppServer/logs
lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00c548dc00004c000000010a8e83fa56
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 728 (93184 megabytes)
LVs: 12 USED PPs: 364 (46592 megabytes)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: no
MAX PPs per VG: 32512 0
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
Though now it seems mirroring. But I don't understand one thing.
rootvg has 2 disks assigned so since the system wasn't mirrored, the data had to be written to both disks, right?
If this is true now where the system is doing the mirror?
Last thing please. Now I'm letting the command terminate, but what happens tonight when mksysb backup starts. Does a problem occur? Will my backup be consistent?
Thanks in advance. Please advice, very urgent! It's a PROD system.
I wanted to check if my disks were mirrored, so looking to man pages I found:
To get default mirroring of rootvg, enter:
mirrorvg rootvg
rootvg now has two copies.
I thought this command simply has to tell me if a mirror exists or not but after I ran it, it seems mirroring!
On this system I have rootvg which has assigned 2 disks:
lspv
hdisk0 00c7632f06f1e5fd rootvg active
hdisk1 00c548dc8e83def7 rootvg active
lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 16 32 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 1 2 2 open/syncd /
hd2 jfs2 12 24 2 open/syncd /usr
hd9var jfs2 5 10 2 open/syncd /var
hd3 jfs2 11 22 2 open/syncd /tmp
hd1 jfs2 1 2 2 open/syncd /home
hd10opt jfs2 121 242 2 open/syncd /opt
lg_dumplv sysdump 8 8 1 open/syncd N/A
wasapplv jfs2 16 16 1 open/syncd /usr/WebSphere/AppServer
wasloglv jfs2 2 2 1 open/syncd /usr/WebSphere/AppServer/logs
lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00c548dc00004c000000010a8e83fa56
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 728 (93184 megabytes)
LVs: 12 USED PPs: 364 (46592 megabytes)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: no
MAX PPs per VG: 32512 0
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
Though now it seems mirroring. But I don't understand one thing.
rootvg has 2 disks assigned so since the system wasn't mirrored, the data had to be written to both disks, right?
If this is true now where the system is doing the mirror?
Last thing please. Now I'm letting the command terminate, but what happens tonight when mksysb backup starts. Does a problem occur? Will my backup be consistent?
Thanks in advance. Please advice, very urgent! It's a PROD system.