From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D842139337 for ; Sun, 1 Aug 2021 21:56:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C6C2E0AB2; Sun, 1 Aug 2021 21:55:57 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8868E091B for ; Sun, 1 Aug 2021 21:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627854945; bh=0U9BbSA6XfTypmpnyiCwvCyR3jjVh0CWUV541Cv1e+I=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=ijOVJwOu1c859CpRcAYjKfA2m7r7eJlE2fyYNCvtzAdrf/IreOpKY3HooAPmvhwy3 E0ZOvQlaTL7Lej4fDA6VVNGAARyizLbL8RHUSUDgPlOpr4xIlhXgjB4HirQtmVT/Xq kWEVMQxjfecmq4PcJvCThnaKYH/6upeI3ssVqo3E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from kern ([92.117.56.238]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBDj4-1mJh5a3a2w-00Cifr for ; Sun, 01 Aug 2021 23:55:44 +0200 Date: Sun, 1 Aug 2021 23:55:43 +0200 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not) Message-ID: Mail-Followup-To: gentoo-user@lists.gentoo.org References: <6102DB58.7040103@youngman.org.uk> <56d64f52-1b9a-1309-c720-06bb63c9f80a@iinet.net.au> <7a8c52c3-4c96-89ac-ace0-6eb4b8f1401f@iinet.net.au> <6104C897.5010505@youngman.org.uk> <7e6b56a2-917f-4dd6-3599-722bca5162ca@iinet.net.au> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PCsYl9CpzqxXxP9S" Content-Disposition: inline In-Reply-To: User-Agent: Mutt 2.1.1; VIM - Vi IMproved 8.2 X-Provags-ID: V03:K1:LB1KF0q0O/6wrq8nCH8pSPLF/Bu4UMIgM/PTQFMmPjAlqMaJOOZ Cn3f+MmqV3lQLMyNxAUzku9oRJaVHmjhaNtASJzhp/KIRziKJ0nN34oVK7fycKgKVrSs4Yu WlnIzItT3lfEOqBhISgTPkhJQOZlwMQSIOuk/0uPeVH2o0pfxO/OjU0uGumvRXBD/XfF1W+ bLXNnB26Pacfaq2HweJEQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Nsw5NPcUkfs=:LBMwTy0EoZNHtQgtmt8Rtn MkjFjb0PivczeUwlnU+gv+if8c+rFja0Y1jcK/4A81UoOT9ILFQOF/bjQJ1QR2PLujWlRcXus mOq8CwTFflNVT023QE5DMNT+ZpnXdGu4kFba1Zc1w1RhsbiOYDPwFZ4hfzs9uNpS2cAdJtune DojHQCBl9rdiO9FQHZz4hpXek6PHohxkreZl1kkH3LD1kAXFJ4ugGlCHPF2F2YNZi5WnjHUif M6Vpe5kFWArJ+hhTMrmm9kTXyUc5Yh0ALzQvVvT0SE5vxCAZqa9iHIn+z4cKCmnMLzEQUx/5W +yZsCYjSz8h43mGpU6QWJyfgD7YShIfuVi7FZw2LCk6+Il84XdbNKQQMuOZilDZ3eNbiedxJN NxaVTNRf11XjqZ/FgtCXCOtC5x+t761OPc2b70qiUXPx9ar3SYWEfajb0zGNOXK5W6YQvSE1a jvwamRgywtB2AvRpHWi8RQqSKDWwVm6MhYjzxmvRoHF3kzKI3P/k3tKbFJ59rUiAdwhgdLd7M BbkVqFhDoxEBRoS4GqKuez9IgONqly5+ncWDOjzwdKYfj0Q0bzESq1f82Bre9yV+X5e9MA1k5 Om3042gBCwmETQkNpP71Y0ul+yhTEXIc9CZN8vndkdWbSDv5NjjfCgIgiUX5ScKj806EN5boM OLHpbqTF5SScJrrCrDLztU3SSiuwvuku25ckIpPHU6gFOPvD/JekuPLZYZlu1sx3OSn2OMWOa au3vORURx6T2lsB3+tTjBHLvqprZXOjw1Bp4Ijn+piiVlqfIruNex3DJwZvkrjGQgoHciAUcT JtCiQpzuouv1DNYeyCYirNNGCRgx84iEoQxa3FVrTHf1rL6vVGxSWrDPNDBBzgspwcebaeOQo xtKlwIjL9hTstbCUPkNqu99ztDG+++PnJ0f3o+UudC+xi2qeiAiVea6MuzO6svqNxiWkL1ATv h4upFx5i66cNtEUP6j6CjccjiU0uID2Fuyz3xwCRZo2TMpx+MTes7ireKG5qj0cCenvwYb8La bRJ7x/Vyouxnudafu4oyVpkDEGIvgqJbBO7sPgQbZKr/T0+FKB1lL3HzhDu0Dr/iPUQ2Zkbqw wGlZk3Bp4dpiiBmF0NS2zLxvPGreh3RJzTl X-Archives-Salt: 67f69147-24b7-4103-aaee-24da4eec19fe X-Archives-Hash: eb67c2e253e8497aa22da9cbe4a41da1 --PCsYl9CpzqxXxP9S Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Sun, Aug 01, 2021 at 11:36:36AM +0800 schrieb William Kenworthy: > >> Its not raid, just a btrfs single on disk (no partition).=C2=A0 Contai= ns a > >> single borgbackup repo for an offline backup of all the online > >> borgbackup repo's I have for a 3 times a day backup rota of individual > >> machines/data stores > > So you are borg=E2=80=99ing a repo into a repo? I am planning on simply= rsync=E2=80=99ing > > the borg directory from one external HDD to another. Hopefully SMR can = cope > > with this adequatly. > > > > And you are storing several machines into a single repo? The docs say t= his > > is not supported officially. But I have one repo each for /, /home and = data > > for both my PC and laptop. Using a wrapper script, I create snapshots t= hat > > are named $HOSTNAME_$DATE in each repo. >=20 > Basicly yes: I use a once per hour snapshot of approximately 500Gib of > data on moosefs, plus borgbackups 3 times a day to individual repos on > moosefs for each host. So you have: Host A =E2=94=80=E2=94=80[hourly]=E2=94=80=E2=94=80> Online-Borg A =E2=94= =80=E2=94=90 =E2=94=9C=E2=94=80=E2=94=80[3/day]=E2= =94=80=E2=94=80> Offline-Borg Host B =E2=94=80=E2=94=80[hourly]=E2=94=80=E2=94=80> Online-Borg B =E2=94= =80=E2=94=98 ? > 3 times a day, the latest snapshot is stuffed into a borg repo on moosefs > and the old=C2=A0 snapshots are deleted. How do you stuff just the latest snapshot of a repo into another repo? > 3. borgbackup often to keep changes between updates small - time to > backup will stay short. Apparently you are dealing with some kind of productive, high-availability or high-throughput system. I only have my personal stuff, so I don=E2=80=99= t mind it taking a few minutes. That allows me to watch progress bars and numbers going up. :) > 4. borg'ing a repo into a repo works extreemly well - however there are > catches based around backup set names and the file change tests used. > (ping me if you want the details) But what is the point of that? Why not simply keep the last x hourly/ daily/weekly snapshots? The only thing I can think of is to have a small(ish) short-term repo and keep the larger archival repo separate. --=20 Gr=C3=BC=C3=9Fe | Greetings | Qapla=E2=80=99 Please do not share anything from, with or about me on any social network. =E2=80=9CIf it=E2=80=99s true that our species is alone in the universe, th= en I=E2=80=99d have to say the universe aimed rather low and settled for very little.=E2=80=9D =E2=80= =93 George Carlin --PCsYl9CpzqxXxP9S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmEHGF8ACgkQizG+tUDU MMrrzBAAyricJu2V9QGiNZWw5YqPvpIEVsdsvI67KWi1BpjOtalWm4s7wH3KH9Ra qf2cK0dft+xkYRVx2mHx95ncMhHHgs4zKCwmlvHjZ3CzlJ+y8hWAKxMP2lgpAa/V HhYEIb7i+7xd/Bcn6TKIXyIWNWbxBWnJ68lUGBnd8Exu9vK7zBFSxg6Wxkhc3YcM sGS7WvpiEDE16NsdknkU8//gSnaAbMEMmb9Ej42ay58n5g4FAtnaIWtrNcpk6wmL HUKCht1Q/n/EOTIn4bCAXDI1XOuhlrKcOsdZhqjOV0kVvCkKrNQX+vqWJQYlahng pS5UBnNLo9ZFCoMfdBRI4jXkYN8TCWTsu42eMQBXAPrFjhshJM/pYgF6mLLVULJd RxIkWeH7bWGeEEADLeRb3qKJPCbBO0x1TAfbH2yEKpDeaES/B/DtEanlGzxpb3xS EWFOVeaK02uudqfsNeBuR+khVCWoisbl39PG82ZrcCP7HIOrKKFe0M3EAwiXuTUu ijjRVKnzzM9XhE47dvmtpqU/nzxJn5BUJnFRKkqvulzhg3qeoFJzP3RxkvaJQ9Wa 169sGSks7LQ9EHAxna9MF7YwBQoIfFmYfm5b3gzLPanlkNT++L4Di/JqyI/XoiAv Kvc42bpCbaIfhZVZmDqpGSHcgEDmqRKY3vAjnRnEx0shoMecGQ0= =Uevv -----END PGP SIGNATURE----- --PCsYl9CpzqxXxP9S--