Thread View: news.software.nntp
4 messages
4 total messages
Started by Kent C. Brodie
Thu, 14 Jan 1993 19:39
Help..? Running out of gnodes
Author: Kent C. Brodie
Date: Thu, 14 Jan 1993 19:39
Date: Thu, 14 Jan 1993 19:39
23 lines
1565 bytes
1565 bytes
Help..! I'm pretty new at managing unix (ultrix), and have recently set up a nice full newsfeed. 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 managed to temporarily recover, by "expiring" my news down to only a few days (previously was 10 days). I can't believe this would be a hard-set limit, but hopefully a parameter in the creating of the filesystem itself..? 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
Re: Help..? Running out of gnodes
Author: 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
Perhaps this should be in the FAQ? Re: Help..? Running out of gnodes
Author: Jaye Mathisen
Date: Fri, 15 Jan 1993 19:28
Date: Fri, 15 Jan 1993 19:28
34 lines
2359 bytes
2359 bytes
In article <1j4fiaINN4me@post.its.mcw.edu> kcb@post.its.mcw.edu (Kent C. Brodie) writes: > >Help..! I'm pretty new at managing unix (ultrix), and have >recently set up a nice full newsfeed. > >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. You are correct in assuming that it's a parameter in creating the news filesystem. Check the manual on newfs, and look at the -i option. However, there's a catch. You will reach a state where regardless of how small you make the -i parameter, the number of inodes in the filesystem will not increase. Then you gotta' mess with the -c parameter to change the number of cylinders per group. As an example, I had a portion of a Micropolis 1.3GB drive set aside for news. After messing around with -i, the most number of inodes was something like 133,000. not enough. I changed the newfs command to also have a '-c 7', from the default of something like 18 or somesuch, kept the same -i, and now I have 330,000 or so. Note that the error message will say out of 'gnodes', but it really means (in this case), that you're out of inodes. If you do a 'df -i yournewspartition' you'll see the real story. -- Jaye Mathisen, COE Systems Manager (406) 994-4780 410 Roberts Hall,Dept. of Computer Science Montana State University,Bozeman MT 59717 osyjm@cs.montana.edu
Re: Perhaps this should be in the FAQ? Re: Help..? Running out of gnodes
Author: Win Treese
Date: Fri, 15 Jan 1993 22:16
Date: Fri, 15 Jan 1993 22:16
15 lines
1322 bytes
1322 bytes
Please write a concise answer to the question and I'd be happy to include it. Anyone is welcome to contribute answers; I don't know all of them... Win Treese MIT Laboratory for Computer Science DEC Cambridge Research Lab treese@lcs.mit.edu treese@crl.dec.com Calvin's Prayer: "The strength to change what I can, The inability to accept what I can't, And the incapacity to tell the difference."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads