Operating System - HP-UX
1753336 Members
4804 Online
108792 Solutions
New Discussion юеВ

Mirror Disk For HP-Unix !

 
Binh Che Viet
Occasional Contributor

Mirror Disk For HP-Unix !

Hi all,
I have a Server RP7410:
- 4 hard disk internal.
- 2 Hard disk configuration mirror and installed OS HP-unix 11i.
- 2 Hard disk configuration mirror and install Database Oracle 9i.
I want un-mirror disk for database.
I have any question :
1. How to do un-mirror disk ?.
2. have Data for Oracle lost ?.

Thanks.
V.Binh
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: Mirror Disk For HP-Unix !

Hi,

Check the man lvreduce man page.

---
Remove mirror copies of logical extents of a logical volume from the physical volume /dev/dsk/c1t0d0:

# lvreduce -m 0 /dev/vg01/lvol4 /dev/dsk/c1t0d0
---

Hope this helps,
Robert-Jan
Stf
Esteemed Contributor

Re: Mirror Disk For HP-Unix !

Hello,

1. to un mirror disk:

# lvreduce -m 0 /dev/vgXX/lvolX /dev/dsk/cXtXdX

/dev/vgXX/lvolX is your lvol you want to un mirror
/dev/dsk/cXtXdX is the disk you want to exclude of the mirror

2. When you un mirror disks you don't lose any data.

Stf ;-)
Binh Che Viet
Occasional Contributor

Re: Mirror Disk For HP-Unix !

Hi all,
Thanks for your support.

V.Binh
wavelove
New Member

Re: Mirror Disk For HP-Unix !

Additionally,
After executing "lvreduce", and then
Execute
1. vgreuce vg00 /dev/dsk/cXtXdX
2. lvrmboot -r /dev/dsk/cXtXdX
if the swap space or the dump space is on the unmirror device, execute "lvrmboot -s or lvrmboot -d ".

B&R
Jaesoon