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.