Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
From ext3 to ReiserFS without formatting....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Tue Aug 13, 2002 7:12 pm    Post subject: From ext3 to ReiserFS without formatting.... Reply with quote

Hi,

Is it possible to convert a partition from ext3 to ReiserFS without having to format the partition (and lose the data on it) ?
My instinct tells me it can't be done, but i just had to ask it anyway :)

greets,
Nossie
Back to top
View user's profile Send private message
Dolio
l33t
l33t


Joined: 17 Jun 2002
Posts: 650

PostPosted: Tue Aug 13, 2002 7:41 pm    Post subject: Reply with quote

I doubt this can be done.

I'd say your best option for preserving the data is taring up the contents of the partition on another partition (or on some other backup media), formatting, and then dumping it back. Make sure you use the -p (preserve ownership) option.
_________________
They don't have a good bathroom to do coke in.
Back to top
View user's profile Send private message
Miles
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 97
Location: London, UK

PostPosted: Tue Aug 13, 2002 9:04 pm    Post subject: Reply with quote

I have to agree with Dolio, it's almost certainly impossible to convert the filesystem type. You can only upgrade from ext2 to ext3 because it's just the journalling information that is added.

Why do you want to change anyway? (N.B. I prefer reiserfs)
Back to top
View user's profile Send private message
NU-Slacker
n00b
n00b


Joined: 18 Apr 2002
Posts: 69
Location: Northwestern University

PostPosted: Tue Aug 13, 2002 9:17 pm    Post subject: Reply with quote

Actually, there is a program out that claims that it can do such a task. It supports converting between XFS, EXT2/3, JFS, ReiserFS and others without completely reformatting (from your point of view). http://tzukanov.narod.ru/convertfs/

Basically, this program creates an image of the filesystem type that you want. Then it copies each file from the original fs into the image. Once that is completed, the original fs is overwritten with the new image containing the new filesystem with all the old files.

BEWARE: This can be extremely dangerous. I have never (successfully) used this program. The time I did try was on an unstable system and crashed during the copying. The process took a long time for a 40G drive, and as always YMMV.
_________________
"There are 10 types of people: those that understand binary and those who dont."
Back to top
View user's profile Send private message
Miles
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 97
Location: London, UK

PostPosted: Tue Aug 13, 2002 9:24 pm    Post subject: Reply with quote

Sounds like a way to do Dolio's method automatically. But if I had the space I'd much rather do it manually.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum