Operating System - HP-UX
1826536 Members
4018 Online
109695 Solutions
New Discussion

Re: Mirror the internal disks

 
SOLVED
Go to solution
Grayh
Trusted Contributor

Mirror the internal disks

How can I mirrior the two internal disks

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
disk 3 0/2/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146BABC
F
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s3
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s1
disk 2 0/2/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146BABC
F
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
15 REPLIES 15
Tim Nelson
Honored Contributor

Re: Mirror the internal disks

Something like this:

# Create a file called /tmp/efi.part with the following 4 lines:
3
EFI 500MB
HPUX 100%
HPSP 400MB

Execute the below:
# >idisk -wf /tmp/efi.part /dev/rdsk/cXtXd0
#> insf â eC disk
#> idisk /dev/rdsk/cXtXd0
#> efi_fsinit â d /dev/rdsk/cXtXd1
#> mkboot â e â l /dev/rdsk/cXtXd0
#> echo â boot vmunix â lqâ > /tmp/auto.lq
#> efi_cp â d /dev/rdsk/cXtXdXs1 /tmp/auto.lq /EFI/HPUX/AUTO
#> pvcreate â B /dev/rdsk/cXtXdXs2
#> vgextend /dev/vg00 /dev/dsk/cXtXdXs2
#> lvextend â m 1/dev/vg00/lvolx /dev/dsk/cXtXdXs2

#> echo â l /dev/dsk/cXtXdXs2â >> /stand/bootconf
#> setboot â a /dev/dsk/cXtXdXs2 ( set alt boot path to mirror )

Note: efi_ls â d /dev/dsk/cXtXdXs1,2,3
Torsten.
Acclaimed Contributor

Re: Mirror the internal disks

Stop, please.

First tell about the server!

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!   
Pete Randall
Outstanding Contributor
Solution

Re: Mirror the internal disks

There are two ways to mirror: software mirroring or hardware mirroring. With your internal disks, you'll need to look at software mirroring. This means you'll need to purchase and install the MirrorDisk/UX product.

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B2491BA


Pete

Pete
Torsten.
Acclaimed Contributor

Re: Mirror the internal disks

I know it is an Integrity, but what model?

Also tell us if this is 11.23 or 11.31!

Procedures are slightly different.

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!   
Grayh
Trusted Contributor

Re: Mirror the internal disks

Integrity Blade 860c... 11.31
Torsten.
Acclaimed Contributor

Re: Mirror the internal disks

I would recommend the hardware RAID.

I already told you the link to the SAS controller in one (or more) of your other threads.

If you need the procedure for 11.31, I can look for this in my favourites.

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!   
Grayh
Trusted Contributor

Re: Mirror the internal disks

Do I need to have Mirror/UX to get the internal two disks mirrored.

Normally not a good Idea to mirror the same sub-system but Still I can't help.. they want it..

Without Mirror-UX can I do it

What is h/w mirroring and how can I do it on my two internal 146gig disks.
Grayh
Trusted Contributor

Re: Mirror the internal disks

Hi Tortsen,

Thank you....

Could you give me the procedure to do that..

Torsten.
Acclaimed Contributor

Re: Mirror the internal disks

You need to create the RAID first (easy) - then install the OS.

Creating the H/W RAID later will destroy the data on the disk.


If a disk fails with LVM on SAS disks, the procedure is painful --- with hardware raid it is just plug and play ...

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: Mirror the internal disks

http://docs.hp.com/en/J6369-90071/ch03.html

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: Mirror the internal disks

It's quite easy:

go to EFI shell and do

Shell> drivers
T D
D Y C I
R P F A
V VERSION E G G #D #C DRIVER NAME IMAGE NAME
== ======== = = = == == =================================== ===================
16 00000020 B - - 6 17 PCI Bus Driver PciBus
23 02010400 D X X 1 - LSI Logic Fusion MPT SAS Driver PciROM:02:01:00:001



Look for "LSI Logic Fusion MPT SAS Driver"!


Note **here** (not always!) ==> 23

Now do

# drvcfg -s 23


You will manage it from here ...

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!   
Grayh
Trusted Contributor

Re: Mirror the internal disks

there is no data on it... but only OS has been installed on it... Can I still do that
OldSchool
Honored Contributor

Re: Mirror the internal disks

Grayh: "there is no data on it... but only OS has been installed on it... Can I still do that?"

Note what Torsten said:
"You need to create the RAID first (easy) - then install the OS.

Creating the H/W RAID later will destroy the data on the disk."

To a disk drive the OS *is* data...you have to create the H/W raid first, then load the O/S.
I assume this is the same blade as the other posts...so, now, if you want / need the RAID, you *will* end up reinstalling the OS and repeating any other config that you may have done already....
Torsten.
Acclaimed Contributor

Re: Mirror the internal disks

I already told you in

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1267148

Did you really read everything carefully?


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!   
Grayh
Trusted Contributor

Re: Mirror the internal disks

thank you