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!

Rootvg – migratepv to larger disk

Status
Not open for further replies.

AIXtexas

Technical User
Feb 5, 2002
80
US
I have an H70 with two internal disks (hdisk0 and hdisk1) which house the AIX OS. The two disks are mirrored, that is, hdisk1 is a mirror of hdisk0. Both disks are in the bootlist, so the server will boot should one fail. The problem I ran into over the weekend was that when I tried breaking the mirrors between the two disks, it wouldn’t let me. It turns out that all root LV’s are on hdisk0 as expected, however, hd10opt (/opt) resides on hdisk1. When I tried to migratepv hd10opt to hdisk0, the command failed because the disk does not have enough space. So, I ordered two larger disks (one for the OS and the other to mirror the OS) to place in the server to house the OS. My question is what is the best method to move the OS to the larger newer disk… migratepv?

Thanks,
Shane
 
one way, at a high level:

- backup /opt, unmount, and remove it. is this possible? not sure since i've never tried it, but nmormally you just have rpms in there.

- then remove hdisk1 from rootvg and replace it with one of the new drives

- migrate over to hdisk1

- remove hdisk0 from rootvg

- replace old hdisk0 with the other new drive and rebuild and restore /opt

- re-mirror

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top