Hello,
We have inherited a PBS server which is storing it's backups in a few datastores. All the datastores are in the same ZFS dataset. Dataset is a raidz1 with around 31TB of storage on HDD. No special device, SLOG or L2arc. atime is off for the pool and the dataset. Everything seems to "work" ok, from backups to prunes, GC and sync tasks. I've tried to restore a few snapshots of different VMs and the VM boots and their filesystems are good.
Given that GC requires "atime" to be enabled so it won't remove unused chuncks with less than 24h and 5m:
- What is GC doing in this case? Does it require more work to do it's job (i.e. higher I/O, longer processing time)? The GC really works, for example:
- Shouldn't PBS show a warning and ask to enable atime/relatime if this is required? Or isn't it really required?
Thanks!
We have inherited a PBS server which is storing it's backups in a few datastores. All the datastores are in the same ZFS dataset. Dataset is a raidz1 with around 31TB of storage on HDD. No special device, SLOG or L2arc. atime is off for the pool and the dataset. Everything seems to "work" ok, from backups to prunes, GC and sync tasks. I've tried to restore a few snapshots of different VMs and the VM boots and their filesystems are good.
Given that GC requires "atime" to be enabled so it won't remove unused chuncks with less than 24h and 5m:
- What is GC doing in this case? Does it require more work to do it's job (i.e. higher I/O, longer processing time)? The GC really works, for example:
Code:
2022-10-10T04:01:24+02:00: Removed garbage: 224.615 GiB
2022-10-10T04:01:24+02:00: Removed chunks: 190918
2022-10-10T04:01:24+02:00: Original data usage: 53.928 TiB
2022-10-10T04:01:24+02:00: On-Disk usage: 1.89 TiB (3.50%)
2022-10-10T04:01:24+02:00: On-Disk chunks: 1374488
2022-10-10T04:01:24+02:00: Deduplication factor: 28.54
2022-10-10T04:01:24+02:00: Average chunk size: 1.442 MiB
2022-10-10T04:01:24+02:00: TASK OK
- Shouldn't PBS show a warning and ask to enable atime/relatime if this is required? Or isn't it really required?
Thanks!