How to extend root partition in linux
Hi everyone,
Can anyone help me how can i increase my /root FROM 17G to 50G partition in centos 5.4.
[root@localhost ~]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 131 1052226 83 Linux
/dev/sda2 132 2803 21462840 83 Linux
/dev/sda3 2804 3325 4192965 82 Linux swap / Solaris
/dev/sda4 3326 60801 461675970 5 Extended
/dev/sda5 3326 60801 461675938+ 8e Linux LVM
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 2.6G 17G 14% /
/dev/sda1 996M 39M 905M 5% /boot
tmpfs 1009M 0 1009M 0% /dev/shm
[root@localhost ~]#
|