🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #55847

Re: Question on inodes

#55847
From: John Imrie
Date: Tue, 06 May 1997 00:00
40 lines
1808 bytes
Graham Daveney wrote:

> Hi Guys,
>
> I bought a new disk the other day and when I formatted it with
> mke2fs I had to
> specify the "bytes per inode" for the partition.
>
> What I am in need of is a clarification as to what this actually
> means.
>
> For example if I specify the "bytes-per-inode" value as 2048 then
> what happens
> is that for every 2048 bytes on the disk an inode will be created.
>
> The disk was bought to be a news partition and if there are heaps
> and heaps of
> small files on the disk, then if there are not enough inodes on the
> partition
> there will reach a stage where no more files can be created.
>
> For each file created on the disk one inode is used, regardless of
> the size of
> the actual file.
>
> For example, using the above hypothetical situation. If I set the
> "bytes-per-inode"
> value to 2048, and then I filled the partition with millions of 1024
> byte files,
> then I would actually run out of inodes first before I ran out of
> disk space.
>
> Can someone please clarify this for me.
>
> Many Thanks
> Graham
> graham@daveney.matra.com.au

Yep, all your thaughts are spot on!!
Technical Details
Message-ID: <336F4EF7.C6DF9B7@indigo-media.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5khgs9$9b0@news.mel.aone.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9b51,c5b0ebec1a9617fb
X-Google-Attributes: gidf9b51,public
X-Google-Thread: f9382,c5b0ebec1a9617fb
X-Google-Attributes: gidf9382,public
X-Google-Thread: 102983,c5b0ebec1a9617fb
X-Google-Attributes: gid102983,public
From: John Imrie <john@indigo-media.com>
Subject: Re: Question on inodes
Date: 1997/05/06
Message-ID: <336F4EF7.C6DF9B7@indigo-media.com>
X-Deja-AN: 239769294
References: <5khgs9$9b0@news.mel.aone.net.au>
X-Priority: 3 (Normal)
Organization: All USENET -- http://www.Supernews.com
Newsgroups: aus.computers.linux,comp.os.linux,comp.os.linux.setup