Product data

Chapter 3. Standalone SCSI rootvg to virtual SCSI 55
On the standalone server
Start by determining the size of the root volume group, then use the migratepv
command to move to a new disk.
1. Obtain the size of the rootvg using the AIX lsvg rootvg command if the
rootvg spans several volumes.
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER:
000fe4010000d9000000012459f83d51
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 546 (139776 megabytes)
MAX LVs: 256 FREE PPs: 509 (130304 megabytes)
LVs: 12 USED PPs: 37 (9472 megabytes)
OPEN LVs: 11 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
#
2. Using the size of the rootvg, create a SAN volume on SAN storage that can
be made accessible to both the standalone client and to the target Virtual I/O
Server. Remember that you only have to use the actual amount of used space
and not the entire allocated amount, which may allow you to reduce the
amount of SAN disk that you provision. Thin Provisioning technologies may
also be beneficial for this purpose.
3. Perform a discovery using the AIX cfgmgr command to ensure that the target
SAN disk becomes available. If you know which fiber port the SAN disk device
is plugged into you can limit the discovery time using the -vl options of the AIX
cfgmgr command:
# cfgmgr -vl fcs0
----------------
attempting to configure device 'fcs0'
Time: 0 LEDS: 0x2603
invoking /usr/lib/methods/cfgefc -l fcs0
Number of running methods: 1
----------------
Completed method for: fcs0, Elapsed time = 0
return code = 0
****************** stdout ***********
fscsi0
****************** no stderr ***********
----------------
Time: 0 LEDS: 0x539