linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Martin Dvořák" <155144@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Cannot get rid of root filesystem LVM snapshot
Date: Sun, 10 Sep 2006 01:53:34 +0200	[thread overview]
Message-ID: <b91808310609091653o63dbdb0fi9f34848cb4479a1d@mail.gmail.com> (raw)
In-Reply-To: <20060909231739.GB13859@agk.surrey.redhat.com>

Thanks for info. I suggest to stress the fact that snapshotting of
root filesystem is not yet supported somewhere in documentation,
HOWTOs etc. Many people might not be as lucky as me and find it out
only after they are left with frozen or even corrupted system.

Martin

2006/9/10, Alasdair G Kergon <agk@redhat.com>:
> The tools do not support root snapshots properly yet - whether or not they
> work is down to chance.  To remove one reliably you need lvremove from a
> rescue environment - you're lucky lvremove is refusing to proceed - if it
> got further it could hang your machine.  In principle you can recover
> without rebooting but you'll need to write a custom script to run various
> dmsetup commands from a ramdisk, for example, and then fix up the lvm2
> metadata with activation disabled.  [If you learn how snapshots are
> created/destroyed you can work out what to do: sorry, it's too much for me
> to explain here.  This is what the tools will want enhancing to do to
> provide proper support.]
>
> Older kernels like yours however can get into a state where recovery is only
> possible by writing directly to kernel memory, if you already ran certain
> commands in the wrong sequence.
>
> Alasdair
> --
> agk@redhat.com
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

  reply	other threads:[~2006-09-09 23:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-09 20:49 [linux-lvm] Cannot get rid of root filesystem LVM snapshot Martin Dvořák
2006-09-09 23:17 ` Alasdair G Kergon
2006-09-09 23:53   ` Martin Dvořák [this message]
2006-09-10 15:41     ` Alasdair G Kergon
2006-09-10 17:35       ` Nix
2006-09-10 21:30         ` Alasdair G Kergon
2006-09-13 19:02           ` Nix

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=b91808310609091653o63dbdb0fi9f34848cb4479a1d@mail.gmail.com \
    --to=155144@gmail.com \
    --cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).