Re: Running thin_trim before activating a thin pool

Demi Marie Obenour <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <YfgywUaJVsygv487@itl-email>
On Mon, Jan 31, 2022 at 06:54:48PM +0100, Gionatan Danti wrote:
> Il 2022-01-31 16:28 Demi Marie Obenour ha scritto:
> > thin_trim is a userspace tool that works on an entire thin pool, and I
> > suspect it may be significantly faster than blkdiscard of an individual
> > thin volume.  That said, what I would *really* like is something
> > equivalent to fstrim for thin volumes: a tool that works asynchronously,
> > in the background, without disrupting concurrent I/O.
> 
> Are you sure that fstrim works asynchronously?
> I remember "fstrim -v /mybigdevice" tacking some time (~30s).

It’s happens online and without preventing other I/O from happening,
whereas thin_trim can only be run offline.

> > FYI, you might want to specify a full fingerprint here; short key IDs
> > are highly vulnerable to collision and preimage attacks.
> 
> Yeah, it is a 15 years old signature I must decide to update ;)
> Thanks.

Might want to generate a new key while you are at it :) (especially if
the old one is weak)

-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmH4MsIACgkQsoi1X/+c
IsE16w//aPqAGzkmkps2ANbDjlZV40J1wF9lzqdC4h0vIVP/KLRXMCwUsgPkjRX8
zWPqqsA3zTILLcOT27zT347ZgSnB5xwpiRvI6IkwPcSvHbsJX6i0FAHB4TPQVmbw
JbGJUJP5uvg1dm9qV87HQ9kq+qMDZNWJM3pJqZBWEQH4nGbDnURIp4VVMruYyWtN
6twK7t5VVAJh6TocAqM/mQh5ycvNtVDQSzl9JLMv6ZeVS2VwlGwECylIizh4L8N8
OqRWsaNQBqGmYRUoUaoLuHFTNdLciihctRGFha2yV2kop7l4n5gui+E+DLXuucKw
w+GXB2khay1TayxrbSnQI7IpqmcWWFR2LreRg4u9UapoB/bkgXBNFCJu5MOIOl7F
ZOuEFmq7pHVy6WVAjQSYf6rotVomlM9qja1MR5DWL2dxzcmDoOSt7FKK2eoWOw2I
zhyCOb1Dnr1lQxDUb1fOc177yHlBiU+4ODVYfj+jcgPypPBKbqkfvp7t7ls4E9PL
sNNtjJXLjrTBVjzI0nXkzJE0A6yvRPArp1u9e6GNXejhatfejnzEHBMq670hf8F8
06w32epVo9M7uaSDwpIP/8Rw4YT6GAemuvxwzfsy5R76GwQJcSlwP2dCyFnJCaAn
0KSX6Eh/OxR9ABjR0xdmzr13jCJyFQ16oR8RywQ2dL7el9js/PU=
=Vah0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.