Operating System - HP-UX
1833869 Members
1843 Online
110063 Solutions
New Discussion

Re: Itanium and "s" disk names

 
SOLVED
Go to solution
Vic S. Kelan
Regular Advisor

Itanium and "s" disk names

Hi,

I am setting up mirroring of my root disk on a couple of new itanium boxes.

I have the steps as shown in this doc.

http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html


The only question is on two of the boxes I have:
/dev/dsk/c2t1d0s3 on the other boxes and in the document i am using I only have /dev/dsk/c2t1d0s2.

Whats the s3 for?
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/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 2 0/1/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
8 REPLIES 8
Vic S. Kelan
Regular Advisor

Re: Itanium and "s" disk names

Clarifying a bit, /dev/rdsk/c2t1d0s2 is the original boot disk.

I want to mirror dev/rdsk/c3t0d0s2 to it, thats the new disk.

I know what s1 and s2 is for, but what is s3 for? Do i need to create that on the mirror disk as well? how? use 3 in the partitionfile?

Thanks!!
Torsten.
Acclaimed Contributor

Re: Itanium and "s" disk names

The "_s*" are the partitions.
1. is EFI, 2. is Data (OS), 3. is Offline Diagnostics/Tools (Service Partition)

Include this in your partitionfile
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!   
Andrew Rutter
Honored Contributor
Solution

Re: Itanium and "s" disk names

hi vic,

The cxtxdxs1 partition is for the EFI utilities
The cxtxdxs2 partition is for the HPUX install
The cxtxdxs3 partition is for the HPSP utilities
The HPSP has the install of the offline diagnostics that you can boot from the EFI shell.

It depends which version of HPUX it is to whether you need 2 or 3 partitions.

HPUX v1.5(11.22) has 2 partitions
3
EFI
HPUX 100%

HPUX v2(11.23) has 3 partitions
4
EFI @ 500MB
HPUX @100%
HPSP @ 400MB

It looks like when you have partitioned your mirrored drive you have used an 11.22 partition file instead of the 3 part example above.

you can check the partitions properly with
#idisk -p /dev/rdsk/cxdxtx

The offline diagnostics cannot be installed onto the mirrored drive though when the partition is created. It has to be copied with dd afterwards

If you want to mirror the original drive correctly you will need to repartition the disk with the 4 line partition file

Andy



Torsten.
Acclaimed Contributor

Re: Itanium and "s" disk names

@Andy:

IMHO (and man page also is telling this) the first entry in the partition file is the number of partitions. In your example, the number is increased by one. Typo?

3 Partions:
3
EFI @ 500MB
HPUX @100%
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!   
Vic S. Kelan
Regular Advisor

Re: Itanium and "s" disk names

thanks all, now I see, i used the 2 partition file. I will fix this ASAP.

Andy you mentioned
"The offline diagnostics cannot be installed onto the mirrored drive though when the partition is created. It has to be copied with dd afterwards"

Do you have the correct dd syntax for this copy?

Thanks!
Torsten.
Acclaimed Contributor

Re: Itanium and "s" disk names

I have it too:

# dd if=/dev/rdsk/c2t1d0s3 of=/dev/rdsk/c3t0d0s3 bs=1024k

if is the source
of is the target

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!   
Vic S. Kelan
Regular Advisor

Re: Itanium and "s" disk names

Great! Just the normal dd command, thanks a lot ALL!!
Andrew Rutter
Honored Contributor

Re: Itanium and "s" disk names

vic/torsten

yes the files should read 2 and 3 in the first line of the partitionfile. I was thinking about the files been 3 and 4 lines and got carried away.

Its been a long day today and this was just from memory, so thanks for correcting this Torsten. Also hope it helps you Vic to create a new partitionfile



Andy