LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-31-2004, 09:00 AM   #1
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
Angry Ext3 and Reiserfs


Hey, is there someway to "convert" my ext3 filesystem to reiserfs without deleting the files in the ext3 filesystem ?
 
Old 12-31-2004, 09:04 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,217

Rep: Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458
Not that I know of.
 
Old 12-31-2004, 09:58 AM   #3
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
well there is... kinda...
heres the translation of the message Yury Umanets aka Banshee(one of namesys programers) posted at
http://www.linux.org.ru/view-message...anonymous=hide
Quote:
There is a way of in-place conversion of any fs to another invented by Mr. Tzukanov. It is called convertfs. google it for details. In two words: lets say we have an ext3 fs (1) we create a big file on it (of the size of fs) which consists of holes. (2) create reiserfs on it (3) mount it via loopback (4) move all the files from an original fs to fs on loop (5) when its done, the original fs consists of one big reiserfs image and now we have to remap all the blocks from the image file to the device. It is done by a small prog from the convertfs tools or you can write one yourself.
http://tzukanov.narod.ru/convertfs/
http://forums.gentoo.org/viewtopic.p...421cf2b2a1c8ee

of course you do understand how dangerous this is and backups is a MUST and since you have the backup anyway it would be much easier just mkreiserfs and copy back the data.
 
Old 12-31-2004, 12:08 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
I would agree with kostian in suggesting simply copying the data to a CD or whatever, converting the file system, and then copying the data back. -- J.W.
 
Old 12-31-2004, 12:36 PM   #5
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
It's probably easier to do if you have a spare hard drive. I feel much safer doing it this way than using an all-or-nothing approach. I'm not saying that convertfs doesn't work or even that it's buggy -- just that I feel more comfortable copying the data to a new drive, booting from that, letting it run a few days to see how things are working out, then retiring the old drive.

I used the following guide (http://www.losurs.org/docs/LDP/HOWTO...ade/index.html) to do my filesystem change, with slight variations (I partitioned the new drive a bit differently than the old one). I can provide the details, if desired.

I've now been running ReiserFS for several days without problems. It does seem a bit quicker than ext3.

Garry

Last edited by major.tom; 12-31-2004 at 12:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext3 --> reiserFS ? Optimistic Debian 2 11-21-2004 06:35 PM
reiserfs -> ext3 pk21 Linux - Newbie 6 09-10-2003 03:26 PM
Ext3 2 ReiserFS jpbarto Linux - Software 2 07-21-2003 01:08 PM
reiserfs vs. ext3 Mux Linux - General 9 12-11-2002 11:17 AM
ReiserFS(ext3) da Perp Linux - Newbie 3 03-09-2002 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration