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

Rootvg recofiguration

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all<br>I want to know whether i can remove two disks<br>from a three disks containing rootvg(no mirroring).<br>Is qourum restrictions applicable for vg containing non mirrored lvs.<br>Any help would be thankfull<br>San Hayword
 
San,<br><br><b>Don't even think about it.</b><br><br>Go and talk to Call-AiX.<br><br>Get permission to aska Pay As You Go question if you haven't got a software support contract.<br> <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
You can. Imagine this situation:hdisk0 (boot disk 4GB )hdisk1 (data disk 4GB )hdisk2 (data disk 12GB )Now imagine you want to reduce rootvg to hdisk2.1. Migrate the whole /tmp filesystem to hdisk2:<FONT FACE=monospace>migratepv -l hd3 hdisk2</font>2. Get the size of boot logical volume<FONT FACE=monospace>lsvg hd5</font>3. Make sure you have free space on /tmp to put a copy of hd54. Migrate hd5 to hdisk2<FONT FACE=monospace>migratepv -l hd5 hdisk2</font>5. Make sure you have a totally contiguous hd5<FONT FACE=monospace>lsvg -p hdisk2 hd5</font>6. Make your new boot disk bootable<FONT FACE=monospace>bosboot -ad /dev/hdisk2</font>7. Note your dump volume with<FONT FACE=monospace>sysdumpdev -l</font>8. Deactivate your dump volume<FONT FACE=monospace>sysdumpdev -p /dev/sysdumpnull</font>9. Now move all your volumes from hdisk0 to hdisk2<FONT FACE=monospace>migratepv hdisk0 hdisk2</font>10. Now migrate all your volumes from hdisk1 to hdisk2<FONT FACE=monospace>migratepv hdisk1 hdisk2</font>11. Reactivate your dump target<FONT FACE=monospace>sysdumpdev -p /dev/what_was_originally</font>12. Now make your RS/6000 search for hdisk2 when is trying to boot.<FONT FACE=monospace>bootlist -m normal -o hdisk2</font>13. Now reboot your machine...14. If it boots you can reduce your VG.<FONT FACE=monospace>reducevg rootvg hdisk0reducevg rootvg hdisk1</font><b>Notes:</b> May be your machine can't run bootlist, then use your NVRAM menu or your SMS diskette.May be you can't move all your volumes to the selected boot disk, then you'll have to erase something!
 
Elgis - I didn't say it couldn't be done -- just that it probably shouldn't &lt;smile&gt; <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
I don't know why my post was so unreadable! sorry<br><br>You can. Imagine this situation:<br><br>hdisk0 (boot disk 4GB )<br>hdisk1 (data disk 4GB )<br>hdisk2 (data disk 12GB )<br><br>Now imagine you want to reduce rootvg to hdisk2.<br><br>1. Migrate the whole /tmp filesystem to hdisk2:<br><FONT FACE=monospace><br>migratepv -l hd3 hdisk2<br></font><br>2. Get the size of boot logical volume:<br><FONT FACE=monospace><br>lsvg hd5<br></font><br>3. Make sure you have free space on /tmp to put a copy of hd5<br><br>4. Migrate hd5 to hdisk2:<br><FONT FACE=monospace><br>migratepv -l hd5 hdisk2<br></font><br>5. Make sure you have a totally contiguous hd5:<br><FONT FACE=monospace><br>lsvg -p hdisk2 hd5<br></font><br>6. Make your new boot disk bootable:<br><FONT FACE=monospace><br>bosboot -ad /dev/hdisk2<br></font><br>7. Note your dump volume with:<br><FONT FACE=monospace><br>sysdumpdev -l<br></font><br>8. Deactivate your dump volume:<br><FONT FACE=monospace><br>sysdumpdev -p /dev/sysdumpnull<br></font><br>9. Now move all your volumes from hdisk0 to hdisk2<br><FONT FACE=monospace><br>migratepv hdisk0 hdisk2<br></font><br>10. Now migrate all your volumes from hdisk1 to hdisk2:<br><FONT FACE=monospace><br>migratepv hdisk1 hdisk2<br></font><br>11. Reactivate your dump target:<br><FONT FACE=monospace><br>sysdumpdev -p /dev/what_was_originally<br></font><br>12. Now make your RS/6000 search for hdisk2 when is trying to boot:<br><FONT FACE=monospace><br>bootlist -m normal -o hdisk2<br></font><br>13. Now reboot your machine...<br><br>14. If it boots you can reduce your VG:<br><FONT FACE=monospace><br>reducevg rootvg hdisk0<br>reducevg rootvg hdisk1<br></font><br><br><b>Notes:</b> May be your machine can't run bootlist, then use your NVRAM menu or your SMS diskette. May be you can't move all your volumes to the selected boot disk, then you'll have to erase something!
 
hi<br>You can do it without disabling qourum for rootvg b/c if your system lvs are <br>present on first disks(let hdisk0) then that disk may contain two vgda<br>and then other two disks can be removed from rootvg. without deactivating<br>quorum.<br><br>Regds<br><br>Shiraz
 
When you have <b>one</b> disk in a VG you have <b>two</b> VGDAs in that disk.<br><br>When you have <b>two</b> disks in a VG you have <b>two</b> VGDAs in the first disk and <b>one</b> VGDA in the second disk, <i>but</i>, when you have at least <b>three</b> disks in a VG you have <b>only one</b> VGDA in each disk. If you use <FONT FACE=monospace>reducevg</font> to quit disk from a VG, you're reducing the number needed to have quorum in that VG.<br><br>Quorum is to <i>have more than 50% of VGDAs in the VG available</i> at the moment of the <FONT FACE=monospace>varyonvg</font><br><br>I hope it works...<br><br>If you reduce a VG with <FONT FACE=monospace>reducevg</font> then you're reducing the Quorum too...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top