- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove mirror
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:14 PM
10-19-2005 06:14 PM
remove mirror
Can I do this without any downtime?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:19 PM
10-19-2005 06:19 PM
Re: remove mirror
lvreduce -m 1 /dev/
where the disk is the disk where the mirror is removed from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:19 PM
10-19-2005 06:19 PM
Re: remove mirror
lvreduce -m 0
ofcource.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:20 PM
10-19-2005 06:20 PM
Re: remove mirror
Yes, you can remove the mirror without any downtime.
Use 'lvreduce' command, for more details check manpage of lvreduce :
# man lvreduce
Example :
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 information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:20 PM
10-19-2005 06:20 PM
Re: remove mirror
-Arun
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=284128
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:22 PM
10-19-2005 06:22 PM
Re: remove mirror
lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c0t6d0
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 06:28 PM
10-19-2005 06:28 PM
Re: remove mirror
why u dont extend vg an lv ?
for i in 1 2 3 4 5 6 7 8
do
lvreduce -m 0 /dev/vg00/lvol$i /dev/dsk/cxtxdx
done
regards gga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 02:35 PM
10-20-2005 02:35 PM
Re: remove mirror
For example:
VG Name : /dev/vg02
LV
Has one lv Name: /dev/vg02/lvglobus
And it located on 02 pv (mirrored each other)
PVName /dev/dsk/c4t0d2
PVName /dev/dsk/c4t0d4
I will reduce /dev/dsk/c4t0d4 to get more spare just type:
#lvextend -m 0 /dev/vg02/lvglobus /dev/dsk/c4t0d4
Now /dev/dsk/c4t0d4 is still belong to vg02.
If you want to more /dev/dsk/c4t0d4 to another vg let do as below
#vgreduce /dev/vg02 /dev/dsk/c4t0d4
#vgextend /dev/vgxx /dev/dsk/c4t0d4
THat's all
HTH
tienna