Article View: news.software.nntp
Article #2156Re: Please help !! No inode left...
From: Jerry Aguirre
Date: Mon, 13 Sep 1993 21:26
Date: Mon, 13 Sep 1993 21:26
36 lines
2718 bytes
2718 bytes
In article <1993Sep11.043929.23864@hp9000.csc.cuhk.hk> a866700@hp9000.csc.cuhk.hk (Wong Siu To) writes: >We're maintaining News systems (Cnews+nntp) on a HP9000/845S running HP-UX >9.00. Our problem is that on there's no inode left on our 1.3Gb disk, Usually this happens on Sys V (old file system) partitions but it can happen on the BSD "fast" file system under certain conditions. The default number of bytes/inode is sufficient for a news file system. The problem is that there is an internal, hidden, limit on the max number of inodes in each cylinder group. If the disk has lots of sectors/surface and lots of surfaces you can wind up with a lot of sectors in each cylinder group. So the system might calculate 3000 inodes/group but be limited to some lower number (~1400?) by this table size limit. The value gets limited silently. Asking for more via the -i option is no help as the limit is applied after. The best trick is to reduce the cylinder group size. Typically it is 16 cylinders/group. Reducing that to 8 cylinders/group will effectively double the number of inodes permitted. Of course this needs to be done before you put files on the disk. Usually it is too late when people realize it has happened. I suggest a command like: newfs -b 4096 -c 8 -f 512 -i 2048 diskname Dumping a news partition is not too bad but the restore after recreating it can take days! Always verify the bytes/inode after creating a news file system. It can save you grief later. The typical usage is about 1 inode for each 3000 bytes so using 2048 gives a safety margin. If you have an extra disk you can save down time by doing a level 0u dump of the old news and restoring onto the new disk in the background. Then shut down, do a level 1, and restore that. The volume of data will be smaller and minimize the down time. Swap the disks and you are back on the air. Jerry
Technical Details
Message-ID:
<272ohq$jfu@olivea.ATC.Olivetti.Com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!olivea!strobe!jerryReferences:
<1993Sep11.043929.23864@hp9000.csc.cuhk.hk>Show Full Headers
Complete Article Headers
Message-ID: <272ohq$jfu@olivea.ATC.Olivetti.Com> Subject: Re: Please help !! No inode left... Date: Mon, 13 Sep 1993 21:26:18 +0000 From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre) References: <1993Sep11.043929.23864@hp9000.csc.cuhk.hk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!olivea!strobe!jerry Newsgroups: news.sysadmin,news.software.nntp,comp.sys.hp Organization: Olivetti ATC; Cupertino, CA; USA Lines: 35 Distribution: inet NNTP-Posting-Host: strobe.atc.olivetti.com