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

How do i use a copied logical volume ?

Status
Not open for further replies.

baderoor

Programmer
May 9, 2000
32
ZA
I made a copy of a logical volume /usr to a new volume group because there is no space available on the old one when i try to increase the space.my question is how can i use the new lv and delete the old one which is /usr ?does anyone have a method on doing this i seem to have run out of ideas.
 
hi&nbsp;&nbsp;baderror,<br>What method&nbsp;&nbsp;used&nbsp;&nbsp;to make copy of /usr;just copy or you have made a mirror<br>copy of /usr filesystem?.If you have made a mirrored filesystem for /usr filesystem it will behave just like a mirror copy i.e whatever changes you made to /usr fs in rootvg these will be reflected to your own made(mirrored) /usr filesystem. In my point of view there are three resonable way to work around the problem of full /usr filesystem:<br>1.Add an another PV to rootvg and then extend /usr filesystem size.<br>2.List all lpps and commit/reject those lpps which are not in consistent state i.e<br>which are in applied state.(man lslpp and installpp)<br>3.Restore mksysb with &quot;shrink filesystem &quot; option. <br>DON'T&nbsp;&nbsp;&nbsp;DELETE /USR FILESYSTEM PRESENT IN ROOTVG...IT MAY CAUSE<br>INCONSISTENT STATE TO YOUR O/S .<br><br>Regds<br><br>Shiraz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
 
Shiraz, <br><br>It wouldn't have been a mirror copy as the new copy is on a different VG.<br><br>Badderoor,<br><br>What you are doing scares the life out of me - Correct me if I am wrong folks,&nbsp;&nbsp;but I beleive /usr MUST be in rootvg (as must /, /home and /var).&nbsp;&nbsp;<br><br>Either:<br>1) reinstall, <br>2) remove some packages, mksysb and then restore shrinking FSs,<br>3) move other stuff from rootvg to anoVG (paging space, dump LV etc.)<br>4) add new disks to rootvg<br><br>Cheers,<br><br><br><br> <p>Stuart McIntyre<br><a href=mailto: > </a><br><a href= > </a><br>
 
Badderoor is right!<br><br>AIX needs /usr filesystem when is booting -exactly at third phase of rc.boot-. You can´t have /usr in another VG different of rootvg.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top