From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob20.topicbox.com (tb-ob20.topicbox.com [173.228.157.66]) by inbox.vuxu.org (Postfix) with ESMTP id 729FD26A0B for ; Wed, 31 Jul 2024 15:44:10 +0200 (CEST) Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 1199A33DC7 for ; Wed, 31 Jul 2024 09:44:09 -0400 (EDT) (envelope-from bounce.mMfba60d10721e0f8e0cf4e3ae.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id A5D0316396F8; Wed, 31 Jul 2024 09:44:08 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=a/MBxSGZ header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-lf1-f42.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1722433448; bh=cngISBjN5PvMsnDT y6rB93aPl6pHHsJlqFzftJrPkfc=; b=qmIJTWa3XddqvwLCCfVauzWNRp/0EHvQ fpIUWQQvqgifwV7SnQa0FLu8o7rHeufQCbh1d8SujM0S4gLsGIMzy6QBVVx0L5Hw FVLBbls6c7rQxnRG/AKcy/Ea0tT47CTdrCuyPiK5PepznMCnw7bPXgIDw2LoE/Qz c+bN0McnFMo= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1722433448; b=VIny+Lr6d5F93MAS2HgddThSRl/Kk7HfMjze7GBBt4DBdzHSWg +cVGyEpwxbGbuveoLoIKNgOUPE2CFy/BQXtKi/phc5fpEmYtp1SfC4Eqgv61yZHv JShWotRjnNsNmxcAfmnnDJf9ABsUinhkTk76N/W2M4In38olnKYLgOcUM= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=a/MBxSGZ header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-lf1-f42.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=a/MBxSGZ header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.42 (mail-lf1-f42.google.com); spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-lf1-f42.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=nES/5U09; x-me-sender=none; x-ptr=pass smtp.helo=mail-lf1-f42.google.com policy.ptr=mail-lf1-f42.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1722433448; x=1722519848; bh=CdFBl9AmoMqLGt2AMIqQaPp3tPUzkrNg gdRohADJHTI=; b=ZxZVVxg199jhGAy2Qe2Nst2rtnqzwezZ1Qhx+5gP/MCQdaTf XBCiv5Qh+wEwHKnlz0j0jGwysm5sWoBSOoAwmP7QIJz8kAmsA6NKfWW7qVUCqSaj TsemEn9NxqkSQRYrtCF+LoCfa/6esivVAOYF252ewXW4/g6ucWbO8lslMLw= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id E79AC2101418 for <9fans@9fans.net>; Wed, 31 Jul 2024 09:43:47 -0400 (EDT) (envelope-from charles.forsyth@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id A603B727DB5; Wed, 31 Jul 2024 09:43:47 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1722433427; b=uTGDPqhj/o2wJbazho6l2fB+y51ROth9O13JRRSugEUzob6Pu8 kbODWnrkAxf4yEKjgrKHADDU1rl0o3YRCDPlKm5HyTmBMvIewz5FHiBwTw1FkypS rIYssNM+/vjk5V8Yfx3to8yerIL/wx+dsngQ8dVZ6Y2M73YOw0a3cBgVyWwARE4o 2VOWDRsapy0X85ykVngmkx13fn9Jv9gHSUn/F97yRlp8f0eB+yoMraUdh2PpF7yy +sZswG9jzJw1Apf4hpqK/PcqIl2ppfqeiXvDzIBAmdy5W9niOMX1FoC/NHkTn5SX ktvLqPF3E+9rJD4bMTtrtqXjrdrG6bDKj1pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1722433427; bh=Ez2YVEWn4c7Yxa6eWs+W7vWmjUo/4crxnep+KZ6kG0o=; b=jTBHbCbFoB2V NRfr7UVHu8au3GhoMYBO1v0D1F/FIK4DP5VGW/iUeFtHhiwNSA2BNh2224yzGVEZ ZSA6TVHoPf00dOKkj7V5/qO/483ZGee4tkVjVBYQ6Xbp82SUCSaUZl8Hl4jPwAWb F2lAFXvAmqw9lKm2nzOzJtqxnJoBQ8P6D1pSwQdilgzpPB0muB0rEtB5An7GAsoa yFDF8QRTeaDaL5BnKN2kH+ggrZ0Ye6Tr2D8C3mzWnhL0I47WH43RcyBH9rDi40BI Qgiq0lczkHH8Lngaj3NmiLuqoEXQirDniMTlmvaoIB3CmKVq3Kvy7dqdaRx/TNTs yQdY6yKWNA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=a/MBxSGZ header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.42 (mail-lf1-f42.google.com); spf=pass smtp.mailfrom=charles.forsyth@gmail.com smtp.helo=mail-lf1-f42.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=nES/5U09; x-me-sender=none; x-ptr=pass smtp.helo=mail-lf1-f42.google.com policy.ptr=mail-lf1-f42.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeeigdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgghfjgfhff fkuffvtgesrgdtreertddtjeenucfhrhhomhepvehhrghrlhgvshcuhfhorhhshihthhcu oegthhgrrhhlvghsrdhfohhrshihthhhsehgmhgrihhlrdgtohhmqeenucggtffrrghtth gvrhhnpeeffeethfevhfevteejtdfhieefieevheejledvgeevvdeglefgvedtlefggeei keenucffohhmrghinhepthhophhitggsohigrdgtohhmnecukfhppedvtdelrdekhedrud eijedrgedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddt ledrkeehrdduieejrdegvddphhgvlhhopehmrghilhdqlhhfuddqfhegvddrghhoohhglh gvrdgtohhmpdhmrghilhhfrhhomhepoegthhgrrhhlvghsrdhfohhrshihthhhsehgmhgr ihhlrdgtohhmqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeolehfrghnshesle hfrghnshdrnhgvtheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'charles.forsyth@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="charles.forsyth@gmail.com"; helo=mail-lf1-f42.google.com; client-ip=209.85.167.42 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 31 Jul 2024 09:43:47 -0400 (EDT) (envelope-from charles.forsyth@gmail.com) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-52efd08e6d9so8644017e87.1 for <9fans@9fans.net>; Wed, 31 Jul 2024 06:43:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722433425; x=1723038225; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ez2YVEWn4c7Yxa6eWs+W7vWmjUo/4crxnep+KZ6kG0o=; b=nES/5U09WVGFNS30q5VvWc3AsYPOtrpXQn3I+NaCnVfQOA/y6Wr98PLXu6yAsrAIVH fvsZUq3gN7120QBv/41OyVtiKDZfbm6PVbc5lMBljPTE7VBbxqY37st8gnzWudVeuq6+ aHTQf97oQ76QFEgqhTm//t76AYSrzUJQDPoL16K/66j+IqW1BOsQh91dxbYKiLJVEDZA udder5ZUNTZep0RHJ1zFpbeiyYxoRwnjISJOty26/5pIJwUWsKkNt7tErQLxZMelu4hD rIq4iIvsOy9APq+GReTHzjCFHlWIl6G2Ngkf7wfrVGXqltFmklttTbbGImpTflV7fBoN 2pBg== X-Gm-Message-State: AOJu0Yy7EEprkW7Tpzpsv3R9LLiyZH27dnkYup7qq2vvGAqxz8gRWxhk MP2kbLYZxsRd36v1YMv/byuEJGA71eXecCPANnqYtPrUPRCTwpvJXTq+kf2x1ecvVps982TDMXh HI8vvNlukbb21WaCsxOTD4gle+XsYKiGlIZc= X-Google-Smtp-Source: AGHT+IGSBC7fqxH4+9mjDsKHQyIreF1UvNO/Ss7QXyaLEdJDzXnkU3wdeUzSHleHc9VZcWCAqeWVHBlXxgNiAedekyg= X-Received: by 2002:ac2:568c:0:b0:530:ae99:c83e with SMTP id 2adb3069b0e04-530ae99d36dmr2586407e87.6.1722433425084; Wed, 31 Jul 2024 06:43:45 -0700 (PDT) MIME-Version: 1.0 References: <1833183.1722388779@LUNACY.UGRAD.CS.CMU.EDU> <17223896110.D36F.834362@composer.9fans.topicbox.com> <17223916540.d9CdBad2.972286@composer.9fans.topicbox.com> In-Reply-To: <17223916540.d9CdBad2.972286@composer.9fans.topicbox.com> From: Charles Forsyth Date: Wed, 31 Jul 2024 14:43:33 +0100 Message-ID: Subject: Re: [9fans] Re: venti/mirrorarenas usage To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000000000000739862061e8b480f Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: ecaf2cb4-4f42-11ef-9461-0e33028c7b06 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UY2EwZWIwZmJiMjQwNGUzMS1NZmJhNjBkMTA3MjFlMGY4ZTBjZjRl?= =?UTF-8?B?M2FlPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mfba60d10721e0f8e0cf4e3ae:1:_lTH1wKN0K8ldoJpZbnNn-_eHTyVtFsWc8uox_Ah-50 --000000000000739862061e8b480f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable yes. i use it to mirror my venti arenas on other ssds, partitioned the same as the original , with a short script run by the cron on the venti server. mirror: #!/bin/rc venti/mirrorarenas -v /dev/sdE0/arenas0 /dev/sdE1/arenas0 venti/mirrorarenas -v /dev/sdE0/arenas0 /dev/sdE2/arenas0 date On Wed, 31 Jul 2024 at 03:08, wrote: > If you look at the top of the file you'll see: > > /* > * Mirror one arena partition onto another. > * Be careful to copy only new data. > */ > > > Now if you combine this with some of the information from venti(8): > > The data log is logically split into sections called arenas, > typically sized for easy offline backup (e.g., 500MB). A > data log may comprise many disks, each storing one or more > arenas. Such disks are called arena partitions. Arena par- > titions are filled in the order given in the configuration. > > > My best guess is that this is an incremental backup tool, where you give > it a source and destination arena partition and the code looks at both, > figures out the deltas, then copies over only what is needed. The venti > code is a bit inscrutable and I'm no venti guy so take this with a grain = of > salt. > *9fans * / 9fans / see discussions > + participants > + delivery options > Permalink > > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tca0eb0fbb2404e31-Mfba60= d10721e0f8e0cf4e3ae Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --000000000000739862061e8b480f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
yes. i use it to mirror my venti arenas on oth= er ssds, partitioned the same as the original , with a short script run by = the cron on the venti server.
mirror:
#!/bin/rc
venti/mi= rrorarenas -v /dev/sdE0/arenas0 /dev/sdE1/arenas0
venti/mirrorarenas -= v /dev/sdE0/arenas0 /dev/sdE2/arenas0
date

On Wed, 31 Jul= 2024 at 03:08, <moody@posixcafe.= org> wrote:
If you look at the top of the file you'll see:

=
/*
 * Mirror one arena partition onto another.=20=20
 * Be careful to copy only new data.
 */

Now if you combine this with some of t= he information from venti(8):

          The data log is logically split i=
nto sections called arenas,
          typically sized for easy offline backup (e.g., 500MB).  A
          data log may comprise many disks, each storing one or more
          arenas.  Such disks are called arena partitions. Arena par-
          titions are filled in the order given in the configuration.
=

My best guess is that this is an incremental ba= ckup tool, where you give it a source and destination arena partition and t= he code looks at both, figures out the deltas, then copies over only what i= s needed. The venti code is a bit inscrutable and I'm no venti guy so t= ake this with a grain of salt.
<= div id=3D"topicbox-footer" style=3D"margin:10px 0 0;border-top:1px solid #d= dd;border-color:rgba(0,0,0,.15);padding:7px 0;"> 9fans / 9fans / see discussions + participants + delivery&n= bsp;options Permalink = --000000000000739862061e8b480f--