HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change Volume Group
Operating System - HP-UX
1832296
Members
1806
Online
110041
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-03-2007 07:46 AM
04-03-2007 07:46 AM
Change Volume Group
Hi, pls samebody help me.
I have a Volume Group named "vg00" this vg has 3 disc, this vg has SO and a file system named PRDu01, the command vgdisplay is:
# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 4384
VGDA 6
PE Size (Mbytes) 32
Total PE 8748
Alloc PE 3096
Free PE 5652
Total PVG 0
Total Spare PVs 1
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 320
Current LE 10
Allocated PE 20
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 256
Current LE 8
Allocated PE 16
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 3424
Current LE 107
Allocated PE 214
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 2496
Current LE 78
Allocated PE 156
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 144
Allocated PE 288
Used PV 2
LV Name /dev/vg00/lvu11
LV Status available/syncd
LV Size (Mbytes) 30016
Current LE 938
Allocated PE 1876
Used PV 2
LV Name /dev/vg00/lvsql
LV Status available/syncd
LV Size (Mbytes) 224
Current LE 7
Allocated PE 14
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 2826
Autoswitch On
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 2826
Autoswitch On
PV Name /dev/dsk/c3t2d0
PV Status available/standby spare
Total PE 4374
Free PE 4374
Autoswitch On
------------
I want to do 2 (two) vg, "vg00" and "vg01" and after put the file system "PRDu01" on vg01, I can do break the spare ? how to do all ?
Thanks.
I have a Volume Group named "vg00" this vg has 3 disc, this vg has SO and a file system named PRDu01, the command vgdisplay is:
# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 4384
VGDA 6
PE Size (Mbytes) 32
Total PE 8748
Alloc PE 3096
Free PE 5652
Total PVG 0
Total Spare PVs 1
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 320
Current LE 10
Allocated PE 20
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 256
Current LE 8
Allocated PE 16
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 3424
Current LE 107
Allocated PE 214
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 2496
Current LE 78
Allocated PE 156
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 144
Allocated PE 288
Used PV 2
LV Name /dev/vg00/lvu11
LV Status available/syncd
LV Size (Mbytes) 30016
Current LE 938
Allocated PE 1876
Used PV 2
LV Name /dev/vg00/lvsql
LV Status available/syncd
LV Size (Mbytes) 224
Current LE 7
Allocated PE 14
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 2826
Autoswitch On
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 4374
Free PE 2826
Autoswitch On
PV Name /dev/dsk/c3t2d0
PV Status available/standby spare
Total PE 4374
Free PE 4374
Autoswitch On
------------
I want to do 2 (two) vg, "vg00" and "vg01" and after put the file system "PRDu01" on vg01, I can do break the spare ? how to do all ?
Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 09:48 AM
04-03-2007 09:48 AM
Re: Change Volume Group
Unsparing operation on the PV can be done as follows:
# pvchange -z n /dev/dsk/c3t2d0
this makes /dev/dsk/c3t2d0 a regular PV which can be vgreduce'ed out of vg00. To move PRDu01 onto vg01 create a large enough lvol on vg01; backup and unmount PRDu01; restore PRDu01 data from backup onto the vg01 lvol.
# pvchange -z n /dev/dsk/c3t2d0
this makes /dev/dsk/c3t2d0 a regular PV which can be vgreduce'ed out of vg00. To move PRDu01 onto vg01 create a large enough lvol on vg01; backup and unmount PRDu01; restore PRDu01 data from backup onto the vg01 lvol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 12:23 AM
04-04-2007 12:23 AM
Re: Change Volume Group
Ok, Thanks in advance, but I thinks that first I reduce the logical volum, and other thing, I need the action plan, because I don't know unix, please, thanks for all.
FC
FC
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP