lkml.org 
[lkml]   [2003]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: File System conversion -- ideas
> > I think
> >
> >>the performance of an on-the-fly filesystem conversion utility is
> >>going to be so much worse than just creating a new partition and
> >>copying the data across,
> >
> >
> > which is awfully difficult if you have, say, a 60GB filesystem, a 60GB
> > disk, and nothing else.
> >
>
> I think that filesystem conversion on-the-fly is useless. Why? If you're
> making conversion of filesystem, you have to make good backup of data
> from that filesystem.

I agree.

Imagine a webserver with all it's webpages on a 40 GB EXT-2 partition
on /dev/sda1.

If I wanted to move the data on to a ReiserFS partition, I would just:

* Create the new partition on another device, E.G. /dev/sdb1
* Mount /dev/sda1 read-only
* Copy the data across to /dev/sdb1 as a nice process
* Stop the webserver processes
* Unmount /dev/sda1
* Mount /dev/sdb1 read-only
* Restart the webserver processes
* Test it
* Mount /dev/sdb1 read-write
* Keep /dev/sda1 around as a quick-to-access backup until I was sure
it was all working correctly.
* Re-use /dev/sda1

The webserver would be off-line for only a few seconds, and
performance would not be significantly degraded at any time.

John.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.026 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site