My TrueNAS backup server "crashed?" and is acting strange, I'm not sure what it's even doing

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Well that's why I was removing some snapshots so I would fit within :)

Yeesh. Snapshots AND dedup AND all the rest of it? You win today's prize for stressed out ZFS system.
 

MrGuvernment

Patron
Joined
Jun 15, 2017
Messages
268
Since you're well past the 80% mark, this statement would appear to be categorically false.
Would also the 80% really = 50% with RAIDz be contributing for fragmentation?
 

devedse

Dabbler
Joined
Nov 7, 2022
Messages
14
Is there a way to see what certain background processes are doing for ZFS? E.g. you said something about syncing disks, doing DEDUP things, etc. I would want to see what the progress is.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Is there a way to see what certain background processes are doing for ZFS? E.g. you said something about syncing disks, doing DEDUP things, etc. I would want to see what the progress is.

Aside from processes that are expected to be long term, such as scrubs and resilvers, no. ZFS does not contain "background processes" that are independent entities; the stuff going on is an integral part of your OS filesystem layers. It's like asking to see what the progress is like on opening or removing a file. It generally doesn't make much sense. It can take a lot of time if you've asked it to do something miserable, like to remove a snapshot, but that isn't a "background process" per se, it's just a filesystem operation.
 

devedse

Dabbler
Joined
Nov 7, 2022
Messages
14
Hmm that's interesting. The reason I'm asking is because I see the filesystem being quite active with writes even though I'm not (currently) doing any operations:
zfsworkinghard.png

So I was wondering what it is doing right now. The snapshots were something I removed a few days ago, and as far as I know, are already removed.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
Should be part of how ZFS dedup works. Is the issue solved?
 
Last edited:

devedse

Dabbler
Joined
Nov 7, 2022
Messages
14
Should be part of how ZFS dedup works. Is the issue solved?
@Davvo, what do you mean by that? What I read in the previous post by @jgrego is that ZFS doesn't have background processes besides resilvering and scrubs.

I do understand that it would be doing things when writing/reading files. But since I have now finished this a few days ago I'm curious what the file system is doing.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I do understand that it would be doing things when writing/reading files. But since I have now finished this a few days ago I'm curious what the file system is doing.
Finishing your snapshot deletions?
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
@Davvo, what do you mean by that? What I read in the previous post by @jgrego is that ZFS doesn't have background processes besides resilvering and scrubs.
But if I can cut to the chase here - are you using deduplication, by any chance?

I won't bury you under the ZFS-specific details, but the short version is that your disks are likely very busy, and having one of them (da20, based on the third screenshot) be broken or misbehaving isn't going to assist.

Could also be the system dataset?
 
Last edited:
Top