From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id EA0701F7918C for <9fans@9fans.net>; Thu, 2 Apr 2020 08:10:05 -0400 (EDT) (envelope-from ole.hjalmar.kristensen@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id A3CB795904E; Thu, 2 Apr 2020 08:10:05 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1585829405; b=gtdGpsBkx81mctY8wyFHmKanU7yU4Ovi9pVRJIUPH4Rl5bY1Vm mVIvSARxPGg6PRbACmpcaTrF+2cIE33M8ALQkOXAHR9ynxUyDO3wIqT4FdQi7v61 lm0pZULlDRXuL4gcHbOMPGArOZr0/WryodNih0LLKE/423Q2Dz21lQYyQ37+NE3O Te/lzYBzXhd4/Zr2fAGv5p2hUUY12eTW4ogxLHAwuIgIl9mahm7xUsRebLRuIEss pjLdnTR9YcEtH0jXj/bdgDnrhoNvPnWZx1uqnpalVaNI/ad0XuZgte1bJe6HpfOy Cg1IsbS0DI04957CtbOnvwdcCfXVG5GYMSmQ== 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=1585829405; bh=8GCO3/ZstLwpGy51iLgYg6gvEIupcryO4L4LiWdzjto=; b=vwpyn2TsNAvF +ealknws8/dU+yDDVFfD9m3UOC6PU7MBfsCw+pvC9DJt+vwOQVcaxQFgl28gtr0F LF5q/78kivli0wfV9iFGtTkyUewnvQjE0vQHXXNdn93jUnnSgqgS2s4m1Fjgsowb m6gt3Ncleo+/i5RD7b71C3M61nsmt4DJh0hNgSX51v+tX/6IFCNN+Eak9i8RSZxD 2NnP34G58FxDCzcZpNp7r/I/Jt/AQhoUdmg1A/3Fym1+EIyF2TCdCDKazGt5ZZ0e dzpdEhgakaZKHVMg7xaxgXTjCeZmW1mEVjDAR31c6BQdpTuG30uTydmJijzFjG3m OGZj54BuLQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=oDN5PeO2 header.a=rsa-sha256 header.s=20161025 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.208.169 (mail-lj1-f169.google.com); spf=pass smtp.mailfrom=ole.hjalmar.kristensen@gmail.com smtp.helo=mail-lj1-f169.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=OplwD7++; x-ptr=pass smtp.helo=mail-lj1-f169.google.com policy.ptr=mail-lj1-f169.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.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 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=oDN5PeO2 header.a=rsa-sha256 header.s=20161025 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.208.169 (mail-lj1-f169.google.com); spf=pass smtp.mailfrom=ole.hjalmar.kristensen@gmail.com smtp.helo=mail-lj1-f169.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=OplwD7++; x-ptr=pass smtp.helo=mail-lj1-f169.google.com policy.ptr=mail-lj1-f169.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt2.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: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeggdegfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgghfjgfhff fkuffvtgesrgdtreertddtjeenucfhrhhomhepqfhlvgdqjfhjrghlmhgrrhcumfhrihhs thgvnhhsvghnuceoohhlvgdrhhhjrghlmhgrrhdrkhhrihhsthgvnhhsvghnsehgmhgrih hlrdgtohhmqeenucffohhmrghinheplehprdhiohdpthhophhitggsohigrdgtohhmnecu kfhppedvtdelrdekhedrvddtkedrudeileenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepihhnvghtpedvtdelrdekhedrvddtkedrudeiledphhgvlhhopehmrghilhdq lhhjuddqfhduieelrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeoohhlvgdrhh hjrghlmhgrrhdrkhhrihhsthgvnhhsvghnsehgmhgrihhlrdgtohhmqecuuffkkgfgpeel jedthe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'ole.hjalmar.kristensen@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ole.hjalmar.kristensen@gmail.com"; helo=mail-lj1-f169.google.com; client-ip=209.85.208.169 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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>; Thu, 2 Apr 2020 08:10:05 -0400 (EDT) (envelope-from ole.hjalmar.kristensen@gmail.com) Received: by mail-lj1-f169.google.com with SMTP id n17so2942721lji.8 for <9fans@9fans.net>; Thu, 02 Apr 2020 05:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8GCO3/ZstLwpGy51iLgYg6gvEIupcryO4L4LiWdzjto=; b=oDN5PeO2r/TO4KWgBVhHKeEUgq5qu5+WtvHO/xoDZ4caulI5J+iPl+/G04HoTzO9Ke jMI+OuogxEP2t6+be0nUY6ueoAo14afb2yo+i3RmMsSVRLc6MAJVJUGL3Q05y5uXGuBW HNmIh4Hp9zGcXWy+pEVp2dKaHO1Emv5EigjbgTSFdTk3GcGaLpzcYxJpPjFM+ALBhuE/ BH8sMPRz25fOzXww1unceJ+lpmrn3xXTrsOzVrlHUdjEL1jXsZpYYI4/ppM4Z9E2tMgp mdkojOT/PXk6o4thUFrxDxunOH2kXateaSzqoAE6B0ru9AR/lBBvWop3u9dn8UoqCcJD 8NtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8GCO3/ZstLwpGy51iLgYg6gvEIupcryO4L4LiWdzjto=; b=OplwD7++RuNVbN/KRRzyX+YPTdj4XE92WtHq/ofqxFn2vxurQ0PDyjCkQHRUfRL47x SfNel9lN9VLxW5ACelmqpHR3IekJY3J75zZXfvXLHh/vcTEBnDAAdt9qGAce32c3dY3/ 4HyPi4IbpLFUCOvTUGbZccFjSXaNUKUHDH9ba9mSt2EBYarGYhjonDr1P3HLITZkVSI+ 9vIVEIyiscCThaM6qoF0OrMCrbWzQrtuSG63OEUL9UqdfjQcvpvgJDxN/2BHJsTyUaKA toe4XusJHswkS13BZSEXGW5rw+5KW7G9c5QgVgF5MqPls5sNtoRsNST/AjAWxrKqjX6B FgPQ== X-Gm-Message-State: AGi0Puawx4ZGTHkWCM8nReBXLfv8x/enAsLvJcbjTsnMLij09jE/7v0b siJZCYTsXICfCf38fziwMuHKMt/7bCTvuTz2WPQGDwj3t2M= X-Google-Smtp-Source: APiQypLIZzhSUhZBmOLRc/s+IqKjpd2SGeHoINXxL/NedQ5+43nAfkY9T09vi1ORrzpD0Y26SN+2zpX3ajCA9kVjSds= X-Received: by 2002:a2e:b896:: with SMTP id r22mr1760545ljp.43.1585829403656; Thu, 02 Apr 2020 05:10:03 -0700 (PDT) MIME-Version: 1.0 References: <15838110370.EA8c2.229460@composer.9fans.topicbox.com> In-Reply-To: From: Ole-Hjalmar Kristensen Date: Thu, 2 Apr 2020 14:09:52 +0200 Message-ID: Subject: Re: [9fans] plan9port fossil To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary="0000000000004786b305a24dae91" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: e96fb84e-74da-11ea-bc0f-e89c6952c256 --0000000000004786b305a24dae91 Content-Type: text/plain; charset="UTF-8" I am curious about the problems you have with your Linux Mint. I have been running a relatively large (6 TB max) venti on an old Toshiba laptop with Intel core 2 processor running Bunsenlabs (Debian) the last couple of years. It was migrated from a 2 TB venti running on an old Pentium 4 box with 1 GB running Crunchbang (Debian), when that one ran out of space. Both installations have been used for backup of various other systems, including my Linux Mint laptop, my Linux file server, and a 9front installation, and I have experienced no problems at all with respect to throughput. I have a fairly sub-optimal config with everything on a single disk: index sdc-6tb arenas /dev/sdc1 isect /dev/sdc2 bloom /dev/sdc3 mem 100M bcmem 200M icmem 400M What kind of write speed are you seeing? On Thu, Mar 19, 2020 at 1:34 PM Lucio De Re wrote: > On 3/18/20, Steven Stallion wrote: > [ ...] > > > > I've had a lot of luck using venti from plan9port with fossil running > > natively on my plan9 fileserver. I keep a directory on sources (now > > 9p.io) with some notes and example scripts on how to make this work: > > http://9p.io/sources/contrib/stallion/venti/. The biggest benefit to > > this configuration is it makes offsite backups a breeze from the Linux > > host. > > > Nice stuff, Steven. I found my small Linuxmint workstation not up to > the task, the worst symptom being that shutting venti down takes a > very long time, tens of minutes, I think. It didn't matter when the > host was on all the time, but of late power blackouts have made that > untenable. > > What I wish to contribute here is that using an external drive and > configuring it as a raw image allows it to be used (I presume even > shared) between Venti hosts. My most recent (and pretty old) > configuration is this: > > $ cat sdb.conf > index main > > isect /dev/sdb3:0k-20774910k > arenas /dev/sdb3:20774911k-418906111k > bloom /dev/sdb3:418906112k-419430400k > > mem 80m > bcmem 160m > icmem 256m > > addr tcp!*!venti > httpaddr tcp!*!8008 > > Sadly, there is at least one damaged block and I did not have the > foresight to set the drive up as a mirror or better. It is not > critical, but that would be helpful. > > The equally low priority problem I mentioned in the past: vacfs on p9p > truncates all large files on reading. Cinap suggested checking for > mixed-size pointer/integer types, but that becomes a mission. Still, > it is worth doing. > > The native version of vacfs works flawlessly and mounts quite > successfully under p9p. > > Lucio. > > ------------------------------------------ > 9fans: 9fans > Permalink: > https://9fans.topicbox.com/groups/9fans/T5df913730c26a8d5-M1e28a77bd74a8c1e489a33aa > Delivery options: https://9fans.topicbox.com/groups/9fans/subscription > --0000000000004786b305a24dae91 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am curious about the problems you have with your Linux M= int. I have been running a relatively large (6 TB max) venti on an old Tosh= iba laptop with Intel core 2 processor running Bunsenlabs (Debian) the last= couple of years. It was migrated from a 2 TB venti running on an old Penti= um 4 box with 1 GB running Crunchbang (Debian), when that one ran out of sp= ace. Both installations have been used for backup of various other systems,= including my Linux Mint laptop, my Linux file server, and a 9front install= ation, and I have experienced no problems at all with respect to throughput= . I have a fairly sub-optimal config with everything on a single disk:
=
index sdc-6tb
arenas /dev/sdc1
isect /dev/sdc2
bloo= m /dev/sdc3
mem 100M
bcmem 200M
icmem 400M

What kind of write speed are you seeing?

On Thu, = Mar 19, 2020 at 1:34 PM Lucio De Re <lucio.dere@gmail.com> wrote:
On 3/18/20, Steven Stallion <sstallion@gmail.com> wrote: [ ...]
>
> I've had a lot of luck using venti from plan9port with fossil runn= ing
> natively on my plan9 fileserver. I keep a directory on sources (now > 9p.io) with some notes and example scripts on how to make this work:
>
http://9p.io/sources/contrib/stallion/venti/. T= he biggest benefit to
> this configuration is it makes offsite backups a breeze from the Linux=
> host.
>
Nice stuff, Steven. I found my small Linuxmint workstation not up to
the task, the worst symptom being that shutting venti down takes a
very long time, tens of minutes, I think. It didn't matter when the
host was on all the time, but of late power blackouts have made that
untenable.

What I wish to contribute here is that using an external drive and
configuring it as a raw image allows it to be used (I presume even
shared) between Venti hosts. My most recent (and pretty old)
configuration is this:

$ cat sdb.conf
index=C2=A0 =C2=A0main

isect=C2=A0 =C2=A0/dev/sdb3:0k-20774910k
arenas=C2=A0 /dev/sdb3:20774911k-418906111k
bloom=C2=A0 =C2=A0/dev/sdb3:418906112k-419430400k

mem=C2=A0 =C2=A0 =C2=A080m
bcmem=C2=A0 =C2=A0160m
icmem=C2=A0 =C2=A0256m

addr=C2=A0 =C2=A0 tcp!*!venti
httpaddr=C2=A0 =C2=A0 =C2=A0 =C2=A0 tcp!*!8008

Sadly, there is at least one damaged block and I did not have the
foresight to set the drive up as a mirror or better.=C2=A0 It is not
critical, but that would be helpful.

The equally low priority problem I mentioned in the past: vacfs on p9p
truncates all large files on reading. Cinap suggested checking for
mixed-size pointer/integer types, but that becomes a mission. Still,
it is worth doing.

The native version of vacfs works flawlessly and mounts quite
successfully under p9p.

Lucio.

------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/T5df913730c26a8d5-M1e28a77bd74a8c1e489a33= aa
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
--0000000000004786b305a24dae91--