all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Trim and ZFS pools on SSD...
@ 2022-01-20 10:55 Marco Gaiarin
  2022-01-20 11:52 ` Ralf Storm
  2022-01-25 11:15 ` Marco Gaiarin
  0 siblings, 2 replies; 5+ messages in thread
From: Marco Gaiarin @ 2022-01-20 10:55 UTC (permalink / raw)
  To: pve-user


I've asked this some month ago, eg i've asked if there's in PVE some
'framework' to enable trim for SSD ZFS pools. At that time the reply was no.


Now seems arrived, seems a standard debian feature for 'zfsutils-linux': at
the crontab /etc/cron.d/zfsutils-linux :

 # TRIM the first Sunday of every month.
 24 0 1-7 * * root if [ $(date +\%w) -eq 0 ] && [ -x /usr/lib/zfs-linux/trim ]; then /usr/lib/zfs-linux/trim; fi

and /usr/lib/zfs-linux/trim script seems to automatically trim every pool
that have not 'autotrim' enabled and have defined the custom property:

	org.debian:periodic-trim

but i've not found info on debian and PVE documentation.


Someone can confirm that? I've simply to do something like:

	zpool set org.debian:periodic-trim=yes rpool


Thanks.

-- 
  Ogni giorno un sistemista Nt si sveglia... e sa che dovrà lavorare.
  Ogni giorno un sistemista Linux si sveglia... alle 13.00, per il pranzo.
  Non importa che tu sia sistemista Nt o Linux... tanto ti pagano uguale!!!





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-25 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 10:55 [PVE-User] Trim and ZFS pools on SSD Marco Gaiarin
2022-01-20 11:52 ` Ralf Storm
2022-01-21 10:06   ` Marco Gaiarin
     [not found]     ` <mailman.147.1642763829.436.pve-user@lists.proxmox.com>
2022-01-25 11:17       ` Marco Gaiarin
2022-01-25 11:15 ` Marco Gaiarin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal