Product data

138 PowerVM Migration from Physical to Virtual Storage
On the source partition
The following series of commands show us the pre-migration state of the source
virtual SCSI partition.
1. The first lspv command displays only the disks that are relevant for this
exercise and shows us that the partition was booted from rootvg on hdisk8
and the data volume group is datasrcvg on hdisk9.
# lspv | grep active
hdisk8 000fe4117e88efc0 rootvg active
hdisk9 000fe41181e1734c datasrcvg active
2. The lsdev commands show us that the parent adapter for our two disks are
both virtual SCSI adapters and that our disks are virtual SCSI disks:
# lsdev -l hdisk8 -F parent
vscsi2
# lsdev -l hdisk9 -F parent
vscsi3
# lsdev -l hdisk8
hdisk8 Available Virtual SCSI Disk Drive
# lsdev -l hdisk9
hdisk9 Available Virtual SCSI Disk Drive
The commands that follow are used to gather information about the source
partition’s disks that will be needed when the migration is complete for
validation of the migration.
3. The df command shows us that /data should be mounted on this host and the
ls command shows us a data file on this source host. Finally, the tail
command shows us the last two lines of the /etc/hosts file.
# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 196608 29468 86% 13315 63% /
/dev/hd2 1966080 128204 94% 38267 54% /usr
/dev/hd9var 376832 128272 66% 7128 20% /var
/dev/hd3 147456 130732 12% 40 1% /tmp
/dev/hd1 16384 16032 3% 5 1% /home
/dev/hd11admin 131072 130708 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 409600 122912 70% 8450 24% /opt
/dev/livedump 262144 261776 1% 4 1%
/var/adm/ras/livedump
/dev/fslv00 2097152 2096504 1% 5 1% /data
# cd /data
# ls -l
total 0
drwxr-xr-x 2 root system 256 Oct 23 09:53 lost+found
-rw-r--r-- 1 root system 0 Nov 28 2010
migrate_vSCSI_to_vFC.sig