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

Re: [linux-lvm] How do you mount a snapshot?



> Ok, so we are agreeing, it does not work on ext2 either unless you sync
> and do not write between the sync and the snapshot. Doable, but not
exactly
> "safe".

hmm, I think it works for ext2 because you can always mount an ext2
filesystem even if it's in an inconsistent state.  This is what happens
everytime when your machine panics and you need to fsck your disks during
the reboot, the root filesystem is mounted read-only...  It's my
understanding, that reiserfs will always "fsck" (replay it's log) on mount
and that's why it won't mount read-only when the filesystem is not in a
consistent state.  What I don't know is if it would be possible to make
reiserfs not care about the inconsistencies (i.e. not replay the log) when
it mounts read-only?

An atomic sync-snapshot is of course the (implemented) solution, but it
would be nice if it would also work without that...

     christian




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