Operating System - HP-UX
1832524 Members
8212 Online
110043 Solutions
New Discussion

Partition information in whole disk approach

 
SOLVED
Go to solution
sreekanthtm
Trusted Contributor

Partition information in whole disk approach

Hai,

How can I identify different partitions in HPUX, through device file name;in whole disk approach (not LVM)
Like in LINUX it is /dev/hda1 , /dev/hda2

Rgds
Sreekanth
6 REPLIES 6
Luk Vandenbussche
Honored Contributor

Re: Partition information in whole disk approach

You can see which volumes are located on a disk with the command

pvdisplay -v /dev/dsk/cxtydz
sreekanthtm
Trusted Contributor

Re: Partition information in whole disk approach

dear
Luk Vandenbussche

This command will work on LVM.
But how can I deal with Whole disk approach.
Thank you for your response
Sreekanth
Raj D.
Honored Contributor

Re: Partition information in whole disk approach

Sreekanth ,

You can check with pvdisplay :

Example: How many LV is created on the disk :

# pvdisplay -v /dev/dsk/c1t2d0 | grep "Cur LV"

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
OldSchool
Honored Contributor

Re: Partition information in whole disk approach

This is more like the Sun "disk-slice" method? I think you can do that on some of the newer Itaniums *maybe*.

Never seen an HP-UX box w/o LVM, which is what you seem to be asking for.
Torsten.
Acclaimed Contributor
Solution

Re: Partition information in whole disk approach

The boot disks with hp-ux 11.23 are the only one (regardless the 9.xx systems) using partitions. see man idisk for more info.

you will see a cxtxdxsx device file (note the sx) if the device is using partitions.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
George Liu_4
Trusted Contributor

Re: Partition information in whole disk approach

I guess he is talking about HFS file system, but now it has been almost entirely superseded by vxfs.
To see a whole disk, just run
ioscan -fnC disk
to see what the cXtXdX is.