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

Logical Volume lp's across different PV's 1

Status
Not open for further replies.

bdclk

Technical User
Feb 18, 2004
2
US
I have logical volumes that the lp's are across multiple pv's but want to get them together on specific pv's.

lv has 1 lp on hdisk1 and hdisk4 [hdisk1 and hdisk4 are mirrored to each other] and 82 lp's on hdisk2 and hdisk5 [hdisk2 and hdisk5 are mirrored to each other]. All of these hdisks are in the same volume group.

How would I go about getting all 83 lp's on one set of mirrored disks?
 
If you had enough space, add a third copy of lv on another set of disk, then remove the orginal one.
 
It depends on HOW your LV is spanned along these PV's.
Is it a STRIPED LV?
The physical PPs on the "unwanted" disk are MULTIPLE COPIES of logical partitions.
This LV is only spanned on 2 or more PVs just because of an initial error/decision?
 
I had removed the mirrored copies on the 'unwanted' disks and then added a copy on one of those disks. It created the LV with 83 lp's. But when I went to remove the original one with just 1 lp, the created copy would change to 1 lp. Thats when I asked for the help.

The LV is not striped but mirrored. Hdisk1 is mirrored to Hdisk4 and Hdisk2 is mirrored to Hdisk5. I am trying to clean up our servers and approximately 10% of them have this issue. I have no clue on why these are different than the others but want to correct to keep uniformness across the servers.

The migratepv did the job.

Thanks for all for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top