Sponsored Content
Full Discussion: No space on device
Operating Systems Solaris No space on device Post 302664309 by bakunin on Friday 29th of June 2012 09:54:37 AM
Old 06-29-2012
I am not a Solaris expert, but some things even i can see. Actually there are two filesystems full:

Code:
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0d0s0      4864825 4779400   36777   100%    /
/usr/lib/libc/libc_hwcap1.so.1 4864825 4779400   36777   100%    /lib/libc.so.1

and you will probably have to free up some space in both of them. Reboot the system to make sure there are no processes writing in open files, then delete some files not absolutely necessary. Good places to start looking are /var/log, /var/tmp, etc..

What is even more rtoublesome is the following: you said you allocated 100GB disk space and:

Code:
/dev/dsk/c0d0s0      4864825 4779400   36777   100%    /
/dev/dsk/c0d0s7      94717067 2577984 91191913     3%    /export/home

It looks like you have allocated ~5GB to "/" and ~95GB to "/export/home". I don't know what "/export/home" should be (user data are usually in "/home"), but i doubt this is a sound layout. This filesystem is nearly empty (probably it is empty and the 3% are just inodes), so i'd back it up, remove it and recreate it, preferably smaller by an order of magnitude. The space freed this way you could probably use to increase "/" to a sensible value (no idea what you want to store in there, but if everything stays as it is 6-7GB would look fine).

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

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

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

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... (1 Reply)
Discussion started by: kingdbag
1 Replies

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

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

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

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

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

10. 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
df(1)							      General Commands Manual							     df(1)

Name
       df - display free and used disk space

Syntax
       df [-i] [-l] [-n] [filesystem...] [file...]

Description
       The command displays the amount of disk space available on the specified file system, for example, It also displays the amount of available
       disk space on the file system in which the specified file is contained, for example, If a device is given that has no file systems  mounted
       on  it,	displays  the  information  for  the  root file system.  Without any arguments or options, displays shows all mounted filesystems,
       including those manually mounted without use of the file.  The numbers are reported in kilobytes.

       Unless the -n option is specified, updates the statistics stored in memory for the file system specified, before it  returns  the  informa-
       tion.

Options
       -i   Also report the number of used and free inodes.

       -l   Reports on locally mounted disks only.

       -n   Do	not  update the file system statistics stored in memory.  Instead, return whatever statistics are stored in memory.  This prevents
	    from hanging in the event that a server containing the specified file system is down.

Restrictions
       You cannot use the command to find free space on an unmounted file system using the block or character special device name.   Instead,  use
       the command.

Examples
       % df
       Filesystem     Total    kbytes  kbytes	%
       node	      kbytes   used    free	used	Mounted on
       /dev/ra1a       7429    2085    4602	31%    /tmp
       /dev/ra0e      30519   14817   12651	54%    /usr/spool
       /dev/ra0h     313233  122858  159052	44%    /usr/staff1

       The  total  disk  space is the total space that was created during the making of the file system.  The addition of the used space, the free
       space and a percentage of reserved space is the total space.  The default value for the reserved space is 10%.

Files
       List of mounted file systems

See Also
       getmnt(2), fstab(5), dumpfs(8), icheck(8), mkfs(8), newfs(8), quot(8)

																	     df(1)
All times are GMT -4. The time now is 03:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy