System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to break the root mirror in Itanium based server

SOLVED
Go to solution
Sreer
Valued Contributor

How to break the root mirror in Itanium based server

Hi Gurus,

Could you pls tell me the exact steps for breaking root mirror in Itanium based server.

say The disk to be removed is cxtydz.
I am sure about only first two steps.Could you pls guide to the next steps?

My plan:

1. reduce the mirrored Lvs:

# for i in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8
> do lvreduce -m 0 /dev/vg00/$i /dev/dsk/c2t1d0
> done

2. reduce vg:

vgreduce /dev/vg00 /dev/dsk/cxtydz


Thnks in advance.
rgds
Sree

8 REPLIES
Torsten.
Acclaimed Contributor

Re: How to break the root mirror in Itanium based server

Steps are almost correct.

On Integrity servers, partition 2 is used by hp-ux.

c2t1d0s2 needs to be used in your commands!!!

NOTE "s2"!

Before removing the disks, use rmsf to remove the device files.

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!   
Michal Kapalka (mikap)
Honored Contributor

Re: How to break the root mirror in Itanium based server

hi,

Hi Gurus,

say The disk to be removed is cxtydz

hope disk : cxtydz = c2t1d0

My plan:

1. reduce the mirrored Lvs:

# for i in lvol1 lvol2 lvol3 lvol4 lvol5 lvol6 lvol7 lvol8
> do lvreduce -m 0 /dev/vg00/$i /dev/dsk/c2t1d0s2
> done

2. reduce vg:

vgreduce /dev/vg00 /dev/dsk/cxtydz

mikap
Torsten.
Acclaimed Contributor

Re: How to break the root mirror in Itanium based server

...

2. reduce vg:

vgreduce /dev/vg00 /dev/dsk/cxtydzs2

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!   
Sreer
Valued Contributor

Re: How to break the root mirror in Itanium based server

Hello,

Thanks for reply.

Do we need to update the following?

1)lvlnboot -R --need to do?

2)/stand/boot.conf-- need to edit?

3) /EFI/HPUX/AUTO --any modification needed?

Rgds Sree

Michal Kapalka (mikap)
Honored Contributor

Re: How to break the root mirror in Itanium based server

hi,

/stand/boot.conf need to be edited,

delete the line where the reduced disk is presented.

mikap
sujit kumar singh
Honored Contributor
Solution

Re: How to break the root mirror in Itanium based server

hi

you can run lvlnboot -R as well as edit the file /stand/bootconf to remove the entry pointign to the disk that is being removed.

in case for the remaining disk if this has the boot string as "boot vmunix -lq" in the /EFI/HPUX/AUTO, you can well leave this, this shall not effect anything.

regards
sujit
Sreer
Valued Contributor

Re: How to break the root mirror in Itanium based server

Hello Gurus,

Thanks all for your valuable advice.

Now Iam having enough info to break the mirror!

Wishing ahappy new year to all!

regds Sree
Torsten.
Acclaimed Contributor

Re: How to break the root mirror in Itanium based server

Keep in mind breaking the mirror this way make the data on the removed disk invalid!

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!