Linux LVM users
 help / color / mirror / Atom feed
From: "Kevin P. Fleming" <kpfleming@cox.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] read-only media in a LVM?
Date: Mon Jun 23 17:41:01 2003	[thread overview]
Message-ID: <3EF781FB.2000804@cox.net> (raw)
In-Reply-To: <C42D120999B1CC4C886B6BB2832F356019BF8F@hermes.genomatica.com>

Sean P. Kane wrote:

> Ok, let me clarify a bit. I mis-spoke, when I spoke of memory I meant
> ramdisk (fs). This is basically what I was actually visualizing in my
> head:
> 
> 1) Boot cdrom into a Linux instance.
> 2) Mount a read-write filesystem into memory (this is why I asked the
> size issue, obviously coping the whole cdrom to memory wouldn't be
> practical)
> 3) Create a snapshot (I'm am really new to lvm, so I'm still learning
> what all this means), which would be a small reference table of some
> sort, plus 32k blocks of changed data.
> 4)This would then allow "changes" to the cdrom while running in that
> session until the ram disk filled up? Correct?
> 5) If a file is created then deleted in an environment like this will
> the space it was using in the snapshot fs be released?
> 

This is not really an application for LVM snapshots at all. Snapshots would 
continue to use more and more memory if those files are created and removed, 
unless the underlying filesystem is very intelligent about space allocation 
(which the iso9660 filesystem is very likely not).

This is really an application for a "union" mount. This could also be done with 
a "bind" mount, if the files that need changing can be isolated to a small 
number of directories. If they are spread all over the filesystem, or their 
locations are not known ahead of time, a "union" mount would do what you need, 
overlaying a tmpfs ram-based filesystem on top of the CD-ROM filesystem.

  reply	other threads:[~2003-06-23 17:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23 17:13 [linux-lvm] read-only media in a LVM? Sean P. Kane
2003-06-23 17:41 ` Kevin P. Fleming [this message]
2003-06-23 18:54   ` Sean P. Kane
2003-06-23 19:35     ` Wolfgang Weisselberg
2003-06-23 20:10     ` Kevin P. Fleming
  -- strict thread matches above, loose matches on Subject: below --
2003-06-24 18:49 Sean P. Kane
2003-06-24 11:27 Sean P. Kane
2003-06-23 12:51 Sean P. Kane
2003-06-23 16:23 ` Wolfgang Weisselberg
2003-06-16  8:35 Sean P. Kane
2003-06-16  8:52 ` Joe Thornber
2002-05-27 18:30 Ami Fischman
2002-05-28  3:40 ` Joe Thornber
2002-05-28  3:44 ` Joe Thornber

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=3EF781FB.2000804@cox.net \
    --to=kpfleming@cox.net \
    --cc=linux-lvm@sistina.com \
    /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