we have VM machine with disks as sdb sdc sdd ,,, etc
we create ext4 file system on sdb disk as the following
mkfs.ext4 -j -m 0 /dev/sdb -F
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
262144 inodes, 1048576 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1073741824
32 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
now we want to check the filesystem type as the following
lsblk -o NAME,FSTYPE | grep sdb
sdb
but we should get the following expected results as
lsblk -o NAME,FSTYPE | grep sdb
sdb ext4
we not understand why after we create ext4 file system on our disks as sdb or sdc etc we not get the file-system type - ext4