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

Re: sparse loop devices and ext3



Hi,

On Mon, Feb 12, 2001 at 12:06:00PM -0700, Andreas Dilger wrote:
> 
> I think the problem is that if you are loopback mounting a file, the ext3
> code itself doesn't consider the loopback file contents as "metadata" for
> the underlying file, so it is not journaled, even though it is metadata
> in the loopback filesystem.

Right.

> Peter, I think there are several workarounds for this - don't make sparse
> backing files, or mark the backing file as "data=journal", or don't use
> loopback files.  I'm not sure what you are working on, so I can't say
> what is best in this case.

Won't work, because for any blocks already allocated, the loop device
will default to using "bmap" and will bypass the ext3 data journaling
code entirely.

Cheers,
 Stephen





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