Hello kiruthika,
First of all understand the mean of mke2fs options.
As per its manual page.
-E - Its for extended-options
discard
Attempt to discard blocks at mkfs time (discarding blocks initially is useful on solid state
devices and sparse / thin-provisioned storage). When the device advertises that discard also
zeroes data (any subsequent read after the discard and before write returns zero), then mark all
not-yet-zeroed inode tables as zeroed. This significantly speeds up filesystem initialization.
This is set as default.
nodiscard
Do not attempt to discard blocks at mkfs time.
If you use kernel version 2.6.33 or later then discard capability is deactivated by default.
may below link useful for your understanding, (nice explanation):smileyinfo:Ext4 Filesystem - Thomas-Krenn-Wiki
So that's why it take very less time for -E nodiscard option because its not attempt any discard blocks (not yet zeroed)
suggestions are welcome.
Regards
Jaymin Dabhi