Article View: news.software.nntp
Article #1681Re: Help..? Running out of gnodes
From: Alan Rollow - Alan's Home for Wa...
Date: Fri, 15 Jan 1993 04:25
Date: Fri, 15 Jan 1993 04:25
55 lines
3228 bytes
3228 bytes
In article <1j4fiaINN4me@post.its.mcw.edu>, kcb@post.its.mcw.edu (Kent C. Brodie) writes: > >My problem happened last night... the file system where my >news spool directory resides ran out of "gnodes" (I assume >that's unix-speak for file pointers/entries). The filesystem >in question was only 70% full at the time, with plenty >of SPACE. I estimate there were about 56,000 files or so. > >I can't believe this would be a hard-set limit, but hopefully >a parameter in the creating of the filesystem itself..? No, it's not a universal parameter. The number of inodes (the on disk name) is set when the file system is created. Left to it's default newfs creates enough so that there should be 1 per 2048 bytes of space on the file system. It also won't create more 2048 per cylinder group. You may well have plenty of free space for data blocks, but if the average file size is small enough you'll use all the inodes before you run out of data space. It's fairly common for news to have this problem. Unfortunately the solution to the problem requires creating a new file system with more inodes, which means having to backup and restore news. Having done it, I know that it can take many hours (all those synchronous file creates...). First use the -i option of df(1) to see how many inodes you're using. Make a note of how many there are total. Make the backup. Then re-create the file. Newfs(8) has a option, -i, that changes the "bytes/inode". See if you can set it lower and get more inodes from the file system. Keep in mind that you can't have more than 2048 no matter what you do. It might be worth using dumpfs(8) on the current file system to see how many cylinder group you have now. If changing -i doesn't have an affect, trying making the cylinder groups smaller with the -c option. Since the 2048 limit is per cylinder group, if there are more cylinder groups, there will be more inodes. If that doesn't work lie about the geometry of the disk, in such a way as to get more cylinder groups. > >Any ideas or help would be MUCH appreciated... > >-- >-------------- >Kent C. Brodie - Sr. Systems/Network Manager brodie@post.its.mcw.edu >Information Technology Systems >Medical College of Wisconsin (414) 257-8769 > -- Alan Rollow alan@nabeth.cxo.dec.com
Technical Details
Message-ID:
<1993Jan15.042507.572@nntpd2.cxo.dec.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.ultrix.mbox.zip!sparky!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nabeth!alanReferences:
<1j4fiaINN4me@post.its.mcw.edu>Show Full Headers
Complete Article Headers
Message-ID: <1993Jan15.042507.572@nntpd2.cxo.dec.com> Subject: Re: Help..? Running out of gnodes Date: Fri, 15 Jan 1993 04:25:07 GMT From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) References: <1j4fiaINN4me@post.its.mcw.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.ultrix.mbox.zip!sparky!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nabeth!alan Newsgroups: comp.unix.ultrix,news.software.nntp Lines: 54 Sender: alan@nabeth (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Organization: Digital Equipment Corporation Distribution: inet