- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: splitting mirror for new VG
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
тАО11-17-2009 02:02 PM
тАО11-17-2009 02:02 PM
i have one VG vg_data having 4 disks (2 + 2(mirrored)). i want to use the 2*mirrored disk in a new VG vg_data1, but want the same data of vg_data VG. Please provide the procedure.
I thought of following. Plz suggest on it.
1. split all LVs with lvsplit command so that there remain no mirror LV.
2. vgreduce both disks out of vg_data.
3. Create new vg vg_data1.
3. Import those disk in new VG with vgimport command as
# vgimport /dev/vg_data1
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 02:13 PM
тАО11-17-2009 02:13 PM
Re: splitting mirror for new VG
http://docs.hp.com/en/B3921-60631/lvsplit.1M.html
LVs are still part of the VG.
Is this a problem?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2009 02:45 PM
тАО11-17-2009 02:45 PM
Re: splitting mirror for new VG
please suggest, or if you have some good steps of yours, please provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 06:01 AM
тАО11-18-2009 06:01 AM
Re: splitting mirror for new VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 07:18 AM
тАО11-18-2009 07:18 AM
Re: splitting mirror for new VG
I have to perform this activity today. any help would be highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 07:32 AM
тАО11-18-2009 07:32 AM
Re: splitting mirror for new VG
Honestly , I didnt testet this.
I belive at the time of step 4 you may face some errror because of same vgid you are importing .
If am right then you can use vgchgid command to change
#vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1 /dev/rdsk/c0t0d2
then you can do vgimport procedure.
Please let me know if it works :)
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 07:32 AM
тАО11-18-2009 07:32 AM
Re: splitting mirror for new VG
It is not documented (not to my knowledge) what exactly happens with vgreduce.
If the disk information is not touched, you could try to import them as a new (but incomplete) volumegroup.
If vgreduce erases necessary information on the disks, you will be stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 07:36 AM
тАО11-18-2009 07:36 AM
Re: splitting mirror for new VG
look at chapter: Splitting a Volume Group
in doc:
http://docs.hp.com/en/5992-6576/ch03s03.html#vgsplit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 08:10 AM
тАО11-18-2009 08:10 AM
Re: splitting mirror for new VG
But i can't use vgchgid as it is HPUX 11.11.
@Wim, you are right. as vgreduce will impact the VGRA of the disks, so they can't be exported.
but can i try by having a map file (in preview mode) of vg_data VG and then try importing new VG on those disks.
# vgimport -m
Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 08:25 AM
тАО11-18-2009 08:25 AM
Re: splitting mirror for new VG
I would like to add few more additional things ...
a) may need to -f option while vgimport.
b) you may need to clean "b" lvol(split lvol) on primary vg using lvremove
c) you may need to clean source lvol on new vg using lvremove.
d) then you can use vgreduce -f primaryvg & vgreduce -f newvg
Aneesh