* Re: reiserfs4
2003-08-07 13:21 ` reiserfs4 Tomas Szepe
@ 2003-08-07 14:23 ` Matthias Schniedermeyer
2003-08-07 14:25 ` reiserfs4 Oleg Drokin
2003-08-07 14:34 ` reiserfs4 Nikita Danilov
2003-08-07 15:01 ` reiserfs4 mdew
2003-08-08 13:05 ` reiserfs4 Hans Reiser
2 siblings, 2 replies; 15+ messages in thread
From: Matthias Schniedermeyer @ 2003-08-07 14:23 UTC (permalink / raw)
To: Tomas Szepe; +Cc: Oleg Drokin, Ivan Gyurdiev, Andreas Dilger, linux-kernel
On Thu, Aug 07, 2003 at 03:21:11PM +0200, Tomas Szepe wrote:
> > [green@namesys.com]
> >
> > > >Why do people ever want a "converter"?
> > > That's been discussed before.
> > > Because people don't have the resources (hard disk space, tape drives,
> > > money) to backup their data, and might still be interested in testing a
> > > new filesystem. They might be willing to take a risk with the new fs
> > > and converter. Amazing as it may sound, people do that. I am such a
> > > tester, and I'd find a converter to be a useful tool. But since the
> > > previous discussion on the subject concluded it'd be really hard to
> > > impossible to write one, I guess I'll have to settle for new hard drive(s).
> >
> > This is no longer true.
> > 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.(*)
Seems it doesn't know it.
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.
*: I mean the point where it copies the data from the sparse-file to the
block-device.
*2: All you (theoretically) need is 1 free block, or you go over
temp-space(e.g. memory) somewhere else.
Bis denn
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: reiserfs4
2003-08-07 14:23 ` reiserfs4 Matthias Schniedermeyer
@ 2003-08-07 14:25 ` Oleg Drokin
2003-08-07 16:31 ` reiserfs4 Matthias Schniedermeyer
2003-08-07 14:34 ` reiserfs4 Nikita Danilov
1 sibling, 1 reply; 15+ messages in thread
From: Oleg Drokin @ 2003-08-07 14:25 UTC (permalink / raw)
To: Matthias Schniedermeyer
Cc: Tomas Szepe, Ivan Gyurdiev, Andreas Dilger, linux-kernel
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: reiserfs4
2003-08-07 14:25 ` reiserfs4 Oleg Drokin
@ 2003-08-07 16:31 ` Matthias Schniedermeyer
0 siblings, 0 replies; 15+ messages in thread
From: Matthias Schniedermeyer @ 2003-08-07 16:31 UTC (permalink / raw)
To: Oleg Drokin; +Cc: Tomas Szepe, Ivan Gyurdiev, Andreas Dilger, linux-kernel
On Thu, Aug 07, 2003 at 06:25:44PM +0400, Oleg Drokin wrote:
> 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.
Ups. Seems i am wrong, i "grep"ed for FIBMAP and the tool uses it. So i
guess the tool should be able to do everything correctly.
I take everything back and claim the opposite. :-)
(german idiom. "Ich nehm alles zurueck und behaupte das Gegenteil")
Bis denn
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: reiserfs4
2003-08-07 14:23 ` reiserfs4 Matthias Schniedermeyer
2003-08-07 14:25 ` reiserfs4 Oleg Drokin
@ 2003-08-07 14:34 ` Nikita Danilov
1 sibling, 0 replies; 15+ messages in thread
From: Nikita Danilov @ 2003-08-07 14:34 UTC (permalink / raw)
To: Matthias Schniedermeyer
Cc: Tomas Szepe, Oleg Drokin, Ivan Gyurdiev, Andreas Dilger, linux-kernel
Matthias Schniedermeyer writes:
> On Thu, Aug 07, 2003 at 03:21:11PM +0200, Tomas Szepe wrote:
> > > [green@namesys.com]
> > >
[...]
>
> 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.(*)
There is FIBMAP ioctl for this.
>
> Seems it doesn't know it.
>
> 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.
>
Nikita.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: reiserfs4
2003-08-07 13:21 ` reiserfs4 Tomas Szepe
2003-08-07 14:23 ` reiserfs4 Matthias Schniedermeyer
@ 2003-08-07 15:01 ` mdew
2003-08-08 13:05 ` reiserfs4 Hans Reiser
2 siblings, 0 replies; 15+ messages in thread
From: mdew @ 2003-08-07 15:01 UTC (permalink / raw)
To: Tomas Szepe; +Cc: Oleg Drokin, Ivan Gyurdiev, Andreas Dilger, lkml
On Fri, 2003-08-08 at 01:21, Tomas Szepe wrote:
> > This is no longer true.
> > 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.
I'm looking at converting (sometime soon) a JFS system to XFS using
convertfs, I'm hoping this "converting" process will come out bug-free.
Other than backing up all the data, and re-formating to XFS, would any
one have suggestings?
convertfs /dev/hde1 jfs xfs
--
mdew <mdew@mdew.dyndns.org>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: reiserfs4
2003-08-07 13:21 ` reiserfs4 Tomas Szepe
2003-08-07 14:23 ` reiserfs4 Matthias Schniedermeyer
2003-08-07 15:01 ` reiserfs4 mdew
@ 2003-08-08 13:05 ` Hans Reiser
2003-08-08 16:23 ` reiserfs4 Tomas Szepe
2 siblings, 1 reply; 15+ messages in thread
From: Hans Reiser @ 2003-08-08 13:05 UTC (permalink / raw)
To: Tomas Szepe; +Cc: Oleg Drokin, Ivan Gyurdiev, Andreas Dilger, linux-kernel
Tomas Szepe wrote:
>>[green@namesys.com]
>>
>>
>>
>>>>Why do people ever want a "converter"?
>>>>
>>>>
>>>That's been discussed before.
>>>Because people don't have the resources (hard disk space, tape drives,
>>>money) to backup their data, and might still be interested in testing a
>>>new filesystem. They might be willing to take a risk with the new fs
>>>and converter. Amazing as it may sound, people do that. I am such a
>>>tester, and I'd find a converter to be a useful tool. But since the
>>>previous discussion on the subject concluded it'd be really hard to
>>>impossible to write one, I guess I'll have to settle for new hard drive(s).
>>>
>>>
>>This is no longer true.
>>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.
>
>
>
Are you sure that vmware does not affect the result?
--
Hans
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: reiserfs4
2003-08-08 13:05 ` reiserfs4 Hans Reiser
@ 2003-08-08 16:23 ` Tomas Szepe
0 siblings, 0 replies; 15+ messages in thread
From: Tomas Szepe @ 2003-08-08 16:23 UTC (permalink / raw)
To: Hans Reiser; +Cc: Oleg Drokin, Ivan Gyurdiev, Andreas Dilger, linux-kernel
> [reiser@namesys.com]
>
> Tomas Szepe wrote:
>
> >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.
> >
> Are you sure that vmware does not affect the result?
No, I can't be sure. (Nevertheless I'm inclined to believe
this is rather a FIBMAP related kernel bug that has been
introduced after the current version of the convertfs toolset
was released in March 2002.)
Unfortunately at the moment I don't have a scratch partition
on any of my disks so I can't re-test on a live system.
--
Tomas Szepe <szepe@pinerecords.com>
^ permalink raw reply [flat|nested] 15+ messages in thread