BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
LVM and VxVM
Showing results for 
Search instead for 
Do you mean 

How can I map CTD to /dev/disk devices?

Go to Solution
Frequent Advisor

How can I map CTD to /dev/disk devices?

We just received our first HP-UX 11.31 server.  I'm only familiar with LVM on HP-UX 11.i where disk devices such as /dev/dsk/c0t8d0 were displayed in commands like "strings /etc/lvmtab" and "vgdisplay -v vg00", etc.


These commands now return /dev/disk/disk4_p2 instead, and I'm wondering how to correlate this to the output of ioscan and lssf /dev/dsk/* which shows the /dev/dsk/ctd numbers?


Any help would be appreciated.



Honored Contributor

Re: How can I map CTD to /dev/disk devices?

In 11.31, the ioscan command got a lot of new options.


In this particular case,

ioscan -m dsf

 is probably exactly what you're looking for.


Or if you want to map the new-style hardware paths :

ioscan -m hwpath




Honored Contributor

Re: How can I map CTD to /dev/disk devices?

You should probably read through this white paper:


The Next Generation Mass Storage Stack  HP-UX 11i v3


It should explain a lot of the new concepts that you haven't seen before.

Frequent Advisor

Re: How can I map CTD to /dev/disk devices?

Thanks Matti.  Looks like things have changed a bit.


My goal was to see what disks are available before creating as OS recovery image using the 'drd clone' command.


# ioscan -m dsf
Persistent DSF           Legacy DSF(s)
/dev/rdisk/disk3         /dev/rdsk/c0t8d0
/dev/rdisk/disk4         /dev/rdsk/c0t8d1
/dev/rdisk/disk4_p1      /dev/rdsk/c0t8d1s1
/dev/rdisk/disk4_p2      /dev/rdsk/c0t8d1s2
/dev/rdisk/disk4_p3      /dev/rdsk/c0t8d1s3

So I'm assuming c0t8d0 and c0t8d1 are separate disks.  vg00 contains /dev/disk/disk4_p2 and a pvcreate of /dev/rdisk/disk3 ran without complaint.