Device out of space error

My SUSE server has been filling my inbox with mail; error messages saying that the device is out of space. Below is one such email:

*Transcript of session follows.

Out: 220 xxxx.math.ndsu.xxxxx.edu ESMTP Postfix
In: HELO vaccine1.xxxxx.edu
Out: 250 xxxx.math.ndsu.xxxxx.edu
In: MAIL FROM:<>
Out: 452 Insufficient system storage

Session aborted, reason: lost connection
*

Also, my daily cron mail says this:

cat: write error: No space left on device

df output:
*
df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-root_lv
4.0G 211M 3.8G 6% /
tmpfs 8.0G 8.0K 8.0G 1% /dev/shm
/dev/sda3 204M 40M 165M 20% /boot
/dev/mapper/system-home_lv
20G 1.9G 19G 10% /home
/dev/mapper/system-opt_lv
4.0G 451M 3.6G 11% /opt
/dev/mapper/system-srv_lv
4.0G 128M 3.9G 4% /srv
/dev/mapper/system-tmp_lv
3.0G 49M 3.0G 2% /tmp
/dev/mapper/system-usr_lv
8.0G 2.6G 5.5G 32% /usr
/dev/mapper/system-var_lv
3.0G 3.0G 6.6M 100% /var

df -i

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/system-root_lv
0 0 0 - /
tmpfs 127395 5 127390 1% /dev/shm
/dev/sda3 0 0 0 - /boot
/dev/mapper/system-home_lv
0 0 0 - /home
/dev/mapper/system-opt_lv
0 0 0 - /opt
/dev/mapper/system-srv_lv
0 0 0 - /srv
/dev/mapper/system-tmp_lv
0 0 0 - /tmp
/dev/mapper/system-usr_lv
0 0 0 - /usr
/dev/mapper/system-var_lv
0 0 0 - /var*

Solve this

3.0G 3.0G 6.6M 100% /var

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I assume you’re looking for help on this. If that’s the case stating what
you have tried or observed may be useful. As it is you have no space left
in /var which is almost definitely your problem. Considering the amount
of space allotted to /var that probably means you’ve either done something
in there on purpose (created a big MySQL database or something) or you
have a whole lot of errors being written in there for one reason or
another. Find where the space is actually used in the /var directory
structure and clean it up, or at least ask about it so you know how to
best clean it up.

du -h /var

Good luck.

SativaJoe wrote:
> My SUSE server has been filling my inbox with mail; error messages
> saying that the device is out of space. Below is one such email:
>
> -Transcript of session follows.
>
> Out: 220 xxxx.math.ndsu.xxxxx.edu ESMTP Postfix
> In: HELO vaccine1.xxxxx.edu
> Out: 250 xxxx.math.ndsu.xxxxx.edu
> In: MAIL FROM:<>
> Out: 452 Insufficient system storage
>
> Session aborted, reason: lost connection
> -
>
> Also, my daily cron mail says this:
>
> -cat: write error: No space left on device-
>
> df output:
> -
> df -h
>
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/system-root_lv
> 4.0G 211M 3.8G 6% /
> tmpfs 8.0G 8.0K 8.0G 1% /dev/shm
> /dev/sda3 204M 40M 165M 20% /boot
> /dev/mapper/system-home_lv
> 20G 1.9G 19G 10% /home
> /dev/mapper/system-opt_lv
> 4.0G 451M 3.6G 11% /opt
> /dev/mapper/system-srv_lv
> 4.0G 128M 3.9G 4% /srv
> /dev/mapper/system-tmp_lv
> 3.0G 49M 3.0G 2% /tmp
> /dev/mapper/system-usr_lv
> 8.0G 2.6G 5.5G 32% /usr
> /dev/mapper/system-var_lv
> 3.0G 3.0G 6.6M 100% /var
>
>
>
>
> df -i
>
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/mapper/system-root_lv
> 0 0 0 - /
> tmpfs 127395 5 127390 1% /dev/shm
> /dev/sda3 0 0 0 - /boot
> /dev/mapper/system-home_lv
> 0 0 0 - /home
> /dev/mapper/system-opt_lv
> 0 0 0 - /opt
> /dev/mapper/system-srv_lv
> 0 0 0 - /srv
> /dev/mapper/system-tmp_lv
> 0 0 0 - /tmp
> /dev/mapper/system-usr_lv
> 0 0 0 - /usr
> /dev/mapper/system-var_lv
> 0 0 0 - /var-
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJJ2jZfAAoJEF+XTK08PnB5KzEQAJwUvz4QmZrsCobYqVu+57e8
7eEtMRVCyB1FfhCFSJ8PHbnChrl06LjrrnwWlhqhS2eKGx4eEX2+avtwlme9lBYh
dR7elTue5zozscP+4bDTOuJwYVQUc9Y9YwR0KCNfsp1wuCMeRKEEfv5zZnDcgAn7
sjuzm3qPCGYT5D8AS5fupbgTe6N5XAgvZ/mGDzycti91Xgc63E9wQu8HYJC0wy8l
xQH7+0ujIs9Rnpoq7lcfG4Ls4pXrJ+sNmta41rqXlQmA9OggESlyxQp5p0HTZ/qf
5dz2b7EP/KVdUWGEqY7uCsG1GidQzRT8N3BamTb64gf8lE8aVzf5UMvTHjHeG3cm
HHiC5EEAXUum6CMHIBrXygH2SSRc/0G4d69kGFgz8MtdlTFG9TNmaMgCbu+snRFO
+H1YaPDujFI/hCWs6lU+KiyFu2pr41pOP459hXP5l2IFPutpxTUvQ/OQmt11Uljt
46KvAM1OJ7ZzIQizr4lKyq7tFxRiHjG0neK7flL+sGlNOD5Ax5Y6xA2bGLxbmw2m
jfFvvyFMj1TtPgZ9huQLDmYZAtemfkuzYMJtlZU58MWl9D5TdEZfP/xL2CkYSaDz
dan0tOhFnJ2gSizCAC+omgeHcPk0NUYy2tlkJJDG78I7VPmnY/DTVcFJwGHnni71
Bd1xiBrljpqB2JvpYgyk
=JicO
-----END PGP SIGNATURE-----

