- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to break the mirror in vg00
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
тАО01-03-2009 07:44 AM
тАО01-03-2009 07:44 AM
I have a requirement for removing a disk from the mirrored VG00 after breaking it.
Is it possible to do it on line?
could u pls tell the steps?Thanks in advance..
Rgds
Sreekumar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2009 07:51 AM
тАО01-03-2009 07:51 AM
Re: Need to break the mirror in vg00
while breaking the mirror Iam getting the follo. error.
# lvreduce -m 1 /dev/vg00/lvol1 /dev/dsk/c2t0d0s2
lvreduce: "MirrorCopies" parameter "1" is not smaller than existing number "1";
therefore no mirrors are removed.
[rx260-01]/
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2009 07:58 AM
тАО01-03-2009 07:58 AM
Solution#lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/cxtydy if u already have no of mirrir copies in the VG as 1
this will auto matically update the vgconf file and well can be done online.
remember that in fututre when u will be adding the disk u will have to pvcreate -B, vgextend and lvextend -m 1 the mirror copies
#lvreduce -m 1 /dev/vg00/lvol1 /dev/dsk/cxtydy is used to decrease a mirror from a no higher that 1 mirrir in teh VG.
regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2009 08:02 AM
тАО01-03-2009 08:02 AM
Re: Need to break the mirror in vg00
Excellent! You are ri8.I have used 0 instead of 1 now its perfect.Thanks!!
# for i in lvol1 lvol2 lvol4 lvol5 lvol6 lvol7 lvol8
> do lvreduce -m 0 /dev/vg00/$i /dev/dsk/c2t0d0s2
> done
It worked for me.
Rgds
Sreekumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2009 08:03 AM
тАО01-03-2009 08:03 AM
Re: Need to break the mirror in vg00
# for i in lvol1 lvol2 lvol4 lvol5 lvol6 lvol7 lvol8
> do lvreduce -m 0 /dev/vg00/$i /dev/dsk/c2t0d0s2
> done
This was the exact command I used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2009 08:08 AM
тАО01-03-2009 08:08 AM
Re: Need to break the mirror in vg00
following the reduction of the mirror copies from the disk, u will need to do a vgreduce with that disk amke sure that u edit the /stand/bootconf to remove the entry of that boot disk and do an lvlnboot -R
when in future u will be adding the Disk to vg00 for mirroring keep in the view the following things.
1) create the EFI,HPand HPSP partitions in the disk
2)pvcreate -B on /dev/rdsk/cxtydzs2 and so on
and after that vgextend and mirror like
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtydzs2
Regards
Sujit