Inode density problem

Joe Smith jms at tardis.tymnet.com
Fri Jun 28 06:22:00 AEST 1991


In article <3434 at brchh104.bnr.ca> you write:
>I'm having trouble achieving an acceptable inode density on a 1GB+
>external SCSI disk drive. The system is a 3/80 running SunOS 4.0.3.
>The OS has a compiled-in maximum number of inodes per cylinder group,
>called MAXIPG. This is given in <ufs/fs.h> as 2048.

One of the major differences between 4.0.3 and 4.1.1 is the solution
to this very problem.  If you can't upgrade to SunOS-4.1.1, there is
a way around it, by lying to the formatter.

Create an entry in /etc/format.dat such that 'ncyl' is 2 or 3 times the
real value, and the product of nhead * nsect is 1/2 or 1/3 the real value.
Then 'mkfs' will create more cylinder groups, with a reasonable number
of inodes per group.

>    bret at codonics.com
>    uunet!codonics!bret
>    Bret Orsburn


-- 
Joe Smith (408)922-6220 | SMTP: jms at tardis.tymnet.com or jms at gemini.tymnet.com
BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-C51    | BIX: smithjoe | CA license plate: "POPJ P," (PDP-10)
San Jose, CA 95161-9019 | humorous disclaimer: "My Amiga 3000 speaks for me."




More information about the Comp.sys.sun mailing list