Reducing ext4 fs issues resulting from frequent hard poweroffs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, I currently manage an IOT fleet based on Intel NUCs running
Ubuntu 18.04 Server on SSDs with etx4, no swap. The device usage is
more CPU bound than I/O bound and we are having some issues keeping a
subset of devices running due to them being hard powered off in the
field in some regions (sometimes as frequently as every 12hrs). Due to
current difficulties in getting devices back from the field I'm
looking into tweaking them as best as possible to survive these hard
power off barring any physical SSD issues.

Currently I have tried tweaking some ext4 and I/O settings with the following:

* kernel options:
  elevator=noop fsck.mode=force fsck.repair=yes

* fstab ext4 specific mount options:
  commit=1,max_batch_time=0

Are there any other configuration settings or changes to the above
that would make sense to try here for this use case? I am hoping to at
least make the fsck repair the last line of defence so it doesnt get
stuck waiting for a prompt to repair it at boot, but want to try to
change the I/O / ext4 behavior if possible so its writing as
frequently as sanely possible to try to reduce the frequency where
fsck is actually needed.

Thanks,



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux