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!

VIO - moving disk between hosts

Status
Not open for further replies.

aixTim

MIS
Jun 19, 2002
32
NL
Hi,

I'm looking to move 2 Virtual SCSI disks mapped as LVs, 1 from each of my 2 VIO servers, to a new host.
If I remove the virtual target device mappings from host1:

rmvdev -vtd vtemp1

and then map them to the new host2 (vhost2):

mkvdev -vdev temp1 -vadapter vhost2 -dev vtemp1

Repeat for the second VIO server,then run cfgmgr on host2 I should see the disks or am I missing something?
 
If the VIO-client already has the vscsi adapters configured and they show "Available" in lsdev, then there's no change necessary on the HMCs. So the HMC doen't come into play, Khalid.

AixTim, you should be allright:

rmdev the device on the VIO-client that has the disk now
(rmdev -dl hdiskX)

rmdev the vtscsi device on both VIO servers
(rmdev -dev vtscsiY)

mkdev the vtscsi device on both servers for the new vhost - the one mapped to a vscsi adapter on the target VIO-client
(mkdev -vdev lvZZ -vadapter vhostN -dev vtWhatever)

cfgmgr on the target VIO-client
(cfgmgr)



HTH,

p5wizard
 
It looks OK to me....however I suppose it depends on your objective. Are you just trying to get more space on the new target?

 
Thanks p5, both clients have other vSCSI disks which are not moving so it is just a change in mapping.

Shame there is no chvdev ;-)
 
hfaix, It is a tidy-up exercise to get back to an original config, this disk having been borrowed and now no longer required.
 
OMG

I just read the question again! Thanks p5 for your comment

The link i just posted is nice if you want to review the steps! But i guess p5 clarified it already :)

Regards,
Khalid
 
aixtim said:
Shame there is no chvdev

There is a force option (-f) on mkvdev which will reuse the backend LV or hdisk, but I don't use that option, as it is way too dangerous for my error-prone typing abilities.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top