[linux-lvm] LVM 0.8final for 2.2.15/2.2.16?
paul at clubi.ie
Wed Jun 7 23:18:23 UTC 2000
On Wed, 7 Jun 2000, Jan Niehusmann wrote:
> The snapshot logic simply doesn't know what a filesystem is. It just
> clones the block device.
this i knew.. :)
> So the fs may be in en inconsistent state, if you do the snapshot
> while some write operation is in progress on the cloned
ok. so the solution is what? a call in the vfs to complete pending
writes, and hold off on modifying any blocks?
(i take it the vfs caches writes somehow before informing LVM of the
dirty blocks, or not?)
> Note that cloning a mounted fs usually works, as well as mounting a
> unclean filesystem without fsck usually works - but it's not reliably.
how unreliable? how busy does the fs have to be?
anyway, for my purposes snapshot does the job. the choice is:
a) backup of a snapshot - inconsistencies hopefully limited to 10**1
order of blocks.
b) backup of a live fs, which is so slow that data inconsistency
might be in the order of 10**3 blocks or more.
also, the fs's that are at risk - heavily written to - are usually
things like mail and news queues, ie scratch space. These i can
afford not to backup. :)
Paul Jakma paul at clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
An engineer is someone who does list processing in FORTRAN.
More information about the linux-lvm