How can I map CTD to /dev/disk devices? (420 Views)
Reply
Frequent Advisor
James Brand
Posts: 58
Registered: ‎11-29-1999
Message 1 of 4 (420 Views)
Accepted Solution

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.

 

 

Please use plain text.
Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 4 (415 Views)

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

 

 

 

MK
Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,736
Registered: ‎06-21-2000
Message 3 of 4 (412 Views)

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

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01915618/c01915618.pdf

 

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

Please use plain text.
Frequent Advisor
James Brand
Posts: 58
Registered: ‎11-29-1999
Message 4 of 4 (411 Views)

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.

 

Jim

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation