Hi,
I've got a Power6 server with redundant VIOs, and I've had to reinstall one of the VIOs.
Everything is OK, except I would like to create some dummy hdisks, because in the other VIO there are some gaps in the hdisks names (hdisks that were present but have been deleted), and I would like this VIO to have the same hdisk names.
For example, in the old VIO these are the hdisks:
And in the new VIO I've got:
As you can see all the PVIDs match (except hdisk4, for rootvg), but hdisk9 in new VIO is called hdisk11 in old VIO.
What I'm trying to do is deleting hdisk9 and create dummies hdisk9 and hdisk10, and then cfgmgr again to detect hdisk9 as hdisk11.
I've done this several times for HACMP clusters, and it has always worked OK, but this time I'm getting an error. I've tried with several options:
After each command I've checked with lsdev -Cc disk but there is no Defined hdisk9.
My VIOs is on ioslevel 2.1.2.11 (oslevel 6.1 TL4 from AIX CLI), so there is no rendev command.
All 4 VIOs (this server has 2 VIOs, and another server has got 2 other VIOs) must be at the same level, so I cannot update this VIO to 2.2 (I know rendev command is present on ioslevel 2.2.X).
Does anybody knows how to create a dummy hdisk on VIO 2.1?
Thanks.
I've got a Power6 server with redundant VIOs, and I've had to reinstall one of the VIOs.
Everything is OK, except I would like to create some dummy hdisks, because in the other VIO there are some gaps in the hdisks names (hdisks that were present but have been deleted), and I would like this VIO to have the same hdisk names.
For example, in the old VIO these are the hdisks:
Code:
hdisk4 00c974a5216f6258 rootvg active
hdisk5 00c974a54897ca7c None
hdisk6 00c974a54897cbf7 None
hdisk7 00c974a54897cd05 None
hdisk8 00c974a54897ce13 None
hdisk11 00c974a54897cf21 None
And in the new VIO I've got:
Code:
hdisk4 00c974a5489a40e1 rootvg active
hdisk5 00c974a54897ca7c None
hdisk6 00c974a54897cbf7 None
hdisk7 00c974a54897cd05 None
hdisk8 00c974a54897ce13 None
hdisk9 00c974a54897cf21 None
As you can see all the PVIDs match (except hdisk4, for rootvg), but hdisk9 in new VIO is called hdisk11 in old VIO.
What I'm trying to do is deleting hdisk9 and create dummies hdisk9 and hdisk10, and then cfgmgr again to detect hdisk9 as hdisk11.
I've done this several times for HACMP clusters, and it has always worked OK, but this time I'm getting an error. I've tried with several options:
Code:
# mkdev -l hdisk9 -p dummy -c disk -t hdisk -w 0000
mkdev: 0514-520 Cannot find information in the predefined device
configuration database for the following:
type = 'hdisk' AND class = 'disk'
# mkdev -l hdisk9 -p sas0 -c disk -t hdisk -w 0000
mkdev: 0514-520 Cannot find information in the predefined device
configuration database for the following:
type = 'hdisk' AND class = 'disk'
# mkdev -l hdisk9 -c disk -t osdisk -s scsi -p scsi0 -w 0,10 -d
Method error (/etc/methods/define):
0514-025 Cannot perform the requested function because the
parent of the specified device does not exist.
# mkdev -l hdisk9 -p ssar -t hdisk -w dummy
mkdev: 0514-520 Cannot find information in the predefined device
configuration database for the following:
type = 'hdisk'
After each command I've checked with lsdev -Cc disk but there is no Defined hdisk9.
My VIOs is on ioslevel 2.1.2.11 (oslevel 6.1 TL4 from AIX CLI), so there is no rendev command.
All 4 VIOs (this server has 2 VIOs, and another server has got 2 other VIOs) must be at the same level, so I cannot update this VIO to 2.2 (I know rendev command is present on ioslevel 2.2.X).
Does anybody knows how to create a dummy hdisk on VIO 2.1?
Thanks.