09-01-2011
You should monitor the free space and inodes during the file transfer by regularly running both of the df commands. That will tell which ones of disk space or inodes is undersized.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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. Solaris
We are using this function tmpfile() :
FILE *tmpfp ;
if ((tmpfp = tmpfile()) == NULL)
{
fprintf(stderr, "%s: ERROR: init_operator(): ", ROUTINE);
perror("tmpfile()");
exit(ERR_OPEN);
}
and the above is raising error :
MSMD0603: ERROR:... (3 Replies)
Discussion started by: atiato
3 Replies
5. UNIX for Dummies Questions & Answers
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
6. Shell Programming and Scripting
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
7. Ubuntu
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
8. Linux
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
9. Shell Programming and Scripting
I am getting error in a shell script having a simple date command.
Error is " write to 1 failed ".
We saw that /tmp folder was 100% full. When we cleared some space in /tmp folder then script worked fine. Why does date command(or any other command) require space in /tmp folder? Which settings... (6 Replies)
Discussion started by: mahish20
6 Replies
10. Linux
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
ustat(2) System Calls Manual ustat(2)
NAME
ustat() - get mounted file system statistics
SYNOPSIS
DESCRIPTION
The system call returns information about a mounted file system. dev is a device number identifying a device containing a mounted file
system. buf is a pointer to a structure (defined in that includes the following elements:
int32_t f_tfree; /* Total free blocks */
ino_t f_tinode; /* Number of free inodes */
char f_fname[6]; /* Filsys name or null */
char f_fpack[6]; /* Filsys pack name or null */
int f_blksize; /* Block size */
The value of is the number of free blocks of size
RETURN VALUE
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values.
[EFAULT] buf points outside the process's allocated address space. The reliable detection of this error is implementation
dependent.
[EINVAL] dev is not the device number of a device containing a mounted file system.
[EOVERFLOW] Result would overflow f_tfree or another field of the struct.
WARNINGS
is deprecated and should be used only by legacy 32-bit applications. or are the recommended replacements.
For some file systems, the number of free inodes does not change. Such file systems will return in the field
For some file systems, the inodes can be dynamically allocated. For such file systems, the field contains the number of free inodes at the
current time.
AUTHOR
was developed by AT&T and HP.
SEE ALSO
touch(1), stat(2), statvfs(2), fs_vxfs(4), privileges(5).
STANDARDS CONFORMANCE
ustat(2)