All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] F7 will not boot after running backup w/snapshot
Date: Thu, 1 May 2008 08:48:00 -0700	[thread overview]
Message-ID: <20080501154800.GA5941@us.ibm.com> (raw)
In-Reply-To: <4818F2FC.5050907@verizon.net>

Gerry Reno [greno@verizon.net] wrote:
> Milan Broz wrote:
>> ... After reboot you have no ramdisk, and the Volume Group is incomplete
>> (because you didn't removed PV on ramdisk).
>>   
> And this is no different than if snapshot was on any other device such as 
> esata-hdd, usb-hdd or usb stick.  LVM should handle this.  If the snapshot 
> device goes away, then just vgreduce it on the reboot.
> Trying to retrofit snapshot into existing systems is far easier if you can 
> use ramdisk, esata-hdd, usb-hdd, usb-stick because most systems have 
> allocated all space and rather than struggling through trying to compact 
> and reduce VG, LV, PV, partition, filesystem to gain space it is much 
> easier to use other devices.  And again this is something that LVM should 
> be able to handle.
>> If there is only snapshot, you can recover it, if some operation placed
>> here part of another volume, you will lose data.
>>   
> part of another volume placed where?  on the snapshot?  I don't understand 
> this part.

LVM is not going to distinguish between your /dev/ram1 and other PV's.
So, if you happen to do any 'lvextend/pvmove/lvcreate/anyother'
operations, LVM may place such data on your ram disk. The only operation
that you do after placing /dev/ram1 under LVM is snapshot creation, I
don't see big problem though. You should be very careful to delete the
ram disk PV before you do any operation that involves allocating space.

--Malahal.

  reply	other threads:[~2008-05-01 15:48 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30  0:53 [linux-lvm] F7 will not boot after running backup w/snapshot Gerry Reno
2008-04-30  2:29 ` Gerry Reno
2008-04-30  3:51   ` Gerry Reno
2008-04-30 14:00     ` Gerry Reno
2008-04-30 15:09       ` Larry Dickson
2008-04-30 17:23         ` Gerry Reno
2008-04-30 18:19           ` Gerry Reno
2008-04-30 18:28           ` Charles Marcus
2008-04-30 20:24             ` Gerry Reno
2008-04-30 21:19               ` Milan Broz
2008-04-30 22:30                 ` Gerry Reno
2008-05-01 15:48                   ` malahal [this message]
2008-05-01 16:30                     ` Mikulas Patocka
2008-05-01 18:15                       ` Gerry Reno
2008-05-01 18:38                         ` Charles Marcus
2008-05-01 19:37                           ` Gerry Reno
2008-05-01 19:42                             ` Charles Marcus
2008-05-01 19:53                               ` Gerry Reno
2008-05-01 20:03                                 ` Charles Marcus
2008-05-01 20:21                                   ` Gerry Reno
2008-05-01 20:25                                     ` Alasdair G Kergon
2008-05-01 20:30                                       ` Gerry Reno
2008-05-01 20:34                                         ` Charles Marcus
2008-05-01 20:36                                           ` Gerry Reno
2008-05-01 20:44                                             ` Charles Marcus
2008-05-01 20:57                                               ` Gerry Reno
2008-05-01 21:59                                                 ` Alasdair G Kergon
2008-05-01 22:12                                                   ` Gerry Reno
2008-05-01 23:50                                                     ` Gerry Reno
2008-05-02  0:38                                                       ` Stuart D. Gathman
2008-05-02  0:47                                           ` Stuart D. Gathman
2008-05-02  2:03                                             ` Gerry Reno
2008-05-02  8:14                                     ` Marek Podmaka
2008-05-02 14:00                                       ` Gerry Reno
2008-05-02 14:14                                         ` Charles Marcus
2008-05-02 14:25                                         ` Larry Dickson
2008-05-02 14:45                                         ` Marek Podmaka
2008-05-02 14:38                                       ` Stuart D. Gathman
2008-05-02 14:47                                         ` Bryn M. Reeves
2008-05-02 15:05                                           ` Marek Podmaka
2008-05-02 15:17                                           ` Stuart D. Gathman
2008-05-02 15:30                                             ` Gerry Reno
2008-05-02 15:36                                               ` Bryn M. Reeves
2008-05-03  2:27                         ` Mikulas Patocka
2008-05-04  0:45                           ` [linux-lvm] Temporary shapshots Stuart D. Gathman
2008-05-05 14:30                             ` Larry Dickson
2008-05-05 14:45                               ` Charles Marcus

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=20080501154800.GA5941@us.ibm.com \
    --to=malahal@us.ibm.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 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.