[linux-lvm] Re: can't mount ext3 snapshot => needs_recovery flag always set on mounted ext3 partitions

Joe Thornber joe at fib011235813.fsnet.co.uk
Fri Aug 9 07:26:02 UTC 2002


On Fri, Aug 09, 2002 at 02:16:24PM +0200, Antoine wrote:
> 
> Hi again,
> 
> Well, I've found out. The problem was the snapshot had been created
> while the original volume had the "needs_recovery" flag set. If I
> destroy the snapshot and recreate it when the original volume doesn't
> have this flag, then I can mount the snapshot.
> 
> Now the remaining problem is that, _as soon as_ the original ext3 volume
> is mounted, it has the "needs_recovery" flag. That means I cannot create
> a usable snapshot volume without first unmounting the original volume
> (because otherwise I won't be able to mount the snapshot volume). Is
> there a way to work around this, so as to make snapshots without taking
> anything down ?

Would a writeable snapshot help ?  Since you would be able to change
the needs_recovery flag specifically on the snapshot.

- Joe




More information about the linux-lvm mailing list