public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] ZFS 'zpool trim'?
@ 2020-11-04 17:21 Marco Gaiarin
       [not found] ` <mailman.257.1604510961.377.pve-user@lists.proxmox.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Gaiarin @ 2020-11-04 17:21 UTC (permalink / raw)
  To: pve-user


I've tried a 'zpool trim' on a SSD pool in one of my server, after
searching about and finding:

	https://openzfs.org/wiki/Features#TRIM_Support

Seems to work as expected (at least: print in logs:

	Nov  4 18:12:38 ino zed: eid=68 class=trim_start pool_guid=0x76DD565E9F8A86A8 vdev_path=/dev/disk/by-id/ata-KINGSTON_SEDC500M480G_50026B7683586349-part3 vdev_state=ONLINE
	Nov  4 18:12:38 ino zed: eid=69 class=history_event pool_guid=0x76DD565E9F8A86A8  
	Nov  4 18:13:37 ino zed: eid=70 class=trim_finish pool_guid=0x76DD565E9F8A86A8 vdev_path=/dev/disk/by-id/ata-KINGSTON_SEDC500M480G_50026B7683586349-part3 vdev_state=ONLINE
	Nov  4 18:13:37 ino zed: eid=71 class=history_event pool_guid=0x76DD565E9F8A86A8  

and don't destroy my disk. ;-)


But i've tried to look into PVE wiki, or in PVE ZFS packages for some
docs, or scripts, and found nothing.


There's some drawbacks of trimming ZFS pools in PVE, and so it is not
enabled by default?
Or simply there's no way to determine a ZFS pool composed of SSD disks,
and so it is up to the sysadmin to setup a script for trimming?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



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

end of thread, other threads:[~2020-11-06 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 17:21 [PVE-User] ZFS 'zpool trim'? Marco Gaiarin
     [not found] ` <mailman.257.1604510961.377.pve-user@lists.proxmox.com>
2020-11-04 22:45   ` Mark Schouten
2020-11-06 11:43     ` Marco Gaiarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal