Snapshot Full
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
Quoted 6 lines · Hans C. Kaspersetz
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.
Signature · 4 lines
Stuart D. Gathman <[email protected]> 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.