Creating dummy disks on AIX.

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.


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.

Posted on June 24, 2010, 11:12 am By
2 comments Categories: AIX Tags:

2 thoughts on “Creating dummy disks on AIX.

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

%d bloggers like this: