'file system full' problem

'file system full' problem

Post by ericg » Sat, 10 Feb 2001 02:08:43



Running Solaris 7 on a Sun Enterprise 250.

Sometimes i get the following message in syslog and processes can't
write to disk.

<snip>...
unix: NOTICE: alloc: /usr: file system full
...<snip>

du -sk

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d4       4881236 4095567  736857    85%    /usr

df -F ufs -o i

Filesystem             iused   ifree  %iused  Mounted on
/dev/md/dsk/d4        425542  161274    73%   /usr

Is that could be possible???

Thanks!

Eric

 
 
 

'file system full' problem

Post by Joseph Ovadi » Sat, 10 Feb 2001 02:43:24


Just reboot and that will fix it.

> Running Solaris 7 on a Sun Enterprise 250.

> Sometimes i get the following message in syslog and processes can't
> write to disk.

> <snip>...
> unix: NOTICE: alloc: /usr: file system full
> ...<snip>

> du -sk

> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/md/dsk/d4       4881236 4095567  736857    85%    /usr

> df -F ufs -o i

> Filesystem             iused   ifree  %iused  Mounted on
> /dev/md/dsk/d4        425542  161274    73%   /usr

> Is that could be possible???

> Thanks!

> Eric


 
 
 

'file system full' problem

Post by ericg » Sat, 10 Feb 2001 03:41:57


I said Solaris 7 not WinNT...

