NAS making constant seeking noise

Hi all,

I’ve recently built two identical NAS, one is the backup of the other.

I’ve selected some used datacentre drives and everything works well. My only concern is that at least the primary NAS seems to be more or less constantly making some seeking noise. Now, its datasets are mapped on a computer so I’d imagine some requests might be periodically coming from the OS. However, it’s like a constant, rhythmic noise.

It happens more or less every 5 seconds and I read online that zfs commits every 5 seconds - it feels like a lot of activity though.

I appreciate TrueNAS is a server-grade tool, my NAS is a server grade machine (HP Microserver G8) and the drives are also datacentre-grade. Just wondering if there is anything I can do to tell the NAS to relax a bit? :slightly_smiling_face:

I can hear some 5s periodic activity from the backup server too but it’s only a few clicks.

I’ve recorded the noise here: Microsoft OneDrive

Thanks a lot!

It’s probably the system dataset writing log data to it. It gets placed on the first storage pool that gets created

Thanks @LarsR

I have already moved the system to the internal SSD where the system is booted from as I had the same idea.

I think it got a bit better but it’s not gone.

More info about your system? VMs, Apps, usage? HDD models? Do the noises coincide with reads or writes in the Reporting charts?

I presume your NAS is close to you?

These tend to run louder due to them being optimized for performance so noise is not something they design for, to be quiet.

The sample audio sounds like HDD arms seeking, not just the steady spinning of the motor.

@winnielinnie

It’s an HP MIcroserver G8 with 4x WD WUH721414AL5204 Ultrastar DC HC530 LFF 14TB drives.

The NAS is used for basic storage, I have one raidz1 pool, 4 datasets, no VMs, no apps. Some datasets are encrypted, no deduplication, basic datasets with default parameters. There is a duplication task set for the other NAS which runs at midnight or so. I will check if the noise matches read/write on the reports.

Maybe next time I hear that noise I can unplug the network and see if it stops.

@MBILC

Yes, they are noisier than my old WD Red but not a lot and that’s not my point. I’m not questioning the noise they make but why they seem to be active every 5 seconds.

Thanks all for now!

ZFS by default will “close off” its transaction groups - that is to say, pending writes that you’ve sent to the system - after 5 seconds, unless something makes them close earlier. So that’s most likely what you’re hearing is the regular activity of ZFS committing any changes you or apps/services might be making.

Thanks @HoneyBadger

Then my next question is: what is constantly writing to my NAS that requires ZFS to commit changes every 5 seconds??

The NAS is mapped on my macOS, plus there is Time Machine active - is that enough to constantly write something on the NAS even when my computer is not being used? Is there a way to find out what is happening, what is writing that data to the NAS constantly?

Thanks!

Edit: the NAS was making the usual 5-seconds seeking noise - though I think it was less loud than usual - so I unplugged the ethernet cable and nothing changed. So it doesn’t seem to be activity caused by the network.
I believe I might have read somewhere that datacentre drives can do that? How can I find out where the activity is coming from?

Update: I found this thread online.

Could that be what I am hearing?

Checking with smartctl seems to suggest that a background scan is NOT happening but I think I’d be happy with manual control of that. :slight_smile:

I’ve inspected the BMS parameters with sdparm. I found this

# view the current values for the background media settings
sdparm /dev/sdb -p bc

This was showing my drives were set to run a scan every 1000 hours - so I doubt that was my issue.

I then issued

# enable Background Media scans - set to 0 to disable
sdparm /dev/sdb -p bc -s EN_BMS=0

and BMS is now off

Nothing externally is writing - it’s ZFS writing the timestamp, closing the group, and basically saying “this five seconds has elapsed” in case there’s a power outage and it has to know what a stable state on disk is in order to import the pool at that point.

But the seek noises in the OneDrive sample seemed a bit more frequent that 5s. Has the noise level dropped since disabling BMS?

@HoneyBadger

No unfortunately. Thought at least tonight it was a very minor rhythmic sound. Same timing but very little activity.

The main NAS has the app service started (but no apps), the backup doesn’t. Both make that noise. One thread I found online was blaming the app service.