1834276 Members
3018 Online
110066 Solutions
New Discussion

disk mirroring on rx4640

 
sameerK
Frequent Advisor

disk mirroring on rx4640

there are two disk on the server.I installed HPUX 11i ver 2 on the primary.After the os installation I am now trying to mirror the disks.I am refered to the document that i downloaded from hp site.I created the /tmp/partitionfile with the contents as mentioned in the document. but when i try to create partition using command: idisk -wf /tmp/partitionfile /dev/rdsk/c2t0d0 ( where c2t0d0 is the hdd I want to mirror on) - I get user aborting! & returns to prompt. when i try to format the disk it prompts me to create the partition first. That means the above command is not creating the partition.. I fail to understand why it gives user aborting! pl can neone advice
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: disk mirroring on rx4640

Shalom,

Here is how I mirror. Slight variations may be required for 11.23

pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk

I monitor with EMS actual disk health.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: disk mirroring on rx4640

Does your file looks like this?

3
EFI 500MB
HPUX 100%
HPSP 400MB


(note: there are 4 lines)

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!   
Torsten.
Acclaimed Contributor

Re: disk mirroring on rx4640

Steven, please do NOT post the old PA-RISC procedure to Integrity threads.

This will confuse everybody and produce probably a lot of trouble.

To use the wrong procedure for mirroring is IMHO among the first places in the top 10 of making mistakes.

Next time, use this please

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082066576

sameerK, you are on the right procedure.

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!   
Patrick Wallek
Honored Contributor

Re: disk mirroring on rx4640

SEP,

You're still thinking in PA-RISC land. This is an Itanium server which requires much different preperatory steps.

sameerK,

According to a document I found on the ITRC, you *MUS* answer 'yes' and NOT just 'y' to the question posed. Here is the quote from the document:

Doc information:
Title: Creating an alternate boot disk on Itanium systems
Document ID: IA64KBRC00016649
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079976529

"# idisk -wf /tmp/partitionfile /dev/rdsk/cXtXdX

NOTE: There will be a prompt with a message saying the operation may be destructive and asks to continue. Be sure to answer 'yes' for the operation to be successful. If the prompt is answered with 'y' only, an error is received along with a message saying "user aborting"."
freddy_21
Respected Contributor

Re: disk mirroring on rx4640

check your idisk partition already created or not

idisk /dev/rdsk/c2t0d0

if your partition not created, please do :

1. check your partition file
is your partitonfile contain:
3
EFI 500MB
HPUX 100%
HPSP 400MB

2. run idisk again:
idisk -wf /tmp/partitionfile /dev/rdsk/c2t0d0


3. create device s1,s2 and s3 partition
#insf -e

4. check disk partition
#ioscan -fnC disk

5. format disk:
# pvcreate -B -f /dev/rdsk/c2t0d0s2


good luck
Freddy
Torsten.
Acclaimed Contributor

Re: disk mirroring on rx4640

I'm pretty sure Patrick gave the solution.

The message "user aborting" indicates this.

I guess I'm stumbled over it too some time ago ;-)

(No points for this, please)

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!   
rick jones
Honored Contributor

Re: disk mirroring on rx4640

Or you could throw hardware at the problem and install a SmartArray 6402 and use it to mirror the discs. That would almost certainly require a reinstall.
there is no rest for the wicked yet the virtuous have no pillows
sameerK
Frequent Advisor

Re: disk mirroring on rx4640

Yes,Torsten.. Patrick is correct. I was typing "Y" instead of yes... :).Thnx guys!! my problem is solved. cheers!!1