From: Marco Gaiarin <gaio@sv.lnf.it>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] ZFS 'zpool trim'?
Date: Wed, 4 Nov 2020 18:21:41 +0100 [thread overview]
Message-ID: <20201104172141.GH3229@sv.lnf.it> (raw)
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)
next reply other threads:[~2020-11-04 17:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 17:21 Marco Gaiarin [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201104172141.GH3229@sv.lnf.it \
--to=gaio@sv.lnf.it \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox