I need to do the migratepv for the rootvg disks of the vio servers ? The current rootvg disks are on DMX3 storage and the new disks will be given from VMAX. Our setup is dual vio servers with multipathing to the vio clients.
What is the command to do the migratepv for the vio rootvg disks ?
Is it the same like # migratepv (source disk hdisk#) (Destination disk hdisk#) or does vio rootvg disks has a separate command for the data to be migrated?
Can you assign new disk without removing old ones ?
Hmm funny why do you need 2 disks assigned from SAN storage
when you are not mirroring the data ?
Another problem is that this is not supported version of VIO serer
I strongly advice to upgrade to more supported version
First small checking paste output of commands
1 .go to privileged mode - because you are probably o padmin user
to gain root access run command oem_setup_env
2. Information about disks sizes bootinfo -s hdisk0; bootinfo -s hdisk2
3. volume group information lsvg rootg
4. check whats on disks lspv -l hdisk0; lspv -l hdisk2
After this you will see if you need 2 disks or just one of them
Before you will start any disruptive commends make mksysb image if you do not know how (simtty mksysb)
To move data to new disks
Assign new disks to VIO server
Run Config Manager to discover them in system (cfgmgr)
Extend the volumegroup extendvg rootvg new_disks
Mirror data to new disks (mirrorvg -s -c2 rootvg new_disks_names)
Sync data between mirrors (syncvg -P 32 -v rootvg)
Remove copy from old disks (unmirrorvg -c1 rootvg hdisk0 hdisk2)
Remove old disks from volume group (reducevg rootvg hdisk0 hdisk2)