Last time i ran fsck (with Y :-( ) and after the problem disapear for a
while.


> Just reboot and that will fix it.


> > Running Solaris 7 on a Sun Enterprise 250.

> > Sometimes i get the following message in syslog and processes can't
> > write to disk.

> > <snip>...
> > unix: NOTICE: alloc: /usr: file system full
> > ...<snip>

> > du -sk

> > Filesystem            kbytes    used   avail capacity  Mounted on
> > /dev/md/dsk/d4       4881236 4095567  736857    85%    /usr

> > df -F ufs -o i

> > Filesystem             iused   ifree  %iused  Mounted on
> > /dev/md/dsk/d4        425542  161274    73%   /usr

> > Is that could be possible???

> > Thanks!

> > Eric

 
 
 

'file system full' problem

Post by Mike Moh » Wed, 14 Feb 2001 10:28:59


Quite possible... under two conditions.
1.  Users quotas have been exceeded. Typically this will occur in the
/tmp subdirectory.  Judging by the error message, this is your case.
2.  Open files attached to running processes have been deleted.
Depending on the flavour of U*X, their existence will not be counted in
either df or du.  (You'll need to check your man pages to determine
which.)


> Running Solaris 7 on a Sun Enterprise 250.

> Sometimes i get the following message in syslog and processes can't
> write to disk.

> <snip>...
> unix: NOTICE: alloc: /usr: file system full
> ...<snip>

> du -sk

> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/md/dsk/d4       4881236 4095567  736857    85%    /usr

> df -F ufs -o i

> Filesystem             iused   ifree  %iused  Mounted on
> /dev/md/dsk/d4        425542  161274    73%   /usr

> Is that could be possible???

> Thanks!

> Eric

--

================================================================

Information Technology Group      === Phone: 64 9 917-9999 x8133
Auckland University of Technology === Fax:   64 9 917-9901
PO Box 92006, Auckland, New Zealand =
http://home.aut.ac.nz/staff/mmohr/
================================================================
If we have unlimited ability to think, why do we use computers?

 
 
 

'file system full' problem

Post by Brat » Wed, 14 Feb 2001 13:40:19


Hi,

Interestingly enough, I am experiencing the same problem. I have a process
that writes to a file using printf/sprintf, and once in a while syslog
reports that the file system (in this case /export/home/) is full, when in
reality it is not. The file is not being corrupted or deleted, but the
process must stop as it cannot write to the file due to this strange
problem.

Please post any resolution you find. I have searched sunsolve extensively,
and have not found a bug/symptom report on this.

Dan Labelle


> Quite possible... under two conditions.
> 1.  Users quotas have been exceeded. Typically this will occur in the
> /tmp subdirectory.  Judging by the error message, this is your case.
> 2.  Open files attached to running processes have been deleted.
> Depending on the flavour of U*X, their existence will not be counted in
> either df or du.  (You'll need to check your man pages to determine
> which.)


> > Running Solaris 7 on a Sun Enterprise 250.

> > Sometimes i get the following message in syslog and processes can't
> > write to disk.

> > <snip>...
> > unix: NOTICE: alloc: /usr: file system full
> > ...<snip>

> > du -sk

> > Filesystem            kbytes    used   avail capacity  Mounted on
> > /dev/md/dsk/d4       4881236 4095567  736857    85%    /usr

> > df -F ufs -o i

> > Filesystem             iused   ifree  %iused  Mounted on
> > /dev/md/dsk/d4        425542  161274    73%   /usr

> > Is that could be possible???

> > Thanks!

> > Eric

> --

> ================================================================

> Information Technology Group      === Phone: 64 9 917-9999 x8133
> Auckland University of Technology === Fax:   64 9 917-9901
> PO Box 92006, Auckland, New Zealand =
> http://home.aut.ac.nz/staff/mmohr/
> ================================================================
> If we have unlimited ability to think, why do we use computers?

 
 
 

'file system full' problem

Post by D. Roc » Thu, 15 Feb 2001 05:41:09



Quote:> Hi,
> Interestingly enough, I am experiencing the same problem. I have a process
> that writes to a file using printf/sprintf, and once in a while syslog
> reports that the file system (in this case /export/home/) is full, when in
> reality it is not. The file is not being corrupted or deleted, but the
> process must stop as it cannot write to the file due to this strange
> problem.
> Please post any resolution you find. I have searched sunsolve extensively,
> and have not found a bug/symptom report on this.

Maybe you have run out of full blocks on the FS. Try a
fstyp -v <Raw-Device> | head
and take a look at "nbfree". This is the number of available full sized
blocks.
The output of df also includes free fragments.

In my case:

# fstyp -v /dev/rdsk/c2t0d0s0
ufs
magic   11954   format  dynamic time    Tue Feb 13 21:30:17 2001
sblkno  16      cblkno  24      iblkno  32      dblkno  480
sbsize  2048    cgsize  8192    cgoffset 112    cgmask  0xfffffff8
ncg     89      size    3837345 blocks  3796031
bsize   8192    shift   13      mask    0xffffe000
fsize   1024    shift   10      mask    0xfffffc00
frag    8       shift   3       fsbtodb 1
minfree 2%      maxbpg  1024    optim   time
maxcontig 128   rotdelay 0ms    rps     120
csaddr  480     cssize  2048    shift   9       mask    0xfffffe00
ntrak   5       nsect   218     spc     1090    ncyl    7041
cpg     80      bpg     5450    fpg     43600   ipg     3584
nindir  2048    inopb   64      nspf    2
nbfree  94349   ndir    11151   nifree  193518  nffree  14181
cgrotor 62      fmod    0       ronly   0       logbno  0

# df -k /
Dateisystem            kByte  belegt verfgbar Kapazit?t Eingeh?ngt auf
/dev/dsk/c2t0d0s0    3796031 3027070  693041    82%    /

nbfree[94349] * bsize + nifree[193518] * fsize = 768973 kB

If you add the 2% root reserve, you will get the same results.

If you have run out of full sized blocks, you may try to change optimization
to space and copying around some files < 96 kB. This may free up some
blocks, since the file tails will be placed more aggresive in fragments.

--
Daniel

 
 
 

1. dmesg doesn't show 'file system full' msgs

Hi,

I've  noticed dmesg doesn't report error messages from /var/adm/messages.
I use  ' dmesg - |awk ....|mailx '  to get informed when something goes
wrong with my servers but can't find out why '[Ff]ile system full' messages
are not reported.

My syslog.conf file has following entries
----------------------
*.err;kern.notice;auth.notice;user.none         /dev/console
*.err;kern.debug;daemon.notice;mail.crit;user.none      /var/adm/messages

*.alert;kern.err;daemon.err;user.none           operator
*.alert;user.none                               root

*.emerg;user.none                               *
-----------------------

Can anyone help?
---------------------------------------------------------------------------
Jan Reynders,  Johnson&Johnson
Networking and Computing Services,  Europe Middle East & Africa

2. Can I compile X under RedHat 4.1

3. Help with full file system that doesn't seem to be full

4. Private DNS over ppp

5. How do I get rid of 'file system is full' messages?

6. Ftp timeout

7. Repeated Message on SparcServer 10: 'NOTICE: Alloc: /: file system full'

8. Stop hiding my AfterStep wharf!

9. spurious 'file system full' warning

10. Problem running 'waisq' in 'chroot' file system

11. 5.6 x86: file system full message, but file system not full!

12. Is e2label 'dangerous' when done on a 'live' file system?

13. File System is full, but "df" doesn't agree...