Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
Occasional Visitor

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