Re: UFS 'no space left on device' messages

From: John Ladd (johnladd68@googlemail.com)
Date: Tue Apr 01 2008 - 09:51:03 EST


To answer emails received until now, Solaris 10, most of the files seem to
have been just created (not copied from others), 'du -ks' reports about 21MB
more than 'df -k'.

I will get that info from 'fstyp -v' when this happens again (as it will be
the case.)

On 01/04/2008, Sengor <sengork@gmail.com> wrote:
>
> Seen these issues happen when a process locks in a big file and does
> not release the space back. lsof proved to be useful in this
> respect...
>
> Also check what du -sk is reporting on the mountpoint see if it
> matches what df reckons
>
> On 4/2/08, John Ladd <johnladd68@googlemail.com> wrote:
> > Hi there,
> >
> > I ran across one of these 'disk full' messages on a UFS partition that
> had
> > free inodes and free space as reported by 'df'. Found a folder that had
> lots
> > of small files (around 450K of them), and any try to create a new file
> would
> > report a 'file system full'. Here the related error messages on syslog:
> >
> > Mar 31 17:33:31 hostname ufs: [ID 845546 kern.notice] NOTICE: alloc:
> > /data/applcsf: file system full
> > Mar 31 17:33:35 hostname ufs: [ID 213553 kern.notice] NOTICE: realloccg
> > /data/applcsf: file system full
> > Mar 31 17:33:47 hostname last message repeated 2 times
> >
> > After checking the usual things (as I said, df -k, df -oi) and not
> seeing
> > anything weird, I tarred some older files (that is, on another
> partition),
> > and everything came back to normal.
> >
> > The folder is used to write some checkpoint/request/out files (this is
> part
> > of an Oracle application server setup), but there are about 20K new
> files
> > each day, and the partition is 'just' 20GB. Space reported by 'df'
> does not
> > seem to be an issue. When this error happened, capacity was reported to
> be
> > about 84%, and percentage of used inodes (%iused) around 54%.
> >
> > Technical support asked things we had already checked and suggested to
> move
> > onto a zfs filesystem, although it's pretty weird there's no easy
> > explanation why this is happening. For what's worth, fragmentation on
> this
> > partition is 10% at the moment.
> >
> > Anybody seen this before? I could not find any limitations on UFS
> filesystem
> > as per design (other than a 32K-subfolder for a given folder). Or shall
> I
> > just push it back to the end user and ask them to implement a cleaner
> policy
> > for archival/removal of old files?
> >
> > Cheers,
> > John
> > _______________________________________________
> > sunmanagers mailing list
> > sunmanagers@sunmanagers.org
> > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> >
>
>
> --
> _________________________________/ sengork.blogspot.com /////
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:54 EDT