[OT] Verständnisfrage zu mkfs.ext3 - option: -i bytes-per-inode
Hallo Liste,
ich habe eine neue 1,5 TB USB HDD. Es gibt einen Windows Treiber für
ext2:
http://www.fs-driver.org/
Ich habe mit den default Einstellungen eine ext3 Partition angelegt - am
Anfang ist eine Mini vfat - dort liegt der Windows Treiber.
/dev/sdd1 1 2 16033+ c W95 FAT32 (LBA)
/dev/sdd2 3 182401 1465119967+ 83 Linux
Nun meckert der Treiber:
Inodes that are larger than 128 bytes are not supported.
man mkfs.ext3 sagt:
-i bytes-per-inode
Specify the bytes/inode ratio. mke2fs creates an inode for every
bytes-per-inode bytes of space on the disk. The larger the
bytes-per-inode ratio, the fewer inodes will be created. This value
generally shouldn’t be smaller than the blocksize of the filesystem,
since in that case more inodes would be made than can ever be used. Be
warned that it is not possible to expand the number of inodes on a
filesystem after it is created, so be careful deciding the correct
value for this parameter.
Ich will nicht nochmal in die Falle laufen. Bei dieser Partitionsgröße
hört der Spaß auf - das Befüttern der Platte dauert Stunden.
shouldn’t be smaller than the blocksize??? Jetzt sind es 256 'bytes per
inode'- das ist, wie auch das erwünschte 128, kleiner als die gültigen
1024 oder mehr 'bytes per block' - ich blicke da nicht mehr durch. Habe
ich nun in jedem Fall viel zu viele inodes? Benötige ich mehrere
kleinere Partitionen?
Tschüss
dirk
-b block-size
Specify the size of blocks in bytes. Valid block-size values are 1024,
2048 and 4096 bytes per block. If omitted, block-size is heuristically
determined by the filesystem size and the expected usage of the
filesystem (see the -T option). If block-size is negative, then mke2fs
will use heuristics to determine the appropriate block size, with the
constraint that the block size will be at least block-size bytes. This
is useful for certain hardware devices which require that the blocksize
be a multiple of 2k.
--
Reply to: