Operating System - HP-UX
1827706 Members
2881 Online
109967 Solutions
New Discussion

idisk and getting partition size

 
SOLVED
Go to solution
Mark Trux
Regular Advisor

idisk and getting partition size

I have a SD ia64 SD64B.
The leagacy filesystems have been removed.
The mirrored copy of the boot disk has failed and I am not sure how to find out what the partition sizes are on the good boot disk.
I do have another disk to mirror to.
I have to un-mirror the bad disk
Partition the good disk (What sizes)
and then mirror to the new.

Any help would be great.
3 REPLIES 3
Mark Trux
Regular Advisor

Re: idisk and getting partition size

Found it.

diskinfo /dev/rdisk/disk??_p? | grep size
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: idisk and getting partition size

Hi Mark,

Verify the contents of the auto file on the primary and the mirror.
# efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.pri
# efi_cp -d /dev/rdsk/c3t2d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.alt
# cat /tmp/AUTO.pri
# cat /tmp/AUTO.alt

Regards,
Robert-Jan

Ps.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Mark Trux
Regular Advisor

Re: idisk and getting partition size

See comments above