Gentoo Archives: gentoo-user-de

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] nach Neuinstallation gehen INodes aus
Date: Fri, 29 Aug 2008 11:42:49
Message-Id: 6142e6140808290442w1e615e51o13576a4b7934b100@mail.gmail.com
In Reply to: Re: [gentoo-user-de] nach Neuinstallation gehen INodes aus by Simon Linden
1 Am 29.08.08 schrieb Simon Linden <xhi2018@××××××××××.com>:
2
3 > schaut doch schon viel besser aus =;-) bin glücklich - Danke!
4 > jetzt werd' ich mich mal schlau machen müssen was die Optionen bedeuten ...
5 >
6
7 man mkfs.ext3
8
9 -b block-size
10 Specify the size of blocks in bytes. Valid block size vales are 1024,
11 2048 and 4096 bytes per block. If omitted, mke2fs block-size is
12 heuristically determined by the file system size and the expected
13 usage of the filesystem (see the -T option). If block-size is
14 negative, then mke2fs will use heuristics to determine the appropriate
15 block size, with the constraint that the block size will be at least
16 block-size bytes. This is useful for certain hardware devices which
17 require that the blocksize be a multiple of 2k.
18
19 -i bytes-per-inode
20 Specify the bytes/inode ratio. mke2fs creates an inode for every
21 bytes-per-inode bytes of space on the disk. The larger the
22 bytes-per-inode ratio, the fewer inodes will be created. This value
23 generally shouldn't be smaller than the blocksize of the filesystem,
24 since then too many inodes will be made. Be warned that is not
25 possible to expand the number of inodes on a filesystem after it is
26 created, so be careful deciding the correct value for this parameter.
27
28 -b 1024
29
30 Ein Block hat die Größe 1024 Byte.
31 Die Partition wird in Blöcke mit der definierten Größe unterteilt,
32 daraus folgt auch wenn eine Datei kleiner als die angegebene
33 Blockgröße ist, benötigt sie trotzdem einen kompletten Block auf der
34 Partition. Daher ist es z. B. sinnvoll wenn man auf einer Partition
35 sehr viele kleine Dateien hat auch eine kleine Blockgröße zu
36 verwenden.
37
38 -i 1024
39
40 Verhältnis von Bytes zu Inodes. Für den genanten Fall ist das 1024 zu
41 1 d. h. 1 Inode pro Block, weil Blockgröße 1024 Bytes.
42
43
44 Seltsam ist nur das ich das Problem von mangelnden Inodes in letzter
45 Zeit öfter gehört habe. Entweder ist das ein Problem des
46 Gentoo-Installers, welcher aber vermutlich auch die
47 Standardeinstellungen von mke2fs nutzt. Also wird es vermutlich an
48 mke2fs liegen das bei bestimmten oder auch bei beliebigen
49 Partitionsgrößen falsche Einstellungen vornimmt.
50
51 Grüße,
52
53 Daniel

Replies

Subject Author
Re: [gentoo-user-de] nach Neuinstallation gehen INodes aus Tobias Scherbaum <dertobi123@g.o>