- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Splitting a volume and creating new VG from that v...
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-26-2011 03:00 AM
тАО01-26-2011 03:00 AM
Splitting a volume and creating new VG from that vol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 03:09 AM
тАО01-26-2011 03:09 AM
Re: Splitting a volume and creating new VG from that vol
If you split a mirrored *LVOL* (see lvsplit), then this new LVOL is inside the same VG, of course. Once splitted, you can mount it.
Creating a new VG means delete the data.
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
тАО01-26-2011 03:16 AM
тАО01-26-2011 03:16 AM
Re: Splitting a volume and creating new VG from that vol
which is part of a mirror lvol.
You need to split the mirror then reduce the
VG to free up the PV ( lun /dik) and then recreate a new VG from scratch ,you need
pvcreate ,vgcraete ,lvcreate ( same name can be used ).
Hope this help.
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 03:23 AM
тАО01-26-2011 03:23 AM
Re: Splitting a volume and creating new VG from that vol
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
тАО01-26-2011 04:11 AM
тАО01-26-2011 04:11 AM
Re: Splitting a volume and creating new VG from that vol
Let me rephrase.
Situation : The lvol abc is mirrored across 2 disks (disk21 and disk111) in VG vgsource.
Both disks are fine.
I want to break the mirror take disk111 out of vgsource and be able create a new VG (say vgnew) using disk111 and recreate the lvol abc with data well preserved !!!
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 04:14 AM
тАО01-26-2011 04:14 AM
Re: Splitting a volume and creating new VG from that vol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 04:15 AM
тАО01-26-2011 04:15 AM
Re: Splitting a volume and creating new VG from that vol
A LVOL always remains in the same VG.
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
тАО01-26-2011 04:22 AM
тАО01-26-2011 04:22 AM
Re: Splitting a volume and creating new VG from that vol
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 04:32 AM
тАО01-26-2011 04:32 AM
Re: Splitting a volume and creating new VG from that vol
Is your array able to "clone"?
However, you may consider to create another LUN, VG and LVOL and copy the data.
Why do you need the data in another VG?
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
тАО01-26-2011 05:16 PM
тАО01-26-2011 05:16 PM
Re: Splitting a volume and creating new VG from that vol
Assumption the lvol that you split off is on a separate disk
Example: VG has LVs 1, 2, and 3 on PVs 0 and 1. LVs 4, 5, and 6 on PVs 2, 3, 4, and 5.
# vgchange -a n VG
# vgexport -m MAP VG
# vgchgid PV2 PV3 PV4 PV5
# mkdir /dev/VG;
mknod /dev/VG/group c 64 0xnn0000
# Where nn is the original volume group number.
# mkdir /dev/new_VG;
mknod /dev/new_VG/group c 64 0xmm0000
# Where mm is the new volume group number.
# vgimport -m MAP /dev/VG PV0 PV1
# vgimport -m MAP /dev/new_VG PV2 PV3 PV4 PV5
# vgchange -a y -q n VG;
# vgchange -a y new_VG
# lvremove -f VG/LV4 VG/LV5 VG/LV6 new_VG/LV1 new_VG/LV2 new_VG/LV3
# vgreduce -f VG;
# vgreduce -f new_VG
# vgcfgbackup VG; vgcfgbackup new_VG
This is not a supported procedure or capability but it is using supported commands
Think it through and try it on crash and burn system.