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
тАО10-30-2007 08:31 PM
тАО10-30-2007 08:31 PM
i tried to vgextend all the disks that had a description of SYMMETRIX in ioscan; getting teh following message:
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
root@abcd:/> vgextend /dev/vg01 /dev/dsk/c2t2d4
vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (209774).
Using only 1016 PEs from this physical volume.
Current path "/dev/dsk/c2t0d0" is an alternate link, skip.
Current path "/dev/dsk/c2t2d2" is an alternate link, skip.
Volume group "/dev/vg01" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
root@abcd:/> vgextend /dev/vg01 /dev/dsk/c2t2d5
vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (209774).
Using only 101vgextend /dev/vg01 /dev/dsk/c2t2d6
vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (209774).
Using only 1016 PEs from this physical volume.ip.
Current path "/dev/dsk/c2t0d0" is an alternate link, skip.
Current path "/dev/dsk/c2t2d2" is an alternate link, skip.
Current path "/dev/dsk/c2t2d4" is an alternate link, skip. /etc/lvmconf/vg01.conf
Current path "/dev/dsk/c2t2d5" is an alternate link, skip.
Volume group "/dev/vg01" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
any ideas.
ps: all i am trying to do is add a new volume group that will be made up of all teh disks that point to the disk. do i need to make a change to max PVs?
sorry for the 2 questions in one -- just getting confused.-- not good, though all part of learning process.
thanks on advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 08:37 PM
тАО10-30-2007 08:37 PM
Re: vgextend
you are trying to add a big disk to a vg . but vg values are small for this disk.
you have 2 choices.
1. recreate the vg with larger parameters
vgcreate -p xx -s yy ( you need to backup and restore )
2. use smaller disks. but this time you will get problem max_pv parameter.
what is your pe size .
could you paste "vgdisplay vg01 "
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 08:40 PM
тАО10-30-2007 08:40 PM
Re: vgextend
It looks like the disk you are trying to add is bigger than what your volume configuration can handle.
If this is a new vg (but I don't see the vgcreate command) recreate the VG with different parameters.
If this is an existing VG, just ive with it thatit can't use the complete diosk capacity, or create a new, bigger VG on the new disk, migrate your data to the new VG, drop the old VG and add the old disks to the new VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 08:47 PM
тАО10-30-2007 08:47 PM
Re: vgextend
When you create the VG, you need to make sure that the Max_PE can accomodate the next disk (if you would like to extend the VG).
See man page of vgcreate for more details :
-e max_pe
Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group. The default value for max_pe is 1016. However, if the size of any physical volume exceeds 1016 times the pe_size, the default value for max_pe is adjusted to match the physical volume size. The maximum number of physical extents can be a value in the range 1 to 65535.
-p max_pv
Set the maximum number of physical volumes that the volume group is allowed to contain. The default value for max_pv is 16. The maximum number of physical volumes can be a value in the range 1 to 255.
Hope this information can help.
Regards,
AW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 08:49 PM
тАО10-30-2007 08:49 PM
Re: vgextend
to avoid the error message with the pvs what is the syntex so it that i do not get the pv message.
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 08:53 PM
тАО10-30-2007 08:53 PM
Re: vgextend
root@abcd:/> vgextend /dev/vg01 /dev/dsk/c2t2d4
vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (209774).
also the following messages-- anyone know wht the mean?
Current path "/dev/dsk/c2t0d0" is an alternate link, skip.
Current path "/dev/dsk/c2t2d2" is an alternate link, skip.
Current path "/dev/dsk/c2t2d4" is an alternate link, skip.
Current path "/dev/dsk/c2t2d5" is an alternate link, skip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 08:58 PM
тАО10-30-2007 08:58 PM
Solutionz : The maximum number of physical disks you ever want to include into this VG. You could set it to 4 right now, but if you think you me ever need to increase the VG, you can as well set it to 8 or 16 or so.
y : The extent size, your choice. Depends a little on the onderlying hardware architecture
x : Make sure x * y is equal to or bigger than 410G. For instance, if y : 4 (4 megabyte extent size, a value of 102400 of x would give you 409600 maximu disk usage or 400G (so this is a little too small).
My tip, make x large enough, so that you can later add disks with double the capacity of the current disks, or you may later have to conclude that you cannot extend your VG enough to handle the increased storage request.
Another thing, the extent size must be nig enough to get 1 extent map for the PV into 1 extent. If vgcreate complains that the maximum numbr of extents is too big, double the extent size and half the number of extents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 11:53 PM
тАО10-30-2007 11:53 PM
Re: vgextend
mkdir /dev/vgtest
mknod /dev/vg01/group c 64 0x0m0000 ( m should be a free number in groups )
vgcreate -s 32 -e 65535 /dev/vgtest /dev/dsk/c2t2d4
and lvcreate ..
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 12:13 AM
тАО10-31-2007 12:13 AM