Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mirrored default paging space - hd6

Status
Not open for further replies.

rs6000er

Technical User
Jul 21, 2004
74
0
0
CA
i have another question about the mirrored pagingspace(default hd6)
i mirrored my rootvg from hdisk0 to hdisk1 including default paging space - hd6.
but now i only can see one active paging space - hd6
who can explain that situation? i wonder if i should active anther one?
#lslv -l hd6
hd6:N/A
PV COPIES IN BAND DISTRIBUTION
hdisk0 163:000:000 56% 000:092:071:000:000
hdisk1 163:000:000 45% 007:074:082:000:000
lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 10432MB 36 yes yes lv
on the other hand, my dump device is not the default hd6, so should i mirror my dump device?
 
From the output, I couldn't see a mirror for hd6. However, you don't need mirror pagingspace, that may cause data lost.
Regarding dump device, you need create a mirror for it,thanks.
 
Sorry for a mistake at my prior reply, mirror paging space won't make data lost, but make system performance issue, thanks.
 
hmm.... i'm not sure for performance , but for security is better to mirror paging space if not your system will stop on hd6 disk failure.

bye.
 
actrually, i set the hd6 - MIRROR WRITE CONSISTENCY: off,
so, even though i mirror the hd6, the performance is not affected.
but that is not my question yet.
the important point to me is if i should active both paging space.
#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 163 326 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 1 2 2 open/syncd /
hd2 jfs 40 80 2 open/syncd /usr
hd9var jfs 4 8 2 open/syncd /var
hd3 jfs 4 8 2 open/syncd /tmp
hd1 jfs 10 20 2 open/syncd /home
hd10opt jfs 1 2 2 open/syncd /opt
lg_dumplv sysdump 16 32 2 open/syncd N/A
the lg_dumplv is my primary dump device
#lslv -l hd6
hd6:N/A
PV COPIES IN BAND DISTRIBUTION
hdisk0 163:000:000 56% 000:092:071:000:000
hdisk1 163:000:000 45% 007:074:082:000:000
#lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 10432MB 36 yes yes lv
 
no , because there is only one paging space in your case.

bye.
 
Base from your original question

You mirrored your paging space which from your output is correct. Are you expecting that this will actually double your paging space when you do lsps -a? The answer is no.
Mirroring in LVM is creating additional PP for your LP - mirroring means you have one to one relationship of LP=PP .
mirroring it will either be 1 LP =2PP (using 2 copies) or 1 LP =3PP (using mklv -c 3 copies)

-- hope this helps----

man mklv

-c Copies Sets the number of physical partitions allocated for each logicalpartition. The Copies variable can be set to a value from 1 to 3; the default is 1.
 
that is the information about hd6
lslv hd6
LOGICAL VOLUME: hd6 VOLUME GROUP: rootvg
LV IDENTIFIER: 0000ba5a00004c00000000f43b911b7b.2 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: paging WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 64 megabyte(s)
COPIES: 2 SCHED POLICY: parallel
LPs: 163 PPs: 326
STALE PPs: 0 BB POLICY: non-relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 32
MOUNT POINT: N/A LABEL: None
MIRROR WRITE CONSISTENCY: off
EACH LP COPY ON A SEPARATE PV ?: yes
 
i am confused!
i'd tried to swapon the paging space - hd6, but i got the error message: swapon: Paging device /dev/hd6 is already active.
the belowing is my output about my aix box.
lslv -m hd6
hd6:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0110 hdisk0 0110 hdisk1
0002 0127 hdisk0 0127 hdisk1
0003 0128 hdisk0 0128 hdisk1
0004 0129 hdisk0 0129 hdisk1
0005 0130 hdisk0 0130 hdisk1
0006 0131 hdisk0 0131 hdisk1
0007 0132 hdisk0 0132 hdisk1
0008 0133 hdisk0 0133 hdisk1
0009 0134 hdisk0 0167 hdisk1
0010 0135 hdisk0 0168 hdisk1
0011 0136 hdisk0 0169 hdisk1
0012 0137 hdisk0 0170 hdisk1
0013 0138 hdisk0 0171 hdisk1
0014 0139 hdisk0 0172 hdisk1
0015 0140 hdisk0 0173 hdisk1
.......

lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 10432MB 36 yes yes lv



there is anther output(i copied from aonther posting in this forum)
mawbt101(root)# lslv -m hd6
hd6:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0002 hdisk1 0108 hdisk0
0002 0100 hdisk0 0003 hdisk1
0003 0142 hdisk0 0004 hdisk1
0004 0435 hdisk0 0005 hdisk1
0005 0110 hdisk0 0006 hdisk1
0006 0111 hdisk0 0007 hdisk1
0007 0112 hdisk0 0008 hdisk1
0008 0113 hdisk0 0009 hdisk1
0009 0114 hdisk0 0010 hdisk1
0010 0115 hdisk0 0011 hdisk1
0011 0116 hdisk0 0012 hdisk1
0012 0117 hdisk0 0013 hdisk1
0013 0118 hdisk0 0014 hdisk1
0014 0119 hdisk0 0015 hdisk1
0015 0120 hdisk0 0016 hdisk1
0016 0121 hdisk0 0017 hdisk1
0017 0122 hdisk0 0018 hdisk1
0018 0123 hdisk0 0019 hdisk1
0019 0124 hdisk0 0020 hdisk1
0020 0125 hdisk0 0021 hdisk1
0021 0126 hdisk0 0022 hdisk1
0022 0127 hdisk0 0023 hdisk1
0023 0128 hdisk0 0024 hdisk1
0024 0129 hdisk0 0025 hdisk1
0025 0130 hdisk0 0026 hdisk1
0026 0131 hdisk0 0027 hdisk1
0027 0132 hdisk0 0028 hdisk1
0028 0133 hdisk0 0029 hdisk1
0029 0030 hdisk1 0080 hdisk0
0030 0031 hdisk1 0081 hdisk0
0031 0109 hdisk0 0032 hdisk1
0032 0033 hdisk1 0434 hdisk0
mawbt101(root)# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 896MB 5 yes yes lv
hd6 hdisk1 rootvg 128MB 5 yes yes lv

so i wonder how come the later ouptput showed the actived mirrored hd6.
 
it is possible that somebody mirrored the rootvg and then the guy forgot reboot the server.
 
you don't have any problem.
re-read answers from this post and from the other one.

bye.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top