- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgreduce when PVG 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
Forums
Discussions
Discussions
Discussions
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
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-2005 05:58 AM
05-02-2005 05:58 AM
I have used vgreduce to do this before, but not when the volume group was part of a PVG. Does this complicate things or is the syntax the same? Do I need to manually edit /etc/lvmpvg once I've issued the vgreduce command?
Here is an excerpt from vgdisplay and /etc/lvmpvg:
vgdisplay -v /dev/vg05
--- Physical volumes ---
PV Name /dev/dsk/c9t0d0
PV Name /dev/dsk/c10t0d0 Alternate Link
PV Status available
Total PE 25077
Free PE 8437
Autoswitch On
--- Physical volume groups ---
PVG Name PVG5
PV Name /dev/dsk/c9t0d0
PV Name /dev/dsk/c10t0d0
/etc/lvmpvg:
VG /dev/vg05
PVG PVG5
/dev/dsk/c9t0d0
/dev/dsk/c10t0d0
Thanks,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 06:09 AM
05-02-2005 06:09 AM
SolutionPVG will not make any changes to earlier steps . You will have to check your /etc/lvmpvg file after reducing the VG and will have to update it manually because I think it is updated from vgcreate and vgextend and not perhaps vgreduce.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 06:13 AM
05-02-2005 06:13 AM
Re: vgreduce when PVG exists
Syntax is the same.
vgreduce /dev/vg05 /dev/dsk/cxtxdx
edit the /etc/lvmpvg file and remove the Alternate link entry i.e. /dev/dsk/c10t0d0 in your case.
By the way i assume you have more then 1 disk on the primary for extend based stripping correct? Since you have listed on 1 drive. 2 drives are needed to perform extend based stripping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 06:18 AM
05-02-2005 06:18 AM
Re: vgreduce when PVG exists
What he has done is correct only because he is stripping it with the disk accessed through alternate path ( Other controller). So it is providing a sort of load balancing.
It is a very good practice indeed if your controller is heavily loaded (When no. of disks is very high)
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2005 06:15 PM
05-02-2005 06:15 PM
Re: vgreduce when PVG exists
No it does not complicate things.
If a disk is included in a PVG and the VG is reduced of the disk it will remove that disk form the PVG config.
If the disk is the alternatepath nothing will happen, if the primarypath is reduced the I/O will switch to the 'alternatepath', the last one left in your case, and that will become the primarypath.
Beware: If you reduce the disk no failover will take place in case of a problem with the primarypath. But i assume you are familliar with that fact.
Klaas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 04:37 AM
05-03-2005 04:37 AM
Re: vgreduce when PVG exists
Vincent - Extent based striping is a little different than normal LVM stripes. You use a single disk/LUN and stripe across controllers. It will only work if you use physical volume groups and have a valid /etc/lvmpvg entry. If setup correctly it will round-robin through each physical volume in the PVG as extents are taken.
Keep in mind, an extent is usually fairly large (1mb, 4mb, 8mb etc...). It is load balancing at the extent level, not filesystem/block level.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 04:49 AM
05-03-2005 04:49 AM
Re: vgreduce when PVG exists
Yes it is a controller based stripping rather than a disk based stripping. As a result of this it supports load balancing in LVM which is not otherwise supported.
Vgreduce here also will remove the second path like normal alternate link being reduced.
HTH,
Devender