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

Re: [linux-lvm] Snapshot Full



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.


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