All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Snapshot Full
@ 2007-08-24  3:22 Hans C. Kaspersetz
  2007-08-24 18:27 ` Stuart D. Gathman
  0 siblings, 1 reply; 2+ messages in thread
From: Hans C. Kaspersetz @ 2007-08-24  3:22 UTC (permalink / raw)
  To: linux-lvm

I hate to have to ask this, but how do I handle a full snapshot that has 
been disabled?  I would like to extend the lv, remout it and keep using 
it.  However, I am getting superblock errors and the like.

I have been searching through the archives and on Google for hours and I 
must not be looking for the right thing.

Thanks in advance,
Hans


# uname -a
Linux foobar.com 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 
i686 i386 GNU/Linux
# lvm version
  LVM version:     2.02.21-RHEL4 (2007-03-26)
  Library version: 1.02.17-RHEL4 (2007-04-24)
  Driver version:  4.1.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] Snapshot Full
  2007-08-24  3:22 [linux-lvm] Snapshot Full Hans C. Kaspersetz
@ 2007-08-24 18:27 ` Stuart D. Gathman
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart D. Gathman @ 2007-08-24 18:27 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, 23 Aug 2007, Hans C. Kaspersetz wrote:

> I hate to have to ask this, but how do I handle a full snapshot that has 
> been disabled?  I would like to extend the lv, remout it and keep using 
> it.  However, I am getting superblock errors and the like.
> 
> I have been searching through the archives and on Google for hours and I 
> must not be looking for the right thing.

It is too late to extend the snapshot once it becomes full, because backups of
clusters written on the source LV were not able to be copied to the snapshot
before being overwritten.  So once the shapshot gets full, the data seen is
mostly from the past at the point of the snapshot, but with random sectors
overwritten with new data from the source LV since the point at which it became
full.  I.e., you might be able to pull out a critical file if you had to, but
it is a mess, and you are usually better off just deleting the snapsnot.

P.S.  If you need to recover a critical file, unmount (or mount readonly) the
source LV immediately so it stops overwriting the snapshot.

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-24 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-24  3:22 [linux-lvm] Snapshot Full Hans C. Kaspersetz
2007-08-24 18:27 ` Stuart D. Gathman

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.