Solved

urgent :allocate more harddisk for my home folder

Posted on 2011-09-04
9
364 Views
Last Modified: 2012-05-12
Hi there,

I have installed ubuntu 10.04 on my pc and it  has been running out of space and it appears that my home folder only have 3.9 GB. How do i increase the hard disk space ? Thanks.

I did a df-h and this is what I got:

Filesystem            Size Used Avail Use% Mounted on
/dev/sda7              31G   12G   19G  38% /
none                  1.9G  288K  1.9G   1% /dev
none                  1.9G  260K  1.9G   1% /dev/shm
none                  1.9G   84K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
/dev/sda3             485M   44M  416M  10% /boot
0
Comment
Question by:zizi21
  • 5
  • 4
9 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36480150
> my home folder only have 3.9 GB.
> /dev/sda7              31G   12G   19G  38% /
Where is your home folder? The df -h result doesn't show your home folder.
Please do
cd ( go back to home dir)
df  -h  .

Besides, please post the error messages about "out of space" to verify whether  the home folder is full or not.
0
 

Author Comment

by:zizi21
ID: 36480155

Hi wesly_chen,

I went to my home dir and even though i did df -h, i cant see my home folder on the output. When I logged into the computer, it showed that i used my space so i cleared up a lot of the data..i need more space to run some applications on my computer...i have installed ubuntu on my own computer..
0
 

Author Comment

by:zizi21
ID: 36480390
any help is appreciated .
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:zizi21
ID: 36480397
i did du-h and this is what i got
1.6G      /home/zizi
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36480702
Please post the full output of
df -h  .
  The most important thing is Filesystem and Size.
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 36480705
Also please post
sudo  fdisk  -l

cat   /etc/fstab
0
 

Author Comment

by:zizi21
ID: 36481190
This is the full output ...
-----
Filesystem            Size Used Avail Use% Mounted on
/dev/sda7              31G   30G   81M 100% /
none                  1.9G  288K  1.9G   1% /dev
none                  1.9G  184K  1.9G   1% /dev/shm
none                  1.9G   80K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
/dev/sda3             485M   44M  416M  10% /boot
----
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 500 total points
ID: 36481211
No,  Please cd to your home dir first.
cd
then do
df -h ..   ( . present current directory)
   Post the FULL output (not just part of it)

Because I don't see any "1.6G      /home/zizi"  from (df -h) output.

Also, please post
sudo   fdisk   -l   (lower case L)
cat    /etc/fstab
0
 

Author Comment

by:zizi21
ID: 36482411
hi wesly_chen,

Thanks for looking into this. I think, i would close the question first. You did help me by pointing out to check whether i have exceeded the hard disk. i did something on my own (my fault) and i crashed the pc. someone is helping me to restart the pc.

If i face any problems regarding the hard disk, i would post another question.

thanks again.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question