Just got a new 2TB hardrive for my Debian Squeeze Box. Trying to format it in ext4 after creating a Primary partition using cfdisk.
I just did this exact process with a 120GB drive on the same system with no problems.
After searching for the returned error on Google, it seems that it usually comes up when people are trying to format an Extended partition, not a Primary. Mine is a primary and is still showing the error.
See my shell output below for the details. Any idea why this is giving so much trouble?
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 243201 1953512001 83 Linux
:~# mkfs.ext4 /dev/sdb1 mke2fs 1.41.12 (17-May-2010) **mkfs.ext4: inode_size (128) * inodes_count (0) too big for a filesystem with 0 blocks, specify higher inode_ratio (-i) or lower inode count (-N).**
tried again using
:~# mkfs.ext4 /dev/sdb mke2fs 1.41.12 (17-May-2010) /dev/sdb is entire device, not just one partition! Proceed anyway? (y,n) y /dev/sdb is apparently in use by the system; will not make a filesystem here! :~#