LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2003, 07:39 PM   #1
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
Help changing partition to ReiserFS


I have been reading a little bit about the advantages of Reiserfs on a linux maching. I am running RedHat 9.0 and have 4 partitions set up right now. I have the obvious /boot and /swap partitions. I have the root directory set as ext3 right now and want to leave that alone for right now.

What I am hoping to be able to do is to change my 4th partition. I have another partition called /stuff (I know, not very well thought out name) that is also ext3. I keep all of my music, rpms, and whatever else I dont want to lose on this partiton. I was hoping to be able to change the /stuff partition to reiserfs just to see if I can tell a difference in speed and performance.

I am guessing that I would need to probably back up all of my info to the root partition and then make the changes needed to the /stuff partition. Could anyone give me a little help on how to do this? I can easily move the files that I want to save over. I just need help with the rest I havent been able to find much else in my searches. Thanks everyone for the help in advance

PS if you know of any major advantages or disadvantages to ReiserFS I would love to hear what you think about them. Thanks again
 
Old 09-17-2003, 08:35 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
http://www.namesys.com/

Head over there and click "download" it does a decent job at telling you how to set it up and convert a partition (mkreiserfs) to reiserFS. You'll likely lose the information on the partition you are changing, so be sure to back that up, if you've got space on your other/existing partitions, just move the data there, it should be safe as long as your finger doesn't slip in your syntax and format the wrong partition

Then, once the conversion is done, just move your data back, edit /etc/fstab to reflect the filesystem change, and remount the partition:
mount /stuff

As for comparisons:
I don't think the average user would see that much of a difference in the filesystem they use, but it won't hurt to use something that's proven to be faster.

Cool
 
Old 09-17-2003, 09:28 PM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,463

Rep: Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341Reputation: 3341
I am a big ReiserFS fan. You will notice a *huge* peformance win for directories with huge number of files. The namesys site that MasterC pointed out has many of the pros/cons. Let us know what you find.

--jeremy
 
Old 09-17-2003, 09:44 PM   #4
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Original Poster
Rep: Reputation: 30
Wow I feel dumb..........I cant seem to figure out these instructions. I am running kernel-2.4.20-19.9. Does anyone know if this means that I will have to recompile? Also after I am able to use Reiserfs would I just need to move the data to the root directory, and get rid of the current ext3 partition through fdisk? I have taken out partitions thru fdisk but never created a new one. So I would fdisk /dev/hd(whatever it is)? If anyone has better instructions, they would be more than welcome I have been working with Linux for a little while now, but I havent done much with partitioning or kernel compiling. Thanks in advance for anyone who replies......much appreciated
 
Old 09-17-2003, 10:34 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"Also after I am able to use Reiserfs would I just need to move the data to the root directory, and get rid of the current ext3 partition through fdisk? "

You do not need to delete any partitions. Do the following:

Edit /etc/fstab and comment out the entry for /dev/hda4.
umount /dev/hda4
mkreiserfs /dev/hda4

Create a directory to mount the new file system, say /myreis

mount -t reiserfs /dev/hda4 /myreis

Try out your new file system. If it works OK then change the /etc/fstab entry to mount the reiserfs.


" I am running kernel-2.4.20-19.9. Does anyone know if this means that I will have to recompile?"

If you do not have reiserfs compiled in your kernel then the above command sequence will tell you over and over that you do not have reiserfs installed.
 
Old 09-17-2003, 10:40 PM   #6
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Original Poster
Rep: Reputation: 30
That was exactly what I was looking for.....thanks a bunch. I will give it a try some time tomorrow and let you know how it goes.

Thanks for all the help
 
Old 09-18-2003, 01:20 PM   #7
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
cool i may try that also, cuz this ex2 is bguggin me out
 
Old 09-18-2003, 11:03 PM   #8
Gates1026
Member
 
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Original Poster
Rep: Reputation: 30
Got it up and running, now just to see if I can tell the difference. The only thing I noticed is that I cant make a link to that folder......doesnt really matter, just something I noticed
 
  


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
ReiserFS partition SOS!!! it-s Linux - Hardware 1 09-09-2005 03:10 AM
Resize ReiserFS partition? cdlyon Linux - General 1 04-19-2005 12:32 PM
Accessing a ReiserFS partition from XP Kelvie Linux - General 3 08-14-2004 01:06 PM
Changing from ReiserFS to ext 3?? debloxie Mandriva 2 12-11-2003 10:46 AM
reiserfs partition is unreachable Flash Linux - Hardware 2 05-14-2003 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration