Linux LVM users
 help / color / mirror / Atom feed
From: Michael Marxmeier <mike@marxmeier.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM and inactive snapshots.
Date: Thu, 14 Dec 2000 14:14:57 MEZ	[thread overview]
Message-ID: <200012141314.OAA23601@e35.marxmeier.com> (raw)
In-Reply-To: <Pine.OSF.4.21.0012132236390.7029-100000@lazy.accessus.net>; from "Jay Weber" at Dec 13, 100 10:46 pm

> Given the above I'm curious as to how others view this behaviour.  I'm
> thinking along the lines of:  If the snapshot goes inactive and it's
> portrayal of the filesystem is no longer valid it should go away. Go away
> meaning, if an inactive snapshot volume is currently mounted possibly we
> should forcefully unmount it as well as cleaning up it's device node
> entries and removing it as a block device.
> 
> Does that seem proper?

No. The kernel should not unmount because this may cause
confusion and possibly corruption of user mode information
(eg. /etc/mtab).

If a snapshot is dead the kernel could simply return an error
(EIO?) for any access to the snapshot (which no longer exists).
So the bahaviour would be well defined.


Michael

--
Michael Marxmeier           Marxmeier Software AG
E-Mail: mike@msede.com      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/

  parent reply	other threads:[~2000-12-14 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-14  4:46 [linux-lvm] LVM and inactive snapshots Jay Weber
2000-12-14  4:51 ` Jay Weber
2000-12-14 13:14 ` Michael Marxmeier [this message]
2000-12-14 21:10   ` Jay Weber
2000-12-15 10:00     ` Patrick Caulfield

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=200012141314.OAA23601@e35.marxmeier.com \
    --to=mike@marxmeier.com \
    --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