This is the original output of fdisk -l
:
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
/dev/sda3 269 2611 18818810 83 Linux
I've added another disk space and reboot, now it is:
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
/dev/sda3 269 2611 18818810 83 Linux
This is the content of /etc/fstab
:
LABEL=/ / ext3 grpquota,usrquota,rw 0 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
This is the output of df -T
:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda3 ext3 18231732 16718804 571992 97% /
/dev/sda1 ext3 101086 37191 58676 39% /boot
tmpfs tmpfs 513040 0 513040 0% /dev/shm
And this is the output of mount
:
/dev/sda3 on / type ext3 (rw,grpquota,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
What are the steps to mount the additional space on the root partition /
(in addition to the current /dev/sda3
space) ?
I'm on a VPS, no LVM, no physical access, just remote ssh.
My OS is CentOS 5.8 x86_64.