This one is for reference. If you need to add dummy disks to AIX so that you can organise new disks brought in with cfgmgr, you can use (for example):

mkdev -l hdisk2 -p dummy -c disk -t hdisk -w 0000

This will produce an error, but running lsdev -Cc disk will show the created disk.

lspv will not show the disks because they are created as defined.

NOTE : this does NOT work on AIX 6.1!

UPDATE : On AIX 6.1 you have the ability to rename a disk device…

rendev -l hdisk2 -n hdisk3

This example will rename hdisk2 to hdisk3. Nice.

About troyski

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

2 thoughts on “Creating dummy disks on AIX.

  1. You can give the “-d” flag on the mkdev command to define, then you won’t get the cfgmgr error.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation