November
18
Linux: Expand an ext3 partition after disk has already been enlarged
This process is similar to expanding an LVM partition, but the server must be rebooted
fdisk -l you have the list of normally 2 partitions, second beginning 137216 (Verify and write down this number before proceding)
fdisk /dev/sda
d to delete a partiton
2 the second
the 2nd partition is now deleted
n create partition
accept default primary, second partition but entry the good beginning address
137216 (This should be whatever number you wrote down above)
If you make a mistake quit without saving change with q
otherwize w will write the new table to disk
sudo reboot
sudo resize2fs /dev/sda2