I am new here. We have a Centos 6.4 installation, on a 2 TB disk. The root partition is 50 GB, and the other partition is 1.95 TB. We have an application freeswitch that resides in /usr/local/ which is in the root partition. Because we have files written on a regular basis, we run over the 50GB limit on regular basis. The /usr/local/freeswitch folder resides in the root partition.
Can I extend the size of the root partition ?
or, how do I go about using the other partition.
fdisk -lu /dev/sd[a-z]
pvs[root@bfree-server ravi]# fdisk -lu /dev/sd[a-z]
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0006af3f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 1026048 3907028991 1953001472 8e Linux LVM
lvs[root@bfree-server ravi]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_bfreeserver lvm2 a-- 1.82t 0
vgs[root@bfree-server ravi]# lvs
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
lv_home vg_bfreeserver -wi-ao--- 1.76t
lv_root vg_bfreeserver -wi-ao--- 50.00g
lv_swap vg_bfreeserver -wi-ao--- 7.64g
to avoid over running the space on root partition, we either have to extend the root partition or be able to write the files on the other home partition. Any help is appreciated.[root@bfree-server ravi]# vgs
VG #PV #LV #SN Attr VSize VFree
vg_bfreeserver 1 3 0 wz--n- 1.82t 0
Thanks.
Ravi