Operating System - HP-UX
1833753 Members
2692 Online
110063 Solutions
New Discussion

How to obtain a partition table file reusable as input to idisk command

 
SOLVED
Go to solution
Jdamian
Respected Contributor

How to obtain a partition table file reusable as input to idisk command

Hi.

After replacing a failed mirrored-boot disk on HP-UX 11.23 (Itanium server) I needed to restore de partitions in it. I couldn't.

I displayed the partitions of the other boot disk by means of idisk command, but its output cannot be reused as input for idisk command (idisk requires a text file whose format is detailed in idisk(1M) manual pages).

The example shown in idisk manual pages doesn't fit my requeriments -- it shows how to create 2 partitions but I need to create 3 partitions (EFI,HPUX and HPSP types).

Do you know any option/command to create a partition table file reusable as input to idisk command ?

Thanx in advance.
2 REPLIES 2
Slawomir Gora
Honored Contributor
Solution

Re: How to obtain a partition table file reusable as input to idisk command

Hi,

I use diskinfo command to get size of EFI,HPUX and HPSP partitions.
Look at my mirror script - function prepareDisk.
Jdamian
Respected Contributor

Re: How to obtain a partition table file reusable as input to idisk command

.