Support ext2 external disks with inode=256

Status
Not open for further replies.

ulf

Dabbler
Joined
Apr 23, 2013
Messages
33
If I create a disk with a modern Ubuntu distribution
mkfs.ext2 /dev/sdc1

I cannot mount this with

mount -t ext2fs /dev/adas4s1 /mnt/media/backup

since the default inode count has moved from 128 to 256.

If I create the disk with

mkfs.ext2 -I 128 /dev/sdc1

it works.

Would be good if FreeNAS supported disks with inode=256

I am running 8.3.1p2 and have not tested if it works in later versions of FreeNAS.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
since the default inode count has moved from 128 to 256.
It's inode size (128 bytes vs. 256 bytes), not inode count. A filesystem with only 256 inodes would not be very useful ;).
I am running 8.3.1p2 and have not tested if it works in later versions of FreeNAS.
FreeBSD/FreeNAS 9 should be able to mount 256 byte inode ext2 without any problem.
 
Status
Not open for further replies.
Top