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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VI/O server : adding new disk to a vritual LPAR need help

Status
Not open for further replies.

oliverbeat

Technical User
Sep 3, 2004
86
NZ
Hi,

I have 2 vio servers and I created a virtual LPAR 2 weeks ago with 2 virtual disks (mirrored and configured on the 2 vio servers ). Now they want more disks.
So I create 2 new disks unit on my 2 vio servers for my partition.
I connect and run cfgmgr on my virtual partition I see the new 2 hdisks.
I add them to my volume group
# lsvg -p vg000
vg000:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk1 active 159 152 32..25..31..32..32
hdisk4 active 159 152 32..25..31..32..32
hdisk6 active 63 63 13..13..12..12..13
hdisk7 active 63 63 13..13..12..12..13

To be sure that my vg will be mirrored correctly (if I lose one vio sever), should I must rerun a mirrorvg on all hdisk ?
# mirrorvg vg000 hdisk1 hdisk4 hdisk6 hdisk7
Probably it's a stupid question but it is better to have a clear answer instead of doubting ...
Thanks in advance
 
yeah, probably a good idea to just remirror the entire vg whether it's on a vio server or not.
 
The volume group vg000 is on the partition not on the vio server.
I define 2 ne LV on the vio server and run a cfgmgr on the partition and see my 2 new hdisk (hdisk6 and hdisk7).
I extend my vg vg000 (on the partition) and add the 2 hdisks.
I had a filesystem on the vg000 and when I added the disk I increase the filesystem.
I cannot do a mirrorvg I had an error message saying it cannot perform the mirror there is no lv ... but there is a lv and filesystem mounted ...
I tried command on line and by smitty but the same message.

I did a test to see if I stop one vio if my vg will be still available:
On the partition I have rootvg, vg000 and vg001
When I stopped one vio server:
I can see rootvg, vg001 but vg000 I had the following message:
# lsvg -l vg000
0516-034 : Failed to open VG special file. Probable causeis the VG was forced offline. Execute the varyoffvg and varyonvgcomma

So now I am sure that I need to do something after adding the new disk, redo the mirror but I dopn't how to do it as it was failed...

# lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 575 331 101..00..00..115..115
hdisk3 missing 575 575 115..115..115..115..115

lsvg -p vg001
vg001:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 31 25 07..00..06..06..06
hdisk5 active 31 25 07..00..06..06..06

# lsvg -p vg000
0516-034 : Failed to open VG special file. Probable causeis the VG was forced offline. Execute the varyoffvg and varyonvgcommands to bring the VG online.

So if you have any idea ?
Thanks in advance
 
Hi

Are you sure that your disks hdisk6 and hdisk7 are not on the same VIO Server ???
It looks so, because the two disks in vg001 are both online.
Check with lspv on vio and LPAR your PVIDs to identify which disk is on which vio server

 
hi

try first varyonvg -f (looks like quorum closed your vg. when setting quorum off, you need to deactivate and activate your vg to make your change active).

your mirroring problem: you have 4 disks in your vg. mirrorvg doesn't know wich disks on vio1 and wich on vio2 - mirrorvg checks only that your pps on different disks, but checks no sites.

an easy way to keep site strictness in your environment is using a dummylv on hdisk1 and hdisk4 to fulfill all pps. after this you can extend your mirrorvg lv to the disks 6+7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top