9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Disk backup?
Date: Mon, 25 Mar 2013 14:46:02 +0900	[thread overview]
Message-ID: <CCCB7481-E1C0-4DA7-8A4E-1F2331F265F1@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <bfc85197e580cf9736b3c4d063621dbf@rei2.9hal>

thanks cinap,

I believed you are interested on this topic.

assuming we don't modify current cwfs code,
the only way to solve the problem is to have list of unwritten blocks up to last superblock 
(or bitmap of written blocks)
cwfs might manage the list, but I don't know where it is.

inspecting block tags of fsworm gives us information for having the list.
but my fsworm is old one that have been used elsewhere, and full of garbage data.
then block tag of fsworm is unreliable. 
we have small probability to misunderstand that some of unwritten blocks is as written blocks.
to avoid this problem, we must format fsworm putting some special tag on each block.
this will take long time, but only once.
do you have any alternative solution?


On 2013/03/25, at 13:36, cinap_lenrek@gmx.de wrote:

> i was thinking about this some time ago... theres the fakeworm
> device "f<subdevice>" that will maintain a block bitmap of
> the blocks that have already been written. one could write
> a program that also backups the block bitmap and on backup,
> compares the bitmaps prior copying blocks so only newly
> written blocks get backed up.
> 
> --
> cinap
> 




  reply	other threads:[~2013-03-25  5:46 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 22:10 trebol
2013-03-25  0:33 ` erik quanstrom
2013-03-25  2:04   ` trebol
2013-03-25  3:14     ` arisawa
2013-03-25  4:36       ` cinap_lenrek
2013-03-25  5:46         ` arisawa [this message]
2013-03-25  7:19           ` cinap_lenrek
2013-03-25  7:32             ` arisawa
2013-03-25 13:43         ` erik quanstrom
2013-03-25 15:03       ` erik quanstrom
2013-03-26  7:27         ` arisawa
2013-03-26 13:19           ` erik quanstrom
2013-03-26 18:34             ` cinap_lenrek
2013-03-26 18:56               ` erik quanstrom
2013-03-26 19:07                 ` cinap_lenrek
2013-03-26 19:10                   ` erik quanstrom
2013-03-26 19:15                   ` erik quanstrom
2013-03-26 19:23                     ` cinap_lenrek
2013-03-26  7:07     ` arisawa
2013-03-26 12:52       ` erik quanstrom
2013-03-26 23:22     ` trebol
2013-03-28  7:51       ` arisawa
2013-03-28 13:17         ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CCCB7481-E1C0-4DA7-8A4E-1F2331F265F1@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).