Pages

Monday, February 7, 2011

File system extension

Extension of a filesystem is an online process if online JFS is installed in the machine. If not, the file system needs to be unmounted before running the fsadm command.

lvextend -L 127370 /dev/vg01/sapdata4lv
fsadm -F vxfs -b 127370M /oracle/sapdata4

Logical Volume Name - /dev/vg01/sapdata4lv
FS Name - /oracle/sapdata4
127370 - Total Size in MB

PS: Lvextend size must be the currently allocated size plus the size that needs to be extended.

No comments: