assistunix
asked on
remove unmap disks from vio for vio client lpar in aix
Hello i am decommissioning an lpar
i have shutdown the lpar, now i need to unmap the disks to that lpar.
can someone tell me how i can unmap from vio for a vio client?
also how to remove vhost from vio?
Given that the lpar is down, do i need to delete the disk from lpar before unmapping it on vio?
i have shutdown the lpar, now i need to unmap the disks to that lpar.
can someone tell me how i can unmap from vio for a vio client?
also how to remove vhost from vio?
Given that the lpar is down, do i need to delete the disk from lpar before unmapping it on vio?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, thank you for that clarification.
Can you guide me in how to remove the Virtual SCSI host adapter definition from the VIO LPAR (using HMC) - do i go to VIO manage profile settings or LPAR profile manage profile setting ?
Can you guide me in how to remove the Virtual SCSI host adapter definition from the VIO LPAR (using HMC) - do i go to VIO manage profile settings or LPAR profile manage profile setting ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you
ASKER
Thank you for your quick response, it was very clear and easy to understand as always.
However i am just curious for the following.
Please confirm if following is right.
Three ways to unmap the disk to lpar client.
1.
rmvdev -vdev Backing device -f
f flag is equivalent to rmvdev -vtd vtscsiXX ??
2.
if i chose to not use f flag, than would i have to use both commands to unmap the disk?
rmvdev -vdev Backing device
rmvdev -vtd vtscsiXX
3.
if i use rmvdev -vtd vtscsiXX first, would i still need to run rmvdev -vdev Backing device afterwards to complete the unmapping process or would removal of VTD automatically remove backing device settings as well.
Also, can i skip the part of removing disk from os(vio), if i plan on keeping the disk within vio.
and just remove vhost after removing vtd/backend for that hdisk
Lastly, would i still have to remove the host adapter definition from the VIO LPAR within HMC, even if i am planning on removing the LPAR Profile in itself.
Thanks, Once Again. Hope you have a good weekend.