Operating System - HP-UX
1754014 Members
7667 Online
108811 Solutions
New Discussion юеВ

Re: How to check partitions on Integrity HP-UX

 
SOLVED
Go to solution
Todd Bowden
Valued Contributor

How to check partitions on Integrity HP-UX

To all,

I have been doing some reading and here is what I have come up with so far. I just setup a new HP-UX 11.31 and noticed that the root disk is /dev/disk/disk5_p2 which I found is for HP-UX and then there are Slice 1 and Slice 3. If I want to add a mirrored drive I want to make sure that Slice 1 and Slice 2 are the same size. So take for instance I dont know what the size is of those partions. Is there a way to find out what the actual size is of those Slices?

I have seen "examples" of partitioning a drive, which looks like the following.

3
EFI 500MB
HPUX 100%
HPSP 400MB

The documentation says this is an example, so I want to know for sure what the size was that was used on the original disk. How do I find that out?

Thanks in advance,

Todd
2 REPLIES 2
Suraj K Sankari
Honored Contributor

Re: How to check partitions on Integrity HP-UX

Hi,

Meaning of this lines
3
EFI 500MB
HPUX 100%
HPSP 400MB

The first entry specifies the number of partitions to create that is 3.
The second specifies an EFI partition of 500 megabytes.
Next entry specifies a HPUX partition consisting of all the remaining space on the disk after the EFI partition has been created.
Tha last is specifies one HPSP partition of 400MB.

Suraj
SoorajCleris
Honored Contributor
Solution

Re: How to check partitions on Integrity HP-UX

Hi,

Just use diskinfo .

# ioscan -fnCdisk
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-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0

# diskinfo /dev/rdsk/c2t1d0s1
SCSI describe of /dev/rdsk/c2t1d0s1:
vendor: HP 146 G
product id: ST3146707LC
type: direct access
size: 512000 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c2t1d0s2
SCSI describe of /dev/rdsk/c2t1d0s2:
vendor: HP 146 G
product id: ST3146707LC
type: direct access
size: 142452736 Kbytes
bytes per sector: 512

# diskinfo /dev/rdsk/c2t1d0s3
SCSI describe of /dev/rdsk/c2t1d0s3:
vendor: HP 146 G
product id: ST3146707LC
type: direct access
size: 409600 Kbytes
bytes per sector: 512

#


Cheers.
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie