Quote:
Originally Posted by rknichols
Actually, you don't. Quote from the vgextend manpage: "If PhysicalDevicePath was not previously configured for LVM with pvcreate (8), the device will be initialized with the same default values used with pvcreate." To the OP: You just need to expand the filesystem to fill its new container. If this was an ext2/3/4 filesystem, the command would be
Code:
resize2fs /dev/vg_oracle/vg_oraflash
It is safe to run that while the filesystem is mounted -- resize2fs will let you know if it can't do it that way.
|
Worked like a champ - thanks!!!
[root@oem ~]# resize2fs /dev/vg_oracle/vg_oraflash
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/vg_oracle/vg_oraflash is mounted on /oraflash; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/vg_oracle/vg_oraflash to 2621440 (4k) blocks.
The filesystem on /dev/vg_oracle/vg_oraflash is now 2621440 blocks long.
[root@oem ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_oracle-vg_oraflash
9.9G 4.7G 4.7G 50% /oraflash
I noted the error in my syntax. "lvextend -L10G" extends the volume to a total size of 10GB, NOT by a further 10GB. Nonetheless, thank you all so much for your input. Case closed