hi all,
while searching solution to an error, i found this forum and i have just joined the forum.
i am using Unix and getting the following error.
kindly help to resolve. -bash: cannot create temp file for here-document: No space left on device
regards
Hello kkm,
Welcome to forums, error itself is self explanatory, check your current path by doing pwd command and check it's file system seems it is 100% filled now, you may need to either increase its capacity or clean OLD junk log or un-necessary files(be careful before deleting any files though make sure you are NOT deleting anything important).
Welcome to forums, error itself is self explanatory, check your current path by doing pwd command and check it's file system seems it is 100% filled now, you may need to either increase its capacity or clean OLD junk log or un-necessary files(be careful before deleting any files though make sure you are NOT deleting anything important).
Thanks,
R. Singh
hi Raj
thanks for reply.
how to check file system? in my folders i cleared all that don't need. but still same problem. and where to remove log files? kindly explain, i am new to this particular system.
Regards
hi Raj
thanks for reply.
how to check file system? in my folders i cleared all that don't need. but still same problem. and where to remove log files? kindly explain, i am new to this particular system.
Regards
Hello kkm,
You haven't mentioned which O.S you are using? In case you are on *NIX system you could use uname -a command to check O.S complete details. Then you could check your file system's complete details by df command which tells how much capacity system is having. For clearing the file you should NEVER delete your actual/working data/Binaries you should only delete junk or log files(it depends on your software where they store it, I am not sure about it since you haven't mentioned any details).
You could use command:
Code:
find your_file_system_which_has_issues -type f -size +500M
Above will give you all the files which are more than 500 MB size then you could take decision which ones are junk files(but again fair warning be very careful on *NIX systems we DO NOT have recycle bin so be very careful before deleting anything too). Also you could hit THANKS button at left of each post to anyone if you feel post is useful to you too, cheers and enjoy learning.
NOTE: I have used 500M in find command you could change size too in that command in case you DO NOT see any 500 MB size file in your system.
Thanks,
R. Singh
Last edited by RavinderSingh13; 07-29-2018 at 03:54 AM..
This User Gave Thanks to RavinderSingh13 For This Post:
i am not sure which folder belongs to me, as this is a common system by University to all students, So not sure if all folders are working in background 'for all' or 'for me only'.???
Moderator's Comments:
Please use CODE tags when displaying sample input, sample output, and code segments. Without CODE tags tabs and sequences of multiple spaces are displayed as a single space (which completely hides any attempts to align data).
hi
i checked with "uname -a", found that its Linux OS.
when i run 'df' command it gives files with usage details etc as copied below the dotted line
--------------------- ------------------
devtmpfs 65818872 12 65818860 1% /dev
tmpfs 65829936 0 65829936 0% /dev/shm
tmpfs 65829936 4191092 61638844 7% /run
/dev/sda31 45034896 44819656 0 100% /
tmpfs 65829936 0 65829936 0% /sys/fs/cgroup
/dev/sda11 289293 86483 187450 32% /boot
/dev/sda61 412715164 15535312 376192104 4% /data1
10.149.0.13:/mnt/home3 161048251392 397312 161047854080 1% /home3
10.149.0.13:/mnt/acquisition 202904036352 166866625536 36037410816 83% /external/rdss/acquisitions
10.149.0.13:/mnt/pkg 2134471680 1775365120 359106560 84% /pkg
10.149.0.13:/mnt/work 161048263680 130524639232 30523624448 82% /work
10.149.0.13:/mnt/home 161048251392 132652876800 28395374592 83% /home
10.149.0.13:/mnt/home2 161048251392 2309523456 158738727936 2% /home2
10.149.0.13:/mnt/app_scratch 21461824512 14054920192 7406904320 66% /app_scratch
10.149.0.13:/mnt/work2 107361168384 87112799232 20248369152 82% /work2
tmpfs 13165988 0 13165988 0% /run/user/485
10.13.0.76@o2ib:10.13.0.77@o2ib:/lustre 1977261490304 1324922745740 632368951824 68% /lustre
tmpfs 13165988 0 13165988 0% /run/user/236660
----------------------------- --------------------
i am not sure which folder belongs to me, as this is a common system by University to all students, So not sure if all folders are working in background 'for all' or 'for me only'.???
Hello kkm,
I could see / is 100% filled. You could use command:
Code:
find / -type f -size +20M
You could change the size of files in command and then you could check with your mates which things could be deleted(again DO NOT delete anything out of the box of Binaries), that you folks have to decide which things should be removed(look for app logs etc if they are not getting cleaned).
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)
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)
Hi All,,
I had installed my solaris 10 over VMware and allocated 100 GB space. yet wehen i am installing weblogic. it says "no space left on device"
when i run df -k :-
------
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0d0s0 4864825 4779400 36777 ... (7 Replies)
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)
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)
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)
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)
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)
Ok, don't shoot me! I have looked all over the forum for the issue I'm having and I don't think its a duh delete some files or I deleted them but its still showing 100% type thing.
This morning one of my servers starts crying that it can't write log files and I can't use vi etc.... when I check... (1 Reply)
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)