From: Matt Zimmerman <mdz@debian.org>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] About COW & filesystems
Date: Tue, 28 Oct 2003 12:17:38 -0500 [thread overview]
Message-ID: <20031028171738.GG6350@dijkstra.csh.rit.edu> (raw)
In-Reply-To: <BAY2-DAV62hA53ZpEVm00000924@hotmail.com>
On Tue, Oct 28, 2003 at 01:34:10AM -0800, James McMechan wrote:
> Even better, if you hack it well it would also work on host kernels, well
> 2.6+ host kernels but DM appears to be the wave of the future, and COW
> files on real devices would be sweet.
DM is available and actively maintained on 2.4 as well (LVM2 and EVMS 2.x
use it there). They already implement snapshots (COW) using device-mapper;
the only difference is that they use a different on-disk metadata format to
store the bitmap.
> This is somewhat backwards in that it stacks the COW file under the ubd
> device, but this is pretty much how it has always been done and once the
> ubd_kern side is cleaned up putting a equivalent on top via DM should not
> make things too complex, I seem to remember booting from DM or worse yet
> loopback is a pain. Then later once DM is working nicely we can drop the
> COW layer under ubd easily by just replacing the COW_open/close/read/write
> with the normal open/close/read/write functions and let DM do all the hard
> work, alas not in the 2.4 roadmap, though it does seem like something that
> may get backported...
Booting from DM is not bad; there is an ioctl interface to get the physical
block addresses to give to the boot loader, and a patch for LILO to use it.
I don't know whether grub or any non-i386 bootloaders have support yet.
--
- mdz
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-10-28 17:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-28 9:34 [uml-devel] About COW & filesystems James McMechan
2003-10-28 17:17 ` Matt Zimmerman [this message]
2003-10-28 17:23 ` Jeff Dike
2003-10-29 14:16 ` James McMechan
2003-10-29 16:37 ` Matt Zimmerman
2003-10-29 17:13 ` Steve Schnepp
2003-10-29 18:23 ` Jeff Dike
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=20031028171738.GG6350@dijkstra.csh.rit.edu \
--to=mdz@debian.org \
--cc=user-mode-linux-devel@lists.sourceforge.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