- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgextend problem
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
Forums
Discussions
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
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
08-23-2000 02:36 AM
08-23-2000 02:36 AM
vgextend problem
I am extending a VG by adding a new disk
to increase the FREE PE's (increase free
space) on the VG.
After doing the vgextend also the vgdisplay
shows the same FREE PE's as before vgextend.
Is any one Know the solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 02:43 AM
08-23-2000 02:43 AM
Re: vgextend problem
Did you execute pvcreate to prepare the physical volume for use in LVM?
Bye,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 02:51 AM
08-23-2000 02:51 AM
Re: vgextend problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 02:59 AM
08-23-2000 02:59 AM
Re: vgextend problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 03:19 AM
08-23-2000 03:19 AM
Re: vgextend problem
Try doing a "vgchane -a y /dev/vg??" after vgextend.
If yes then do a "strings /etc/lvmtab" and see if you can see the disk i.e.(/dev/dsk/c?t?d?) under the Volume group. For ex.
"/etc/lvmtab:"
/dev/vg??
/dev/dsk/c?t?d?
Also do a "vgdisplay -v /dev/vg?? | grep PV" name.
If still things doesn't work then i suggest you put the vg details and command you used to configure the disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 03:19 AM
08-23-2000 03:19 AM
Re: vgextend problem
then extendfs -F (filesystem) /dev/vgnn/rlvoln
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 03:20 AM
08-23-2000 03:20 AM
Re: vgextend problem
Did you extend the filesystems? If not do lvextend -L NNN /dev/vgnn/lvoln;
then extendfs -F (fsytyp) /dev/vgnn/rlvoln
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 06:27 AM
08-23-2000 06:27 AM
Re: vgextend problem
Rename the /etc/fstab? You mean /etc/lvmtab, then run vgscan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 02:15 PM
08-24-2000 02:15 PM
Re: vgextend problem
Remove your ?/etc/lvmtab" and re-create it with "vgscan" (see man-page first).
Then do the "vgdisplay -v" and tell us the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 02:20 PM
08-24-2000 02:20 PM
Re: vgextend problem
Tought you might need this..when extending volume group from a new disk
1. ioscan -fnC
2. pvcreate /dev/rdsk/c1t5d0 = (the device file depends on the results of #1.) If there are errors that the disk contains some LVM information, try pvcreate -f /dev/rdsk/c1t5d0.
3. vgextend /dev/vg01 /dev/dsk/c1t5d0 = The volume group has additional free PEs now.
Thanks
Joey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 05:55 AM
08-25-2000 05:55 AM
Re: vgextend problem
And like the MAXPV's, cannot be changed on the fly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 05:59 AM
08-25-2000 05:59 AM
Re: vgextend problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 08:17 AM
08-25-2000 08:17 AM
Re: vgextend problem
When you create the volume group it will default "Max PE per PV" to the size of the largest disk you are adding at that time and it can not be changed later. There have been several discussion related to this in the forums.
My preference is to increase it when I create a volume group. If I'm starting with a 4GB drive I may set max pe to accomodate a 9GB drive in case I add that size drive in the future.
There is some overhead associated with increasing any of the parameters when you create a volume group. There also is no formula or "right" answer to tell you whether to modify those parameters. It depends on so many variable in your environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 06:13 AM
08-28-2000 06:13 AM
Re: vgextend problem
2) vgextend /dev/vgxx/dev/dsk/c2t6d0
3)lvextend -L size of volgroup /dev/vgxx/lvxx
4)extendfs -F vxfs /dev/vgxx/rlvolxx
after doing all this then mount your file system back again.
substitute xx with your vggroup and logical volumes.