Article View: aus.computers.linux
Article #55818Question on inodes
From: Graham Daveney
Date: Sun, 04 May 1997 00:00
Date: Sun, 04 May 1997 00:00
28 lines
1747 bytes
1747 bytes
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
Technical Details
Message-ID:
<5khgs9$9b0@news.mel.aone.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,c5b0ebec1a9617fb,start X-Google-Attributes: gid1103af,public X-Google-Thread: f9b51,c5b0ebec1a9617fb,start X-Google-Attributes: gidf9b51,public X-Google-Thread: 102983,c5b0ebec1a9617fb,start X-Google-Attributes: gid102983,public X-Google-Thread: f9382,c5b0ebec1a9617fb,start X-Google-Attributes: gidf9382,public From: daveney@altus.speednet.com.au (Graham Daveney) Subject: Question on inodes Date: 1997/05/04 Message-ID: <5khgs9$9b0@news.mel.aone.net.au> X-Deja-AN: 239251063 Organization: Customer of Access One Pty Ltd, Melbourne, Australia Newsgroups: aus.computers.linux,comp.os.linux,comp.os.linux.setup,comp.os.linux.misc