Hello 9front people, out of curiosity, few questions about venti in 9front (especially since fossil is removed): Are there any standard use cases that venti is used for? Any applications that use it or have sample configuration files, besides vac? Is it possible (or a good idea) to patch cwfs to have some worm alternative in venti? What do you guys use venti for? sirjofri
Quoth sirjofri <sirjofri+ml-9front@sirjofri.de>:
> What do you guys use venti for?
Not to be a downer, but I only use venti for backups. I use hjfs, but
trust venti a bit more.
> Not to be a downer, but I only use venti for backups. I use hjfs, but
> trust venti a bit more.
/n/dump isn't a backup anyway...it's the dump. Only way hjfs could be
considered 'a backup' is if you have a separate one of it that you
dir/cp/hist into.
Quoth Stuart Morrow <morrow.stuart@gmail.com>:
> > Not to be a downer, but I only use venti for backups. I use hjfs, but
> > trust venti a bit more.
>
> /n/dump isn't a backup anyway...it's the dump. Only way hjfs could be
> considered 'a backup' is if you have a separate one of it that you
> dir/cp/hist into.
Right, sorry to imply that I was using hjfs for backups. I use hjfs
yet don't have trust that it will always work. That's where venti
comes in--I can restore (and have restored) to an hjfs partition from
a venti backup. I trust venti more than hjfs. I'd be interested in
using fossil + venti but that has already been brought up on this
list/9fans multiple times.
I'd be interested in patching cwfs so I can have an alternative layout
without a worm partition, but dump with a venti. I believe this is
possible. What do people who touched cwfs (and/or venti) source code
think about that?
06.09.2021 06:23:06 unobe@cpan.org:
> Quoth Stuart Morrow <morrow.stuart@gmail.com>:
>>> Not to be a downer, but I only use venti for backups. I use hjfs,
>>> but
>>> trust venti a bit more.
>>
>> /n/dump isn't a backup anyway...it's the dump. Only way hjfs could be
>> considered 'a backup' is if you have a separate one of it that you
>> dir/cp/hist into.
>
> Right, sorry to imply that I was using hjfs for backups. I use hjfs
> yet don't have trust that it will always work. That's where venti
> comes in--I can restore (and have restored) to an hjfs partition from
> a venti backup. I trust venti more than hjfs. I'd be interested in
> using fossil + venti but that has already been brought up on this
> list/9fans multiple times.
Quoth <sirjofri+ml-9front@sirjofri.de>:
> I'd be interested in patching cwfs so I can have an alternative layout
> without a worm partition, but dump with a venti. I believe this is
> possible. What do people who touched cwfs (and/or venti) source code
> think about that?
i dont know if you really need to patch cwfs, i ran cwfs with no dump and backed up to venti with a cron job for a while.
if you do feel like patching libventi is used by both venti clients and the server so you should be able to use that in cfws. i don't know about the on-disk format though.
though if you want a venti backed fs, you could always just import fossil :P perhaps from ants?
- james
07.09.2021 01:43:45 james palmer <james@biobuf.link>: > Quoth <sirjofri+ml-9front@sirjofri.de>: >> I'd be interested in patching cwfs so I can have an alternative layout >> without a worm partition, but dump with a venti. I believe this is >> possible. What do people who touched cwfs (and/or venti) source code >> think about that? > > i dont know if you really need to patch cwfs, i ran cwfs with no dump > and backed up to venti with a cron job for a while. That's also a solution. I assume you used vac? Did you change the 9fs script to fit the venti situation (9fs dump)? > if you do feel like patching libventi is used by both venti clients and > the server so you should be able to use that in cfws. i don't know > about the on-disk format though. Absolutely. I didn't look at cwfs dump code yet, but I can imagine it's just a matter of injecting libventi code there, together with some config stuff. > though if you want a venti backed fs, you could always just import > fossil :P perhaps from ants? That's exactly what I do _not_ want :). The reason is that fossil is not part of 9front and future changes might break compatibility and/or make the system unstable. I believe cwfs is becoming more stable, especially considering nobody wants to patch fossil code (which is the reason why it's removed). Therefore, a venti-driven backup solution for the standard pretty-stable supported cwfs is more tempting than installing fossil. It would be great if you could share more details (and scripts?) for your venti backup solution with cwfs nodump. sirjofri
Quoth sirjofri+ml-9front@sirjofri.de: > That's also a solution. I assume you used vac Did you change the 9fs > script to fit the venti situation (9fs dump)? yes i did use vac. i changed 9fs to do "vacfs -m /n/dump /sys/lib/vac/dump.vac". > It would be great if you could share more details (and scripts?) for your > venti backup solution with cwfs nodump. the script wasn't too complicated, pretty sure it was just: #!/bin/rc cd /root vac -h fs -t -a /sys/lib/vac/dump.vac * the cwfs with no dump is the same config as on the wiki. one thing to note is it uses the same code as the cache so it can't handle being full and you can't see how full it is. - james