Operating System - HP-UX
1823086 Members
3423 Online
109646 Solutions
New Discussion юеВ

Looking partiton information on hard disks

 
Paul Clayton
Frequent Advisor

Looking partiton information on hard disks

Can anyone help. I am looking for the command that will get the partition (VTOC) of a hard drive.
3 REPLIES 3
Carlos Fernandez Riera
Honored Contributor

Re: Looking partiton information on hard disks

On hpux there is not VTOC.

Older systems HPUX 09.xx used disk partitioning, but you cannnot defined it, just use some of defined.

Now HPUX uses Logical Volume Manager (LVM), and there is not VTOC.

Search LVM introduction on http://docs.hp.com
unsupported
Peter Kloetgen
Esteemed Contributor

Re: Looking partiton information on hard disks

Hi,

in these days, LVM is used instead of partitioning disks. So you don't have a VTOC any more, but a data structure made by LVM. And of course you can display informations about volume groups, physical volumes and logical volumes:

vgdisplay -v /dev/vg00

pvdisplay -v /dev/dsk/c0t5d0

lvdisplay -v /dev/vg00/lvol5

volume group ---> one or more hard disks, which are now one logical disk

physical volume ---> hard disk, handeled by LVM

logical volume ---> the newer version of a "partition"

the option -v (verbose) gives you a more detailed output.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Krishna Prasad
Trusted Contributor

Re: Looking partiton information on hard disks

Attached is a LVM program that I got from the HP response center that gives even more detail when reading the LVM headers on a drive. I have found it to be really useful.
Positive Results requires Positive Thinking