How long does ext4lazyinit take?

about 2 hours
Updated: The ext4lazyinit process is completed now. It takes about 2 hours in this drive.

What is mke2fs in Linux?

DESCRIPTION. mke2fs is used to create an ext2/ext3 filesystem (usually in a disk partition). device is the special file corresponding to the device (e.g /dev/hdXX). blocks-count is the number of blocks on the device. If omitted, mke2fs automagically figures the file system size.

Why is mkfs used?

mkfs is used to build a Linux filesystem on a device, usually a hard disk partition. The device argument is either the device name (e.g., /dev/hda1, /dev/sdb2), or a regular file that shall contain the filesystem. The size argument is the number of blocks to be used for the filesystem.

Is Ext4 good for Nas?

EXT4 vs ZFS for NAS – Conclusion Users who store massive amounts of data and those who prefer network-attached storage systems (NAS) need an enterprise-grade transactional file system . While ext4 can get the job done, it remains a re-engineered version of a long-outdated system.

Is ext4lazyinit a userspace program?

@mattia.b89 ext4lazyinit isn’t a userspace program, it’s a background kernel process. Check the link in the question pointing to shirish’s original question about this for info.

What does ‘ext4lazyinit’ do when formatting a drive?

So as a fix, when formatting a drive, ‘Ext4’ creates a basic ‘index node’ only, one that is just enough to mount the file system and get things going. And as soon as the file system gets mounted, ‘Ext4’ silently creates the rest of the ‘index node’ using ‘ext4lazyinit’.

Is there a way to measure ext4lazyinit’s progress?

The only way that you know or can measure is monitoring ext4lazyinit in iotop. Is there a way to get its progress as a percentage? @mattia.b89 ext4lazyinit isn’t a userspace program, it’s a background kernel process.

How much data was written to the partition before ext4lazyinit?

279 GiB of files written to the partition before ext4lazyinit completed. EDIT: same disk, after writing almost another TiB of data to it, now yields an estimate of 101.5%. Accurate enough to be useful, I think.