- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- eliminate disk from volume group
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
09-11-2002 07:31 AM
09-11-2002 07:31 AM
Total PE 2676
Alloc PE 2169
Free PE 507
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/u01
LV Status available/syncd
LV Size (Mbytes) 8676
Current LE 2169
Allocated PE 2169
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c0t5d0
PV Status available
Total PE 507
Free PE 0
PV Name /dev/dsk/c1t8d0
PV Status available
Total PE 2169
Free PE 507
The first 2G is in use and 2G of the new disk is unused. I want to remove the old 2G disk from the vg. How should I do that at this point?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:41 AM
09-11-2002 07:41 AM
Re: eliminate disk from volume group
You have to use " vgreduce " command to eliminate a disk out vg.
So, please, give me all the vgdisplay -v exit command and explain to me a little more your problem.
I will try to help you.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:44 AM
09-11-2002 07:44 AM
Solution# pvmove -n /dev/vg01/u01 /dev/dsk/c0t5d0 /dev/dsk/c1t8d0
Check again with "vgdisplay". You should see c0t5d0 now has "Free PE=507".
Now vgreduce it ..
# vgreduce /dev/vg01 /dev/dsk/c0t5d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:13 AM
09-11-2002 08:13 AM
Re: eliminate disk from volume group
It appears that you might have increased the size of your /dev/vg01/u01, when in fact, you wanted to mirror it (otherwise, how could 8676 Mb fit on your old 2Gb-disk?).
Is there a file system on /dev/vg01/u01, or is it a raw lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 09:11 AM
09-11-2002 09:11 AM
Re: eliminate disk from volume group
You might need to do mirror the lvols from the first disk to second disk. Once all the logical volumes have been mirrored, you can reduce the mirror for first disk, vgreduce the first disk from the vg and then you can remove it from the system.
Hope this helps.
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 09:43 AM
09-11-2002 09:43 AM
Re: eliminate disk from volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 09:59 AM
09-11-2002 09:59 AM
Re: eliminate disk from volume group
Even if you choose to extendfs it now as it is so that the FS catches up with the LV, pvmove can still be run afterwards. If you choose to do this then obviously there is no need to extendfs afterwards.
Basically either way it'll work, extendfs is only run once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 10:00 AM
09-11-2002 10:00 AM
Re: eliminate disk from volume group
You will use lvextend and extendfs only if you need to use the additional 2GB free space on new 9GB disk.
Thanks.
Prashant.