xfs
[Top] [All Lists]

Re: Filesystem conversion

To: oe.hansen@xxxxxxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: Re: Filesystem conversion
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Thu, 28 Jun 2001 13:34:00 +0200
In-reply-to: <01062812533100.01258@citadel.oehansen.pp.se>
Sender: owner-linux-xfs@xxxxxxxxxxx
At 12:53 28-6-2001 +0200, Orn E. Hansen wrote:

  I just finished converting most of my file systems to xfs, apart from the
boot partition, and found the ordeal ... a bit loooong.  And as I closed up
on my boot partition, the idea of a filesystem converter popped into mind.
Are there any plans to create one, for ext2 -> xfs?

There have been some others in the past yes, but I have just done another conversion here which was done in under 30 minutes with 5GB of data.


I had setup a spare IDE disk for holding dump images connected to a promise PCI IDE controller which makes it easier to stick it in a server.
It roughly went like this.


Boot single user
dump.static -0 -a -f /mnt/hde/var.dump /var
umount /var
mkfs.xfs -l size=32768b -f /dev/sda7
vi /etc/fstab (change fstype)
mount /var
cd /var
restore.static -rf /mnt/hde/var.dump

repeat.

btw. If you want to do the root partition too you would need to do it using a rescue/installer disk since the restore.static lives in /sbin.

This was by far the easiest method that I attempted.

Bye

--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.


<Prev in Thread] Current Thread [Next in Thread>