Re: reiserfs4

Oleg Drokin
2003-08-07T14:25:46Z

Hello!

On Thu, Aug 07, 2003 at 04:23:12PM +0200, Matthias Schniedermeyer wrote:
> > > There is sort of "universal" fs convertor for linux that can convert almost
> > > any fs to almost any other fs.
> > > The only requirement seems to be that both fs types should have read/write support in Linux.
> > > http://tzukanov.narod.ru/convertfs/
> > I'm afraid I cannot recommend using this tool.
> > A test conversion from reiserfs to ext3 (inside a vmware machine)
> > screwed up the data real horrorshow: directory structure seems
> > ok but file contents are apparently shifted.
> That answers the question that poped up in my mind.
> "How does the tool know where the blocks are, and in which order it can
> 'move' then without corrupting the data.(*)

Well, there is FIBMAP ioctl that does this.

> Seems it doesn't know it.

It does. And our tests were more succesful, I believe.

> But it is possibel(*2) to do what the programm wants to do, you only
> have to find out the order in which you have to copy the blocks to
> prevent garbage. That's all the magic.

Sure.

Bye,
Oleg