From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eCFjMH1ACl+LegAA0tVLHw (envelope-from ) for ; Sat, 11 Jul 2020 22:43:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kNkyLH1ACl/TFAAA1q6Kng (envelope-from ) for ; Sat, 11 Jul 2020 22:43:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3FEEF94066A for ; Sat, 11 Jul 2020 22:43:09 +0000 (UTC) Received: from localhost ([::1]:43308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juOD6-0004zt-8D for larch@yhetil.org; Sat, 11 Jul 2020 18:43:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juOD0-0004zj-Re for guix-patches@gnu.org; Sat, 11 Jul 2020 18:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juOD0-0001Lq-Iy for guix-patches@gnu.org; Sat, 11 Jul 2020 18:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1juOD0-000535-Fv for guix-patches@gnu.org; Sat, 11 Jul 2020 18:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42329] [PATCH] gnu: Add thin-provisioning-tools. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Jul 2020 22:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42329 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42329@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159450734519358 (code B ref -1); Sat, 11 Jul 2020 22:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jul 2020 22:42:25 +0000 Received: from localhost ([127.0.0.1]:45030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juOCP-00052A-1O for submit@debbugs.gnu.org; Sat, 11 Jul 2020 18:42:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:58988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juOCK-000520-Ts for submit@debbugs.gnu.org; Sat, 11 Jul 2020 18:42:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juOCK-0004yl-MM for guix-patches@gnu.org; Sat, 11 Jul 2020 18:42:20 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:33980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juOCI-0001JB-E8 for guix-patches@gnu.org; Sat, 11 Jul 2020 18:42:20 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1juOCE-0003wC-3Z; Sun, 12 Jul 2020 00:42:14 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1juOCA-000732-H1 for guix-patches@gnu.org; Sun, 12 Jul 2020 00:42:13 +0200 From: Michael Rohleder X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Sun, 12 Jul 2020 00:42:06 +0200 Message-ID: <87r1thsmgx.fsf@rohleder.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1594507336;f958e4c4; X-HE-SMSGID: 1juOCE-0003wC-3Z Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/11 18:42:14 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: pol6x6MrSo8g --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I use lvmcache (on ssd) for / (on spinning rust) which works fine. But it writes the cache to the harddrive on every boot. In order to debug (and maybe fix it), I think these tools (esp. cache_check) might be useful... --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-thin-provisioning-tools.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add thin-provisioning-tools. From=200307f8f0e8f4abb3506ae7f05c84bfe79b50518d Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Sun, 12 Jul 2020 00:25:13 +0200 Subject: [PATCH] gnu: Add thin-provisioning-tools. * gnu/packages/linux.scm (thin-provisioning-tools): New variable. =2D-- gnu/packages/linux.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index bd7cbf183f..c010b3178b 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -46,6 +46,7 @@ ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 Morgan Smith ;;; Copyright =C2=A9 2020 John Soo +;;; Copyright =C2=A9 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -73,6 +74,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) + #:use-module (gnu packages boost) #:use-module (gnu packages calendar) #:use-module (gnu packages check) #:use-module (gnu packages cpio) @@ -3403,6 +3405,36 @@ mapper. Kernel components are part of Linux-libre.") #t)))))) (synopsis "Logical volume management for Linux (statically linked)"))) =20 +(define-public thin-provisioning-tools + (package + (name "thin-provisioning-tools") + (version "0.8.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jthornber/thin-provisioning-tools.gi= t") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01wl8c0cjbx1smbhj8dx6av5bnw5775m58gasc3vqwvsj0s9hq19")))) + (build-system gnu-build-system) + (arguments + ;; doesnt build with --enable-testing + `(#:tests? #f)) + (native-inputs + `(("automake" ,automake) + ("autoreconf" ,autoconf))) + (inputs + `(("boost" ,boost) + ("expat" ,expat) + ("libaio" ,libaio))) + (synopsis "Tools for manipulating the metadata of device-mapper target= s") + (description "A suite of tools for manipulating the metadata of the +dm-thin, dm-cache and dm-era device-mapper targets.") + (home-page "https://github.com/jthornber/thin-provisioning-tools") + (license license:gpl3+))) + (define-public wireless-tools (package (name "wireless-tools") =2D-=20 2.27.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl8KQD4ACgkQfHr/vv7y yyVn6gf/clI0GJVsNwFs4Ykb+5iXAtBDAdTsLkPTbW0QFtbKucKYBs1R81Md3SbG D0MFB49tTLRP9MM/JkbxghE5pIIJYNLepH2PNlzw2bI1kIYGXOTzzDEQlile/xBZ aUcjVXmqFTWWQIbvb0ITujL+9zB7NvhBw2jlcuO9y9wzYdiE133eBOkfwCSawrQ4 4uKu1xAIqd6CYWBiOw4YoA0tt2OvC8aLma5/cxsVBmp9B3gvhfj7RWbnoE93yCjE UVgXkmLXanBllD9DSf/Rc1JrDJ0f/fU+uqcPuDaCzOox40jU8ENYowcFTiQWrnUH lAvmH+gjLX0pMtUBYezRy1/rNyP5vg== =uJJ9 -----END PGP SIGNATURE----- --==-=-=--