Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Ubuntu machine running 12.04 LTS on it. I had a very small "/" partition at the beginning, say of 16 GB. Now i added a 50 GB to it which i split from another partition and added to the "/". All the process has been done through gparted. Even after extending the partition, it still doesn't show that 50GB in as free space. Te 50 GB i added is shown as used, the free space still remains close to 1GB which was the same before extending the partition. Any Suggestions?

share|improve this question
    
The partition size does not necessarily equal the filesystem size. You should use resize2fs to check this. Consult the manual on usage man resize2fs. – Baarn Dec 3 '12 at 7:21
    
@Informaficker but does doing that cause a data loss on my device ? – rahul Dec 3 '12 at 11:10
1  
normally it is safe, anyway you should always make a backup before resizing partitions. – Baarn Dec 3 '12 at 15:20
    
Please add the output of df to your question. – psusi Dec 3 '12 at 16:43

Resize your filesystem using resize2fs.

share|improve this answer
    
gparted does this for you. – psusi Dec 3 '12 at 16:42
    
@psusi Does it do so even if started from a live CD/USB? – haziz Dec 3 '12 at 17:19
    
@psusi i have already done this using gparted in live cd mode. – rahul Dec 4 '12 at 8:23
    
of course, that is the usual way one runs it. – psusi Dec 4 '12 at 15:25
    
I would still try to resize the filesystem using resize2fs (run as root (sudo resize2fs on Ubuntu)). You can create a backup of your data first if you have a safety concern. – haziz Dec 5 '12 at 1:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .