Quick how to on extending ocfs2 files system
The below steps to performed on mercury-host1 for extending ocfs2 filesystem.
[root@mercury-host1 /]# lsof /DATA2
[root@mercury-host1 /]# df -h
[root@mercury-host1 /]# vgs
[root@mercury-host1 /]# lvs
[root@mercury-host1 /]# lvextend -L +35G /dev/vg1/ORACLE_DATA2
[root@mercury-host1 /]# vgs
[root@mercury-host1 /]# lvs
[root@mercury-host1 /]# umount /DATA2
[root@mercury-host1 /]# tunefs.ocfs2 -S /dev/mapper/vg1-ORACLE_DATA2
[root@mercury-host1 /]# mount -a
[root@mercury-host1 /]# df -h
The output is intentionally removed as they were long.
Comments