I'm doing a school project and we've been given access to some servers, so we can build a simple Cassandra database. I need to mount a drive on each instance -- there are four instances.
The instruction list this command:
sudo mkfs –t ext4 /dev/vdc
however, this gives me the following error:
mke2fs 1.42 (29-Nov-2011) mkfs.ext2: invalid blocks 'ext4' on device '–t'
I think I'm missing the number of blocks on the command sudo mkfs –t ext4 /dev/vdc. However, I don't know what number to put as an argument.
Here is some associated output that may help, but I don't know what it means.
Disk /dev/vdc: 2147.5 GB, 2147483648000 bytes
16 heads, 63 sectors/track, 4161015 cylinders, total 4194304000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/vdc doesn't contain a valid partition table
Any help/tips/pointers would be much appreciated.