Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Disk and filesystem management

moving lp's to another disk by chelldis
Posted: 15 Jul 08

when u cant immediately add diskspace to a system and cope with full disks a handy thing to do is move logical partions to another disk. as long as the disks are in the same volume group you can do the following:

find out on which disks a LV is residing and what numbers the logical partitions have:

lslv -m /my_lv

LP    PP1  PV1               PP2  PV2               PP3  PV3
0001  0112 hdisk0
0002  0113 hdisk2
0003  0114 hdisk2

under LP is the logical partition number u need
To move lp 0001 from hdisk 0 to hdisk2

migratelp my_lv/1 hdisk0

If your lv is part of a mirror and you also want to move the copy to another disk you have to specify you want to also move its 2nd copy:

migratelp my_lv/1/2 (where 2 is not an lv number but to indicate its the 2nd copy)

More on migratelv can be found here:

Back to IBM: AIX FAQ Index
Back to IBM: AIX Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close