- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove mirroring without affecting data on ...
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
02-23-2004 05:24 PM
02-23-2004 05:24 PM
How to remove mirroring without affecting data on the other disk ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 05:28 PM
02-23-2004 05:28 PM
Re: How to remove mirroring without affecting data on the other disk ?
As far as I know no data will be changed when you remove a mirror copy. (only some LVM data will ofcourse change to reflect the removal of the disk).
(Probably I don't understand your question :-)
Best regards
Martijn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 05:45 PM
02-23-2004 05:45 PM
Re: How to remove mirroring without affecting data on the other disk ?
ex:
lvreduce -m 0 /dev/vg01/lvol1
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 06:31 PM
02-23-2004 06:31 PM
Re: How to remove mirroring without affecting data on the other disk ?
#lvreduce -m 0 /dev/vg00/lvol2. You have to reduce all lvols's from the mirrored disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 06:52 PM
02-23-2004 06:52 PM
Re: How to remove mirroring without affecting data on the other disk ?
for i in /dev/vg00/lv*
do
echo $i
lvreduce -m 0 $i
done
or individually
lvreduce -m 0 /dev/vgxx/lvxxx
You can then remove the disk from the volume should you choose.
# vgreduce /dev/vgxx /dev/dsk/cxtydz
No harm will come to the first disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 07:07 PM
02-23-2004 07:07 PM
Re: How to remove mirroring without affecting data on the other disk ?
when you remove the mirroring data will not be affected.
#lvreduce -m 0 /dev/vgxx/lvolxx
will break the mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 08:10 PM
02-23-2004 08:10 PM
Re: How to remove mirroring without affecting data on the other disk ?
Afterwards you can easily mount the ex-mirrors.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 08:38 PM
02-23-2004 08:38 PM
Re: How to remove mirroring without affecting data on the other disk ?
ex.
/dev/dsk/c0t6d0 --> boot disk
/dev/dsk/c1t2d0 --> mirror disk
to remove:
(you have to specify which lvol on which disk used for mirror)
lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/c1t2d0
Regds.
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 10:36 PM
02-23-2004 10:36 PM
Re: How to remove mirroring without affecting data on the other disk ?
This command destroys all data in the specified logical volumes."
This may actually be different for mirrors, I don't know, I've never tried it, but I would certainly proceed with caution if I was going to try the lvreduce approach.
To me, it seems far safer to use lvsplit!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2004 10:39 PM
02-23-2004 10:39 PM
Re: How to remove mirroring without affecting data on the other disk ?
From lvreduce:
"The physical extents that comprise the deleted mirror copy or copies are deallocated."
I'm not sure what happens to "deallocated extents", but I would do some testing first before I relied on lvreduce.
Lvsplit still seems safer to me!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 12:02 AM
02-24-2004 12:02 AM
Re: How to remove mirroring without affecting data on the other disk ?
after a reduce, how can you access the data even if it is still there?
That's why I suggest lvsplit.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 12:18 AM
02-24-2004 12:18 AM
Re: How to remove mirroring without affecting data on the other disk ?
Exactly!
Pete
Pete