- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to create a PVG when LVG with data exists
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
тАО09-14-2005 06:52 PM
тАО09-14-2005 06:52 PM
How to create a PVG when LVG with data exists
I have a vg00 with 2 disks. Some of the lv's are striped. I want to mirror the vg on 2 other disks. I got the suggestion that I should create a PVG, and mirror it to another PVG because the data is striped.
My question is: how do I make a PVG if the 2 pv's are already in vg00 and have data on them?
Thanx in advance,
Marlon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 07:17 PM
тАО09-14-2005 07:17 PM
Re: How to create a PVG when LVG with data exists
Not sure if I understand you correct. You can (of course) not creating a new volumegroup of two disks, already belonging to another volumegroup without removing the disks (and, destroying the data) from the first group (vg00 in your case).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 07:21 PM
тАО09-14-2005 07:21 PM
Re: How to create a PVG when LVG with data exists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 07:25 PM
тАО09-14-2005 07:25 PM
Re: How to create a PVG when LVG with data exists
LV Name /dev/vg00/lvol10
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 8000
Current LE 2000
Allocated PE 2000
Stripes 2
Stripe Size (Kbytes) 8
Bad block on
Allocation strict
IO Timeout (Seconds) default
As you can this on is striped. How can I make a physical volume group of the two disk in this LVG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 07:29 PM
тАО09-14-2005 07:29 PM
Re: How to create a PVG when LVG with data exists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 07:34 PM
тАО09-14-2005 07:34 PM
Re: How to create a PVG when LVG with data exists
You you send / check the output of /etc/lvmpvg and / or vgdisplay -v vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 10:15 PM
тАО09-14-2005 10:15 PM
Re: How to create a PVG when LVG with data exists
You cannot mirror stiped logical volumes. Physical Volume Groups (PVG) and mirrored logical volumes are associated with the concept of "distributed allocation".
See the manpages for 'vgcreate', 'lvcreate' and 'lvmpvg(4)' for more information. Note, in passing, that an /etc/lvmpvg file can be made before or after a volume group is established when applicable.
In my opinion, vg00 is based housed on one physical disk with a second disk implemented as a bootable mirror. You might want to consider using Ignite to reconfigure vg00 this way.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 06:22 PM
тАО09-15-2005 06:22 PM
Re: How to create a PVG when LVG with data exists
Mirroring a striped LV which allready exists is not possible. You can do this when creating the lv using the EXTEND-BASED MIRRORED STRIPES (see: man lvcreate) although i agree with James that you could/should consider setting up the vg00 again and possible create a new vg for the non-OS lv's that are in vg00 now. striping used within vg00 is not very common i guess but is used for large data lv's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 11:10 PM
тАО09-15-2005 11:10 PM
Re: How to create a PVG when LVG with data exists
- Make an ignite tape
- revover it onto the free disks
- reboot using the new disks
- recover onto the olddisks
- reboot
That should do the trick for me :)
Thanx again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 11:12 PM
тАО09-15-2005 11:12 PM
Re: How to create a PVG when LVG with data exists
- Make an ignite tape
- revover it onto the free disks
- reboot using the new disks
- recover onto the olddisks
- reboot
Thanx