Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

No Space Left on Device, but device has tons of space.... CONFUSED!!

Posted on 2004-08-16
5
Medium Priority
?
360 Views
Last Modified: 2010-04-20


When I type my "mail" command i get

/tmp: No Space Left On Device

I've ran the following commands and here's what I get:

[root@board tmp]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda8             494M  108M  360M  23% /
/dev/sda3              23M  4.7M   16M  22% /boot
none                  502M     0  502M   0% /dev/shm
/dev/sda9              61M  4.1M   53M   8% /tmp
/dev/sda5              19G  1.8G   15G  10% /usr
/dev/sda7              11G  5.4G  5.2G  51% /var
/dev/sda2            1011M  237M  723M  25% /home

[root@board tmp]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda8             130560   18850  111710   15% /
/dev/sda3               6024      42    5982    1% /boot
none                  128554       1  128553    1% /dev/shm
/dev/sda9              16064     330   15734    3% /tmp
/dev/sda5            2480640   91679 2388961    4% /usr
/dev/sda7            1488032  240166 1247866   17% /var
/dev/sda2             131616    9974  121642    8% /home


Any ideas?

Thanks
0
Comment
Question by:sneidig
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:da99rmd
ID: 11812123
Hi sneidig,
how big is your mail file ?
/var/spool/mail/<username>

otherwise run a fsck to solve the problem can e som filesystem inconsistency.

/Rob
0
 

Author Comment

by:sneidig
ID: 11812160
104M

0
 
LVL 8

Accepted Solution

by:
da99rmd earned 2000 total points
ID: 11812243
sneidig,
so you mean that 104 MB would fit on this post :)
>/dev/sda9              61M  4.1M   53M   8% /tmp

check man for mail and try moving the temp dir of mail to another dir with the space required.
or empty the mail file befor manually with an text editor.

cp  /var/spool/mail/<username> /var/spool/mail/<username>.bak
vim /var/spool/mail/<username> #and remove som old mails for example mail with attacjments, you have the backup left.



/Rob
0
 

Author Comment

by:sneidig
ID: 11812571
Whats the easist way to clean out this file?
0
 

Author Comment

by:sneidig
ID: 11813003
Ok, i got it fixed. I just kept removing mail until i was able to access the mail command.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

721 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