Lazyinit warning

For those setting up nodes and then doing testing right away, don’t forget that if you’re using ext4, by default it does a slow lazy initialization in the background (can take days on a large volume).

So if you can’t figure out why things are going slower than normal on new hardware, you can always check and see if lazyinit is running.

1 Like

I have another tip. If you have updatedb installed, which is by default on most distros I think, then add your storagenode’s path to the PRUNEPATHS variable in /etc/updatedb.conf. Otherwise it will be indexed every day.

3 Likes

You can say NO for lazyinit :slight_smile:

mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 /dev/sdxY

2 Likes