I have a TrueNAS install with SMB turned on and nothing else. Even when it’s idle and nothing is accessing it, there’s constant disk activity. Very low bandwidth, but it’s like some log is in verbose mode.

TrueNAS is installed in a NVMe disk with plenty of room, and there’s only one pool. I’ve checked my snapshot configuration, nothing enabled faster than daily.

What could be causing it? How do I stop it or redirect it to the NVMe drive? I’m willing to create a partition on the NVMe drive if that’s what will do it.

Edit: thanks everyone for all the feedback, I’ll try these out and report back.

  • Pyrosis
    link
    English
    38 months ago

    Probably these directories…

    /tmp /var/tmp /var/log

    Two are easy to migrate to tmpfs if you are trying to reduce disk writes. Logs can be a little tricky because of the permissions. It is worth getting it right if you are concerned about all those little writes on an SSD. Especially if you have plenty of memory.

    This is filesystem agnostic btw so the procedure can apply to other filesystems on Linux operating systems.