Sponsored Content
Full Discussion: No space left on device
Operating Systems Solaris No space left on device Post 302341537 by jlliagre on Thursday 6th of August 2009 06:11:55 AM
Old 08-06-2009
Quote:
Originally Posted by atiato
Note that /tmp is 1% used which is pointed to by $TMPDIR .....
I don't see a reference of TMPDIR in tmpfile documentation. I guess it uses /var/tmp which might be full on your system.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no space left on device

This seems like it would be a common question, but I didn't find much that helped in a search... I have a script scheduled in my crontab that outputs to /dev/null ie: /dir/scripts/script1 > /dev/null I have recently started getting the error: cp /dir1/dir2/file.xls: No space left on... (1 Reply)
Discussion started by: kristy
1 Replies

2. UNIX for Advanced & Expert Users

no space left on device

I have a SCO UNIX on my Server. When I last tried to shutdown my system, I got an error message “no space left on device”. Now when I try to boot the system again, I just can't and I get the same error message. Please help! (2 Replies)
Discussion started by: anjane
2 Replies

3. Solaris

No space left on device

Hi all, A very strange problem I have this morning with my Solaris 8. I have a FS full, I deleted some files but the system doesn't seems to reallocate the free space (I'm using Veritas): df -k : /dev/vx/dsk/dlds02vg/dlds02oralv 4194304 4194304 0 100% /dlds02/lds/oracle ... (4 Replies)
Discussion started by: unclefab
4 Replies

4. UNIX for Dummies Questions & Answers

No space left on device

hello all, i have a proc binary that we run on unix environment, and it is generating this error '' tstfile(): No space left on device '' can you please assist on how to narrow down the problem? thanks (4 Replies)
Discussion started by: mjdbouk
4 Replies

5. Solaris

pkgadd: errno 28: No space left on device

Hi, During package install, am getting: WARNING: unable to write temp contents file </var/sadm/install/t.contents> (errno 28: No space left on device) I tried to delete some stuff under "/var" But I cannot locate who is occupying "/var" space. Because: # df -h /var/ Filesystem ... (5 Replies)
Discussion started by: viki250
5 Replies

6. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

7. Shell Programming and Scripting

No Space left On Device

Hi, We are trying to sort the 40GB file in unix and getting following error. Error: sort: can't write /var/tmp/stmAAAvsaGfJ.00002929: No space left on device sort -t ',' -k4 $DIR/INF_ff_FULL.dat >>$DIR/Sort_INF_ff_FULL.dat; 2>$DIR/sort_error.log Can you please advise how to... (2 Replies)
Discussion started by: koti_rama
2 Replies

8. Ubuntu

Jenkins -- No space left on device

I am running a build on Jenkins and I get: No space left on device But when I do df, I get: Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/ROOT 19249724 18267492 4380 100% / udev 1457152 4 1457148 1% /dev tmpfs ... (4 Replies)
Discussion started by: sgffgs
4 Replies

9. Linux

No space left on device when using rm

Hello people I have a small fileserver running busybox (very small linux distro with most essential stuff on it) and I am trying to remove some unused directories on it. When I try this: rm -R test/I get: rm: cannot remove 'test': No space left on devicedf shows: Filesystem ... (8 Replies)
Discussion started by: GTCG
8 Replies

10. Linux

No space left on device while there is plenty of space available

Hello all posting here after scanning the net and tried most of the things offered still no solution that worked when I do : $ df -h Filesystem Size Used Avail Use% Mounted on footmpfs 7.9G 60K 7.9G 1% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/da1 ... (3 Replies)
Discussion started by: umen
3 Replies
explain_tmpfile(3)					     Library Functions Manual						explain_tmpfile(3)

