Los Angeles1
asked on
AIX, LPAR's
I have AIX 7.1, with a SAS drive
I created a LV
and assigned it to the vshost
Now I want to duplicate that create an LPAR identical to e one I just created, How can I do this ?
I created a LV
# mklv -y lpar_lv rootvg 35G
and assigned it to the vshost
$ mkvdev -vdev lpar_lv -vadapter vhost1
Now I want to duplicate that create an LPAR identical to e one I just created, How can I do this ?
ASKER
No I want to create a new LPAR on the same disk.
Can I somehow copy the LV toanother LV, and assign it to a vhost ?
Can I somehow copy the LV toanother LV, and assign it to a vhost ?
You asked this same question before:
https://www.experts-exchange.com/questions/27849703/AIX-and-LPARS.html
and you accepted a solution.
Didn't it work as expected?
https://www.experts-exchange.com/questions/27849703/AIX-and-LPARS.html
and you accepted a solution.
Didn't it work as expected?
ASKER
The document posted bascially said that you can examine your vg, umount the appropriate fs, deactivate the vg, export the vg, then the disk references are removed from the vg.
At this point storage is assigne dto the target LPAR, import it to a new disk, and then check and mount the fs's.
However, my configuration is that I have a single disk, and I assigned my LV directly to my rootvg
I only have a single disk, and can not aquire any others
So what I really want to do is to copy a LV (not a vg) to another LV and attach it to vhost
For instance, in a previous installation I created 4 distinct LPAR's on a SAS and assigned 4 different vshots (this 4 different LPAR's). So instead of copying vg's, I want to copy lv's.
Is this possible as a method of makeing multiple LPAR's
At this point storage is assigne dto the target LPAR, import it to a new disk, and then check and mount the fs's.
lsvgfs sparevg
umount /scratch
varyoffvg sparevg
exportvg sparevg
rmdev -d -l hdisk1
(Reboot LPAR)
importvg -y sparevg hdisk1
fsck /scratch
mount /scratch
However, my configuration is that I have a single disk, and I assigned my LV directly to my rootvg
# lsvg
rootvg
#
# lspv
hdisk0 000f10cacbdb2a6a rootvg active
#
I only have a single disk, and can not aquire any others
So what I really want to do is to copy a LV (not a vg) to another LV and attach it to vhost
For instance, in a previous installation I created 4 distinct LPAR's on a SAS and assigned 4 different vshots (this 4 different LPAR's). So instead of copying vg's, I want to copy lv's.
Is this possible as a method of makeing multiple LPAR's
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Actually I missed that. I think I accepted the solution before I saw your post.
The answer looks great. I will give it a try
Thanks for your help
The answer looks great. I will give it a try
Thanks for your help
ASKER
Actually I missed that. I think I accepted the solution before I saw your post.
The answer looks great. I will give it a try
Thanks for your help
The answer looks great. I will give it a try
Thanks for your help
Do you mean Cloning the LPAR disk? If it is the case please follow the isntructions here:
http://oss.gonicus.de/openpower/index.php/Cloning_partition_on_IBM_VIO_server
cheers,
K: