Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VIO 2.1 mkdev dummy disk fails

Status
Not open for further replies.

MoreFeo

Technical User
Nov 29, 2002
547
0
0
ES
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:
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.
 
rendev is present from AIX 6.1 TL6, or VIO 2.2.
This is VIO 2.1.2.11, that is AIX 6.1 TL4.

Finally I've created temporary 1GB luns on the EVA SAN, assigned them to the VIO and rescanned.
This way I've managed to detect all the luns in the order I wanted, and after I've deleted the temporary luns.

It's not the best way, but I was in a hurry.

Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top