Operating System - HP-UX
1753511 Members
5104 Online
108795 Solutions
New Discussion юеВ

Re: what is the hp-ux command to get disk partition details?

 
DeviPvk
Occasional Advisor

what is the hp-ux command to get disk partition details?

I need following details about partitions
Partition name
Partition size
Is boot Partion
Mounted location of partition

Could any one please let me know hp-ux command to get the above details?

thanks,
Devi
20 REPLIES 20
Torsten.
Acclaimed Contributor

Re: what is the hp-ux command to get disk partition details?

Partitions are normally used for Integrity boot disks only.

p1 is EFI boot partition
p2 is for hp-ux
p3 is for diags

Get details with "idisk"


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!   
DeviPvk
Occasional Advisor

Re: what is the hp-ux command to get disk partition details?

How to get details of character device names and partition description file for disks?

The above command idisk need character device name and partition description file


thanks,
Devi
Johnson Punniyalingam
Honored Contributor

Re: what is the hp-ux command to get disk partition details?

Could any one please let me know hp-ux command to get the above details?

>>Partition name <<<<<

what do you mean by partition name ? Can't understand your Question , there is no partition name , do you mean HPUX Operating file system layout has partition name ??

command => bdf -> to display all mounted file system

Partition size ?

command => lvdisplay
man lvdisplay

take note , use should use above command for all the partition or file system mounted by refering to bdf command out put


Is boot Partion ? -> not able to understanding the question

Mounted location of partition

you need look for below link -> you can understand some basic commands related to your Questions

http://www.unixguide.net/unixguide.pdf

Problems are common to all, but attitude makes the difference
Torsten.
Acclaimed Contributor

Re: what is the hp-ux command to get disk partition details?

Example:

# idisk /dev/rdsk/c0t6d0

Size is usually default:

p1 500MB
p2 100% of remaining space
p3 400MB

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!   
DeviPvk
Occasional Advisor

Re: what is the hp-ux command to get disk partition details?

thanks for the reply

I need the details about logical partitions on the system.

Partition name
Partition size
Is boot Partion(Is this a boot partition?)
Mounted location of partition


Thanks,
Devi
Torsten.
Acclaimed Contributor

Re: what is the hp-ux command to get disk partition details?

As said

p1 named EFI 500MB bootable
p2 named hpux
p3 named HPSP 400MB

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!   
DeviPvk
Occasional Advisor

Re: what is the hp-ux command to get disk partition details?

I am getting the following error when I issue idisk command

idisk /dev/rdsk/c2t1d0s2
idisk version: 1.31
idisk: Primary partition information not valid.
Run idisk with -r option to restore.
Torsten.
Acclaimed Contributor

Re: what is the hp-ux command to get disk partition details?

Try

idisk /dev/rdsk/c2t1d0


"s2" is already the second partition, not the disk itself

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!   
DeviPvk
Occasional Advisor

Re: what is the hp-ux command to get disk partition details?

Thanks for the reply Torsten.

It worked. But I have a doubt regarding the partition details. when I issue following command on my machine

ioscan -funC disk

I am getting the result as follows

Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3


what exactly /dev/dsk/*** and /dev/rdsk/*** mean?