No space left on device

sachin
hello i am facing issue last 2 days..
df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda6       285G  285G     0 100% /
udev            2.0G   12K  2.0G   1% /dev
tmpfs           392M  864K  391M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G   48M  1.9G   3% /run/shm

it shows disk space is full but i am using less space out of 285GB?
how it can be fix? plz anyone tell me...

thanks

davef
It might help to state what the board is and what Linux distro you are
using.

sachin
i am using ubuntu 12.04 32 bit

when i start my pc and login to my user it shows following window ==>

"the system is running in low-graphics mode" ==>
your screen,graphics card and input device setting could not be detected
correctly.you will need to configure these yourself.


in my pc there are 2 os first windows 7 and second ubuntu 12.04..my windows
is properly running but when i login to ubuntu it shows above message i
cant access to
it cant be fix....

davef
Would be better to ask on ubuntuforums.

Are you able to check trash?  Do you have gparted on your Ubuuntu distro
and can you access it?

Were you ever able to run Ubuntu after installing it?

sachin
hello i assembled the new pc and work.

but i cant access data in my old pc because of error but when i type
ctrl+alt+F2 then i got terminal when i type command

df -h

it show fullspace 
/dev/sda6       285G  285G     0 100% /
udev            2.0G   12K  2.0G   1% /dev
tmpfs           392M  864K  391M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G   48M  1.9G   3% /run/shm

and when i update or upgrade pc 
sudo apt-get install or sudo apt-get upgrade

it cant update.

davef
Seeing as you have access to the command line, maybe try:

cd /
ls -la 

then you will see all the directories in root, maybe /home has too much on
it.  Maybe /var/log has become LARGE, although I thought logs were
automatically pruned to keep them under control.

So, have you got some extremely large directories?

Also, you didn't answer my questions ... which will limit my ability to
figure out what could be wrong.

sachin
now automatic i have login to my user account 
but when i execute the command it shoe more space to occupied instead it is
free..
sometime error show and some time not 
 
sachin@Atishay:~/ltib$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6       285G  253G   30G  90% /
udev            2.0G  4.0K  2.0G   1% /dev
tmpfs           392M  864K  391M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G   17M  1.9G   1% /run/shm

sachin
sachin@Atishay:/$ ls -la
total 104
drwxr-xr-x  24 root root  4096 Dec 25 12:49 .
drwxr-xr-x  24 root root  4096 Dec 25 12:49 ..
drwxr-xr-x   2 root root  4096 Nov  3 15:53 bin
drwxr-xr-x   3 root root  4096 Nov  3 15:56 boot
drwxr-xr-x   2 root root  4096 Sep 23 16:58 cdrom
drwxr-xr-x  15 root root  4420 Dec 31 12:31 dev
brw-r-----   1 root root  8, 6 Dec 23 15:06 devsda3
drwxr-xr-x 145 root root 12288 Dec 31 12:30 etc
drwxrwxrwx   3 root root  4096 Nov 18 17:12 home
lrwxrwxrwx   1 root root    33 Sep 23 17:06 initrd.img ->
boot/initrd.img-3.11.0-15-generic
lrwxrwxrwx   1 root root    34 Sep 23 16:56 initrd.img.old ->
/boot/initrd.img-3.11.0-15-generic
drwxr-xr-x  22 root root  4096 Nov  3 15:53 lib
drwxr-xr-x   2 root root  4096 Nov 26 12:17 lib64
drwxr-xr-x  11 root root  4096 Dec 21 15:20 media
drwxr-xr-x   3 root root  4096 Oct 15 18:17 mnt
drwxr-xr-x   4 root root  4096 Dec 23 13:00 opt
dr-xr-xr-x 186 root root     0 Dec 31  2015 proc
drwx------  13 root root  4096 Nov 24 13:23 root
drwxr-xr-x  19 root root   680 Dec 31 12:30 run
drwxr-xr-x   2 root root 12288 Dec 25 10:25 sbin
drwxr-xr-x   2 root root  4096 Mar  5  2012 selinux
drwxr-xr-x   2 root root  4096 Feb  4  2014 srv
dr-xr-xr-x  13 root root     0 Dec 31  2015 sys
drwxrwxrwt  11 root root 12288 Dec 31 12:40 tmp
drwxr-xr-x   3 root root  4096 Dec 18 16:49 tools
drwxrwxrwx  17 root root  4096 Nov 18 11:37 usr
drwxr-xr-x  13 root root  4096 Dec 25 13:15 var
lrwxrwxrwx   1 root root    30 Sep 23 17:06 vmlinuz ->
boot/vmlinuz-3.11.0-15-generic

sachin
after entering via ctrl+alt+f2 i clean some unnecessary data and files.

which create some temporary empty space so that i can login as normal user
then i removed all data on trash.

but again in doing sudo apt-get update or upgrade same issue appears.

also on my system i am using windows 7 along with ubuntu 12.04 in my case
when i log in using windows it works perfectly.

i am not sure is it issue regarding disk partition where my ubuntu tooks
some extra space as required

davef
On 2nd thought looking at the size of directories is going to be a long
painful process.

Try:

sudo apt-get install minicom (which you probably already have) does it say
you have it?

apt-get uses a list in/etc/apt called sources.list (I think)

Can you ping www.google.com ?

What is the error message you get when you

   apt-get update
?

sachin
now when i enter command from net 

->sudo apt-get install --reinstall ubuntu-desktop
->sudo reboot
->sudo apt-get update 
->sudo apt-get upgrade

it execute succesfull and now i am check 

->df -h
sachin@Atishay:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6       285G  200G   83G  71% /
udev            2.0G  4.0K  2.0G   1% /dev
tmpfs           392M  864K  391M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G   44M  1.9G   3% /run/shm

sachin
but now space is automatic full again slowly==>


sachin@Atishay:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6       285G  221G   62G  79% /
udev            2.0G  4.0K  2.0G   1% /dev
tmpfs           392M  864K  391M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G   83M  1.9G   5% /run/shm

davef
1) Try your install again
2) Disconnect yourself from the net and observe /dev/sda6
3) There is a good chance this has happened to someone else, so again
search the Ubuntu forums

sachin
finally i have erase old and install new one ubuntu solved the
issue..thanx@davef

davef
> erase old and install new one ubuntu, what ... desktop?

and it didn't work the previous time

->sudo apt-get install --reinstall ubuntu-desktop 


Or, did you do a complete ubuntu install?

sachin
yes i have completely remove old one and install new...

this command "sudo apt-get install --reinstall ubuntu-desktop" solved the
error of "the system running in low graphics mode" only but the space issue
remains same thats why i install new....now it works properly.

sachin
install new ubuntu 12.04

davef
Now you can do some serious development!

sachin
yes..