- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgmodify help
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
тАО06-03-2010 10:06 AM
тАО06-03-2010 10:06 AM
Re: vgmodify help
"pvmove cannot be performed if the volume group is activated in shared
mode."
This VG in question is clustered across two nodes & has LUNs from an external storage presented to two nodes. Currently the VG is active only on the primary node with the secondary node acting as failover. In this scenario, will the pvmove command work on the primary node, since the LUNs are shared across both the nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2010 12:23 PM
тАО06-03-2010 12:23 PM
Re: vgmodify help
> Currently the VG is active only on the primary node with the secondary node acting as failover.
Then the volume group isn't in "shared" mode. Shared means that it is active for read/write on both nodes. See the 'lvchange(1M)' manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2010 06:13 PM
тАО06-03-2010 06:13 PM
Re: vgmodify help
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2010 07:37 PM
тАО06-03-2010 07:37 PM
Re: vgmodify help
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
тАО06-03-2010 07:42 PM
тАО06-03-2010 07:42 PM
Re: vgmodify help
# pvmove /dev/dsk/c3t0d1:0 /dev/dsk/c3t0d1
pvmove: The volume group "/dev/vg01" is not active. Only an active
volume group can be extended.
# vgchange -a y vg01
Activated volume group
Volume group "vg01" has been successfully changed.
# pvmove /dev/dsk/c3t0d1:0 /dev/dsk/c3t0d1
Transferring logical extents of logical volume "/dev/vg01/lvol1"...
Physical volume "/dev/dsk/c3t0d1" has been successfully moved.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.con
f
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
тАО06-04-2010 02:55 AM
тАО06-04-2010 02:55 AM
Re: vgmodify help
#pvmove /dev/disk/disk2909:0 /dev/disk/disk2909
pvmove: Not enough free physical extents available.
Logical volume "/dev/orvg_db01/lvdat01" could not be extended.
pvmove: Cannot find a free physical extent for logical extent 0
of logical volume "/dev/orvg_db01/lvdat01".
#vgdisplay orvg_db01
--- Volume groups ---
VG Name /dev/orvg_db01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 1023
VGDA 6
PE Size (Mbytes) 32
Total PE 2557
Alloc PE 2206
Free PE 351
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
I need to free up the first extent on all the below luns
Physical Extent zero is not free on all PVs. You will not achieve these
values until the first extent is made free (see pvmove(1M)) on all the
following disks:
/dev/rdisk/disk2909
/dev/rdisk/disk2913
/dev/rdisk/disk4684
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2010 03:00 AM
тАО06-04-2010 03:00 AM
Re: vgmodify help
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
тАО06-04-2010 03:22 AM
тАО06-04-2010 03:22 AM
Re: vgmodify help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2010 03:26 AM
тАО06-04-2010 03:26 AM
Re: vgmodify help
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
тАО06-04-2010 04:24 AM
тАО06-04-2010 04:24 AM
Re: vgmodify help
#vgmodify -a -p 24 -e 4348 orvg_db01
Usage: vgmodify
[-e MaxPhysicalExtents]
[-p MaxPhysicalVolumes]
[-l MaxLogicalVolumes]
[-v]
[-n]
[-r]
[-B bootable]
VolumeGroupName {[pv_path] [pv_path] ....}
or vgmodify -o [-v] [-r] [-B bootable] VolumeGroupName {[pv_path] ....}
or vgmodify -t [-v] [-n] [-B bootable] VolumeGroupName {[pv_path] ....}
"a": Illegal option.
#vgmodify -p 24 -e 4348 orvg_db01
vgmodify: The volume group "orvg_db01" is active on this system.
Cannot perform requested change.