Facing issue while Restoring /image.data from mksysb image in aix?
Facing issue while Restoring /image.data from mksysb image in aix
testnim# alt_disk_mksysb -m testserver.mksysb -d hdisk3
Restoring /image.data from mksysb image.
checking disk sizes
0505-111 alt_disk_install: There is not enough disk space on target
disks specified.
Total disk space required is 67072 megabytes and target
disk space is only 34175 megabytes.
testnim#
(or)
testnim# alt_disk_mksysb -m testserver.mksysb -d hdisk3
Restoring /image.data from mksysb image.
checking disk sizes
creating cloned rootvg volume group and associated logical volumes.
Creating logical volume alt_hd5
0516-404 allocp: This system cannot fulfill the allocatioin request.
There are not enough free partitions or not enough physical volumes to keep restrictness and satisfy allocation requests.
The command should be retried with different allocaiton characteristics.
0516-822 mklv: unable to create logical volume.
0505-115 alt_disk_install: mklv failed to create logical volume hd5
cleaning up.
testnim#
We will get the above error only if the rootvg was mirrored priror to taking the mksysb.
As long as your rootvg was mirrored you can break the mirror and retry the installation. You need to edit image.data so that you can use it to restore to a single disk.
we need to manually break the mirror in the mksysb with a custom image.data file.
#mkdir /export/idata
#cd /export/idata
#restore -xqvf // ./image.data
#vi /export/idata/image.data
for each lv_data stanza.
-Change the COPIES=2 to COPIES=1
-Note the size of the LPs=XX value
-change the PP=YY to match the Ps=XX value
Define a customized image_data resource:
#smitty nim_mkres
>>Resource Type: image_data
>>Resource Name: [nomirror_idata]
>>Resource Type: image_data
>>Server to Resource: [master]
>>Location of Resource: [/export/idata/image.data]
From the steps which you have you shoud go back and use the following migration command.
#nimadm -s -l -i -j -Y -T -O -N
No comments:
Post a Comment