All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Shmakov <oneingray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: NILFS for a "chroot": a kind of a work-around
Date: Mon, 16 Jul 2012 12:13:24 +0700	[thread overview]
Message-ID: <86mx30waob.fsf@gray.siamics.net> (raw)
In-Reply-To: 7292C0D8-99A6-4A9E-A1B6-976138550FFA@dubeyko.com

>>>>> Vyacheslav Dubeyko writes:

 > As I know, checkpointing is a fundamental technique of the NILFS.  It
 > is possible to imagine checkpointing as an act of final placing of
 > file system blocks on disk storage.  Another filesystems also writing
 > on disk but, usually, without possibility to keep history of file
 > system operations and manage by history.  Checkpoint in NILFS is
 > natural possibility to prevent from file system inconsistency and
 > failure by means of Copy-On-Write policy.  Of course, checkpoints
 > keep duplicates of metadata and data information but obsolete
 > checkpoints can be deleted by nilfs_cleanerd.  So, from my point of
 > view, your approach is trying to overcome the main goal of the NILFS.

	Not at all.  The idea is to utilize NILFS snapshots to record
	consistent states of the chroot environment.  So, e. g., having
	found that certain software package did break, I can bisect the
	filesystem history to find the version of the package which have
	introduced the bug.

	Using rsync(1) makes this easier, as there's both much less work
	to the GC, and it takes less time to perform the changes, so
	there are only a few checkpoints to check.

 > What about reliability in your approach?  Everything can occur during
 > operations under tmpfs partition (for example, sudden power off).

	Then, the latest operation (# apt-get install something) won't
	be effective and will have to be repeated.  But the target
	chroot environment will still be in a consistent state.

[…]

-- 
FSF associate member #7257	http://sf-day.org/

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2012-07-16  5:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14 16:31 NILFS for a "chroot": a kind of a work-around Ivan Shmakov
     [not found] ` <86zk72xq2g.fsf-Sxm0eyAyORm7AG94EA9mQA@public.gmane.org>
2012-07-14 21:07   ` Vyacheslav Dubeyko
2012-07-16  5:13     ` Ivan Shmakov [this message]

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=86mx30waob.fsf@gray.siamics.net \
    --to=oneingray-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.