public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@lilliput.linux.it>
To: Ralf Storm <ralf.storm@konzept-is.de>
Cc: pve-user@lists.proxmox.com
Subject: Re: [PVE-User] Trim and ZFS pools on SSD...
Date: Fri, 21 Jan 2022 11:06:18 +0100	[thread overview]
Message-ID: <o5dqbi-gqb.ln1@hermione.lilliput.linux.it> (raw)
In-Reply-To: <2b2b8b20-480a-38d4-2a5c-cc58afac7fa5@konzept-is.de>; from SmartGate on Fri, Jan 21, 2022 at 12:06:01PM +0100

Mandi! Ralf Storm
  In chel di` si favelave...

> make sure your Vdisks are connected via scsi and the scsi controller is 
> virtioscsi, the discs need to have the checkmark "discard".
> You can check if it works under ubuntu and debian wit hte command 
> "fstrim -av" - if there is no output it doesn`t work, otherwise, after a 
> while you will get the trim results displayed.

No, sorry, i've posted two 'trim/discard' topic that (apart this) are
totally unrelated.


I'm speaking now of host OS, eg PVE: if i have an SSD-based ZFS pool, how
can i trim it?

Seems that recent 'zfsutils-linux' package add some 'framework' to do trim,
but seems (totally) undocumented. So i'm seeking feedback.


I hope i was clear now...

-- 
  Dai diamanti non nasce niente
  dal letame nascono i fior				(F. De Andre`)





  reply	other threads:[~2022-01-21 11:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 10:55 Marco Gaiarin
2022-01-20 11:52 ` Ralf Storm
2022-01-21 10:06   ` Marco Gaiarin [this message]
     [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

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=o5dqbi-gqb.ln1@hermione.lilliput.linux.it \
    --to=gaio@lilliput.linux.it \
    --cc=pve-user@lists.proxmox.com \
    --cc=ralf.storm@konzept-is.de \
    /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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal