- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to break mirroring ?
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
Discussions
Discussions
Forums
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
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
тАО05-02-2006 06:45 PM
тАО05-02-2006 06:45 PM
how to break mirroing in rp series server ? Presently both disk are fine but i want to release one disk for other purpose.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 06:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 08:06 PM
тАО05-02-2006 08:06 PM
Re: how to break mirroring ?
Refer to section 5 in the below link,
http://www.governmentsecurity.org/articles/articles2/When_Good_Disks_Go_Bad.pdf_fl/When_Good_Disks_Go_Bad.html
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 08:19 PM
тАО05-02-2006 08:19 PM
Re: how to break mirroring ?
If this is your root mirror disk, I would strictly advise not to remove the mirror.
But if it is some other mirror disk, then check which lvols are mirrored -
for i in `vgdisplay -v /dev/vgxyz | grep 'LV Name' | awk '{print $NF}'`
do
if [[ $(lvdisplay -v $i | grep 'Mirror' | awk '{print $NF}') != "0" ]]
then
echo $i is mirrored
fi
done
Then use the method Warren has shown to reduce mirror copies of all mirrored volumes and proceed , reduce VG - to remove disk from VG and then the disk is free to be used for you.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 09:07 PM
тАО05-03-2006 09:07 PM
Re: how to break mirroring ?
The best way I find to break mirrors is to get my mother in law to look at them!
Just a bit of fun.
JASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 09:24 PM
тАО05-03-2006 09:24 PM
Re: how to break mirroring ?
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c?t?d?
- do for all the lvs .
# vgreduce /dev/vg00 /dev/dsk/c?t?d?
Now the disk is free. Mirror broken.
Cheers,
Raj,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 09:26 PM
тАО05-03-2006 09:26 PM
Re: how to break mirroring ?
To find out which disk is the primary boot disk, and the system is booted from :
Use:
# echo "boot_string/S" | adb /stand/vmunix /dev/kmem
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 09:51 PM
тАО05-03-2006 09:51 PM
Re: how to break mirroring ?
I assume your VG which u want to unmirror is not a rootvg
lvdisplay -v /dev/vgname/lvolname
note the device files of the disks used for the LVs
decide which disk to remove,
note the number of mirror copies, if 1 then use m 0 if 2 then m 1....
lvreduce -m 0 /dev/vgname/lvoln /dev/dsk/cxtydz
When all the lvols are reduced from the disk
vgreduce /dev/vgxx /dev/dsk/cxtydz.
Check vgdisplay/pvdisplay to confirm the disk is out of the Vg.
Good Luck
Ajit