Buen dia, Tarde, Noche Tengo un volume Group que fue creado con los valores por default ahora es necesario crecer unos filesystems de 200GB a 300 GB pero la limitante que se tiene es de 255GB, por un valor del volume Group y ahora requiero cambiar ese valor segun una documentacion Replicando lo que se creo para su informacion es lo sig. # fdisk /dev/sdb1 Command (m for help): t Partition number (1-4): 1 Hex code (type L to list codes): 8e Command (m for help): w # vgscan vgscan - reading all physical volumes (this may take a while...) vgscan - no volume groups found # pvcreate /dev/sdb1 /dev/sdc2 pvcreate - reinitializing physical volume pvcreate - physical volume "/dev/sdb1" successfully created ... # vgcreate vg1 /dev/sdb1 /dev/sdc2 vgcreate - INFO:using default physical extent size 4 MB vgcreate - INFO: maximum logical volume size is 255.99 Gigabyte vgcreate - doing automatic backupof volume group "vg1" vgcreate - volume group "vg1" successfully created and activated El Physical Extent Size tiene un valor por defecto de 4mb, este permite un maximo de 256 GB para volumenes fisicos y logicos. En caso de necesitar mayor capacidad debe ingrementarse este numero. La documentacion de SLES dice: In the dialog LVM, manange the LVM volume groups. If no volume group exists on your system yet, add one. system is suggested as a name for the volume group in which the SUSE LINUX system files are located. Physical extent size (PE size) defines the maximum size of a physical and logical volume in this volume group. This value is normally set to four megabytes. This allows for a maximum size of 256 GB for physical and logical volumes. The physical extent size should only be increased if you need logical volumes larger than 256 GB (e.g., to 8, 16, or 32 MB). Porfavor alguien que tenga alguna alternativa apra cambiar este valor para realizar estos cambios ? Esperando sus valiosos comentarios quedo en espera de ellos. Gracias!!! Alejandro Rojas Soporte Tecnico ------------------- Skytel: 52277979 Pin: 5318038 ________________________________________________________________ Sent via the WebMail system at mail.stimx.com
Sólamente puede ser definido el valor de PhysicalExtends cuando se
crea el volume group con el parámetro -s de vgcreate.
Según el man de vgcreate:
-s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
Sets the physical extent size on physical volumes of this vol-
ume group. A size suffix (k for kilobytes up to t for ter-
abytes) is optional, megabytes is the default if no suffix is
present. Values can be from 8 KB to 16 GB in powers of 2. The
default is 4 MB. Once this value has been set, it is difficult
to change it without recreating the volume group which would
involve backing up and restoring data on any logical volumes.
If the volume group metadata uses lvm1 format, there is a limit
of 65534 extents in each logical volume, so the default of 4 MB
leads to a maximum logical volume size of around 256GB. If the
volume group metadata uses lvm2 format there is no such
restriction, although having a large number of extents will
slow down the tools but have no impact on I/O performance to
the logical volume. The 2.4 kernel has a limitation of 2TB per
block device.
Así que habría que eliminar el volumen group y volverlo a crear.
On 3/17/06, Alejandro Rojas
Buen dia, Tarde, Noche
Tengo un volume Group que fue creado con los valores por default ahora es necesario crecer unos filesystems de 200GB a 300 GB pero la limitante que se tiene es de 255GB El Physical Extent Size tiene un valor por defecto de 4mb, este permite un maximo de 256 GB para volumenes fisicos y logicos. En caso de necesitar mayor capacidad debe ingrementarse este numero.
Porfavor alguien que tenga alguna alternativa apra cambiar este valor para realizar estos cambios ?
-- Saludos Oscar
participants (2)
-
Alejandro Rojas
-
Oscar Gosdinski