Hi guys & gals,

Sorry, was in a bit of a hurry to get to class, so just posted the information above. Here is what I’ve found, and I’d look to know if I can safely delete these files.

Drilling down into the file structure, the folder containing the majority of the space usage is as follows:

/var/lib/YaST2/you/mnt/x86_64/update/SUSE-CORE/9/rpm/x86_64/

Contained in this folder are a number of packages, and I’m hoping they are just packages that have been installed and can be deleted.

Did you get an answer to your question (not through here obviously). I’m stuck in a similar situation.

Thanks.

> Did you get an answer to your question (not through here obviously).

there is no question mark in SativaJoe’s last post, so how could he
get an answer??

what is your problem? (maybe start a fresh thread…after completing
your search of similar threads)


deConficter

There are other ways to get answers than through here you know. I thought it was cleared when I added ‘not through here obviously’ at the end of the message… Guess not.

My problem is the EXACT same as his… Hence why I didn’t start a new thread.

Basicaly, device is out of space and most of the space is taken by /var/lib/YaST2/you/mnt/x86_64/update/SUSE-CORE/9/rpm/x86_64/. Can that space be safely deleted? … EXACTLY like he asked…

Sorry, I forgot to quote the message I was replying to :shame: Although, there are other ways to get answers than through here hence why I added ‘not through here’.

I was replying to the message just above mine. Basically, my disk (/var partition actually) has ran out of space and most of the space is taken by

/var/lib/YaST2/you/mnt/x86_64/update/SUSE-CORE/9/rpm/x86_64/

Can the packages there be safely deleted? The whole disk has been assigned already and I have no free space left to give to the /var partition.

Sorry for the confusion.

sylvaing1 wrote:
> deConficter;1970638 Wrote:
>>> Did you get an answer to your question (not through here obviously).
>> there is no question mark in SativaJoe’s last post, so how could he
>> get an answer??
>>
>> what is your problem? (maybe start a fresh thread…after completing
>> your search of similar threads)
>>
>> –
>> deConficter
>
> There are other ways to get answers than through here you know. I
> thought it was cleared when I added ‘not through here obviously’ at the
> end of the message… Guess not.
>
> My problem is the EXACT same as his… Hence why I didn’t start a new
> thread.
>
> Basicaly, device is out of space and most of the space is taken by
> /var/lib/YaST2/you/mnt/x86_64/update/SUSE-CORE/9/rpm/x86_64/. Can that
> space be safely deleted? … EXACTLY like he asked…

What version of openSUSE do you have? That /9/ in the directory chain looks as
if this is left over from SuSE 9. Have you done updates since then?

In any case, my openSUSE 11.1 system, which was a clean install, does not have a
directory /var/lib/YaST2/you. There should be no problems if you ‘rm -rf
/var/lib/YaST2/you’.

Larry

That’s because it is still at SuSE 9…

sylvaing1 wrote:
>
> That’s because it is still at SuSE 9…

As you are no longer getting any updates, it should not cause any problems to
blow the …/update/ folder away.

Ok thanks.