Ask Your Question
1

Instance not using up full space

asked 2013-09-05 09:24:37 -0500

hexatechnologies gravatar image

updated 2013-09-05 20:08:33 -0500

I have created new instance with Centos 6.4 with 20 GB Disk Space but when i logging to the VPS and Execute df -h the space shown as the following

Filesystem            Size  Used Avail Use% Mounted on
/dev/vda1             984M  706M  229M  76% /
none                 1012M     0 1012M   0% /dev/shm

and the output of fdisk -l

Disk /dev/vda: 21.5 GB, 21474836480 bytes
4 heads, 32 sectors/track, 327680 cylinders
Units = cylinders of 128 * 512 = 65536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a5c87

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1              17       16401     1048640   83  Linux

i need the vda1 taking all the space of vda how i can do this ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-09 17:40:30 -0500

Nate gravatar image

updated 2015-01-09 17:40:36 -0500

If you are wanting to manual expand this one, then this should help you out. http://geekpeek.net/resize-filesystem-fdisk-resize2fs/ (http://geekpeek.net/resize-filesystem...)

I used these steps for re-sizing my controller just a few days ago, so they should work. If you aren't using lvm, just ignore the parts about lvm mounts and unmounts etc etc. The process is still the same.

Just take your time and get it right the first time!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-05 09:24:37 -0500

Seen: 441 times

Last updated: Jan 09 '15