Space on device problems...

Thread Tools Search this Thread
Operating Systems Solaris Space on device problems...
# 1  
Old 11-29-2007
Space on device problems...

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 the usages I see this:

$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/dsk/c1t0d0s0 16140362 3816860 12162099 24% /
/dev/dsk/c1t0d0s5 28242791 22188232 5772132 80% /var
swap 7502984 40 7502944 1% /var/run
swap 7743392 240448 7502944 4% /tmp
/dev/dsk/c1t0d0s3 17954570 1825958 15949067 11% /opt
/dev/dsk/c1t0d0s7 1988887 1261080 668141 66% /export/home

Nothing is 100%.... is this a bug that it is really 100% but showing 80%? I haven't deleted any files yet or anything so I'm kind of lost as to what to check now. Smilie

I also tried to run sync a few times to see if that helped with inode issues....nothing

This is my inode info which also looks ok...(i think)

$ sudo df -F ufs -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/dsk/c1t0d0s0 1943168 91756 1851412 5% /
/dev/dsk/c1t0d0s5 3393024 1571342 1821682 47% /var
/dev/dsk/c1t0d0s3 2159744 30481 2129263 2% /opt
/dev/dsk/c1t0d0s7 486720 7979 478741 2% /export/home

I removed a file from /var/tmp and now its down to 78% full and it works... could this be a disk quota thing which i've never used before?

Last edited by kingdbag; 11-29-2007 at 09:04 PM..
# 2  
Old 11-29-2007
To reconcile the df output with the file sizes, try having a play with du -skd on some of those filesystems:
for fs in `df -k | awk '{ print $6 }'` ; do du -skd $fs ; df -k $fs ; done

It won't fix anything but it has found discrepancies for me when I've got a munted file somewhere. Might narrow down the search?

pfiles can be your friend here too but only once you've narrowed down possible culprits.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

No space on device

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 Please use CODE tags (not... (9 Replies)
Discussion started by: kkm
9 Replies

2. 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

3. Solaris

No space on device

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)
Discussion started by: jain_sharad143
7 Replies

4. 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

5. 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

6. 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

7. Solaris

No space left on device

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

8. 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

9. UNIX for Dummies Questions & Answers

Device Free Space

Hi, I've tried to find answer to this question in the forums but i haven't found it. How can i know the space left in my devices (tape, disk, floppy, etc...)? It is very important to know at least the free space in the TAPE device. Can someone help? Thanx in advance. Jorge (1 Reply)
Discussion started by: jorge.ferreira
1 Replies

10. 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
Login or Register to Ask a Question