NAME
explain_tmpfile - explain tmpfile(3) errors SYNOPSIS
#include <libexplain/tmpfile.h> const char *explain_tmpfile(void); const char *explain_errno_tmpfile(int errnum, void); void explain_message_tmpfile(char *message, int message_size, void); void explain_message_errno_tmpfile(char *message, int message_size, int errnum, void); DESCRIPTION
These functions may be used to obtain explanations for errors returned by the tmpfile(3) system call. explain_tmpfile const char *explain_tmpfile(void); The explain_tmpfile function is used to obtain an explanation of an error returned by the tmpfile(3) system call. The least the message will contain is the value of strerror(errno), but usually it will do much better, and indicate the underlying cause in more detail. The errno global variable will be used to obtain the error value to be decoded. Returns: The message explaining the error. This message buffer is shared by all libexplain functions which do not supply a buffer in their argument list. This will be overwritten by the next call to any libexplain function which shares this buffer, including other threads. Note: This function is not thread safe, because it shares a return buffer across all threads, and many other functions in this library. Example: This function is intended to be used in a fashion similar to the following example: FILE *result = tmpfile(); if (!result) { fprintf(stderr, "%s ", explain_tmpfile()); exit(EXIT_FAILURE); } The above code example is available pre-packaged as the explain_tmpfile_or_die(3) function. explain_errno_tmpfile const char *explain_errno_tmpfile(int errnum, void); The explain_errno_tmpfile function is used to obtain an explanation of an error returned by the tmpfile(3) system call. The least the mes- sage will contain is the value of strerror(errno), but usually it will do much better, and indicate the underlying cause in more detail. errnum The error value to be decoded, usually obtained from the errno global variable just before this function is called. This is neces- sary if you need to call any code between the system call to be explained and this function, because many libc functions will alter the value of errno. Returns: The message explaining the error. This message buffer is shared by all libexplain functions which do not supply a buffer in their argument list. This will be overwritten by the next call to any libexplain function which shares this buffer, including other threads. Note: This function is not thread safe, because it shares a return buffer across all threads, and many other functions in this library. Example: This function is intended to be used in a fashion similar to the following example: FILE *result = tmpfile(); if (!result) { int err = errno; fprintf(stderr, "%s ", explain_errno_tmpfile(err, )); exit(EXIT_FAILURE); } The above code example is available pre-packaged as the explain_tmpfile_or_die(3) function. explain_message_tmpfile void explain_message_tmpfile(char *message, int message_size, void); The explain_message_tmpfile function is used to obtain an explanation of an error returned by the tmpfile(3) system call. The least the message will contain is the value of strerror(errno), but usually it will do much better, and indicate the underlying cause in more detail. The errno global variable will be used to obtain the error value to be decoded. message The location in which to store the returned message. If a suitable message return buffer is supplied, this function is thread safe. message_size The size in bytes of the location in which to store the returned message. Example: This function is intended to be used in a fashion similar to the following example: FILE *result = tmpfile(); if (!result) { char message[3000]; explain_message_tmpfile(message, sizeof(message), ); fprintf(stderr, "%s ", message); exit(EXIT_FAILURE); } The above code example is available pre-packaged as the explain_tmpfile_or_die(3) function. explain_message_errno_tmpfile void explain_message_errno_tmpfile(char *message, int message_size, int errnum, void); The explain_message_errno_tmpfile function is used to obtain an explanation of an error returned by the tmpfile(3) system call. The least the message will contain is the value of strerror(errno), but usually it will do much better, and indicate the underlying cause in more detail. message The location in which to store the returned message. If a suitable message return buffer is supplied, this function is thread safe. message_size The size in bytes of the location in which to store the returned message. errnum The error value to be decoded, usually obtained from the errno global variable just before this function is called. This is neces- sary if you need to call any code between the system call to be explained and this function, because many libc functions will alter the value of errno. Example: This function is intended to be used in a fashion similar to the following example: FILE *result = tmpfile(); if (!result) { int err = errno; char message[3000]; explain_message_errno_tmpfile(message, sizeof(message), err, ); fprintf(stderr, "%s ", message); exit(EXIT_FAILURE); } The above code example is available pre-packaged as the explain_tmpfile_or_die(3) function. SEE ALSO
tmpfile(3) create a temporary file explain_tmpfile_or_die(3) create a temporary file and report errors COPYRIGHT
libexplain version 0.52 Copyright (C) 2009 Peter Miller explain_tmpfile(3)
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy