[zfs-discuss] "du -ksh ." taking hours to complete

Gionatan Danti g.danti at assyoma.it
Wed Nov 14 08:44:43 EST 2018

On 14/11/2018 01:06, Welison B. Floriano via zfs-discuss wrote:
> Hi All,
>    We have a Dell Power Edge R730 connected to a HGST JBOD 4U60 G1 via a 
> HBA LSI 9400-8e. We are running Red Hat 7.6, zfs 0.7.11-1, 5x raidz2(12 
> x 10TB HDs each). 296TB used, 107TB free. Read and write seems to be 
> fine, but when we use "du -ksh ." in directories with lost of files, it 
> takes hours to get a result. Any help will be appreciated.
> Thanks,
> Welison.

Hi, be sure to *not* having any "mlocate" job scheduled via cron, as 
this can cause huge metadata cache trashing, slowing down access to 

By the way, how much memory does your system have?

Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8

More information about the zfs-discuss mailing list