Re: Snapshot Full

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux