Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto Create a Reiser4 Partition
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Sat Apr 10, 2004 10:39 am    Post subject: Howto Create a Reiser4 Partition Reply with quote

okay, the first thing we need to do is: get a kernel with reiser4 support. that could be a vanilla you have patched yourself, or, this one(i made the patch, and it works)

for kernel, read: https://forums.gentoo.org/viewtopic.php?t=167182

then after configuring this kernel and installing (i wont describe that, i assume you know that) you need to emerge reiser4progs and libaal. the newest libaal is alreadt in portage, just grab it.

and then you emerge reiser4progs:
Code:
ACCEPT_KEYWORDS="~x86" emerge --digest reiser4progs


good! now you have all thats needed. then we create the partition, and mount it:

Code:
mkfs.reiser4 /dev/hdxx
mount /dev/hdxx /mnt/reiser4

Mod Edit: fixed formatting - tomk
thanks :D - redeeman

and then start feel the power coming through your harddrive (and please, test this on /usr/portage, and you will for sure be enlightened)

IF you want a fully system on reiser4, take a look at my livecd - https://forums.gentoo.org/viewtopic.php?p=1046028#1046028
_________________
Sandberg Enterprises


Last edited by Redeeman on Thu Apr 29, 2004 1:58 pm; edited 5 times in total
Back to top
View user's profile Send private message
shanghai
Guru
Guru


Joined: 08 Feb 2004
Posts: 493
Location: Roma, Italia, GeekLand

PostPosted: Sat Apr 10, 2004 11:13 am    Post subject: Reply with quote

Has reiserfs4 been finally marked as stable?
I knew it still had some workarounds a month ago...
_________________
Il sonno della ragione genera mostri.
Back to top
View user's profile Send private message
Blue Fox
Apprentice
Apprentice


Joined: 09 Apr 2004
Posts: 216

PostPosted: Sat Apr 10, 2004 11:29 am    Post subject: Reply with quote

Is reiser4 stable? I say, if i can trust it and won't lose data sometimes.
_________________
"Never argue with and idiot cuz he bring you down to his level and beat you with experience"
Back to top
View user's profile Send private message
Yen
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2003
Posts: 107
Location: Lummen, Belgium

PostPosted: Sat Apr 10, 2004 1:06 pm    Post subject: Reply with quote

I'm using Reiser4 on my /usr/portage.. wow this thing is fast!!

TEST: tar xf linux-2.6.5.tar (I uncompressed it before doing the benchmark).

Untar of the Linux kernel 2.6.5 on ext3:

real 0m20.491s
user 0m0.189s
sys 0m2.321s


Untar of the Linux kernel 2.6.5 on Reiser4:

real 0m14.954s
user 0m0.235s
sys 0m4.541s


Untar of the Linux kernel 2.6.5 on ext2:

real 0m25.193s
user 0m0.194s
sys 0m1.625s


Untar of the Linux kernel 2.6.5 on XFS:

real 0m25.764s
user 0m0.244s
sys 0m3.027s


Untar of the Linux kernel 2.6.5 on JFS:

real 0m34.063s
user 0m0.212s
sys 0m2.112s

Untar of the Linux kernel 2.6.5 on ReiserFS (v3.6):

real 0m23.708s
user 0m0.213s
sys 0m4.290s


Untar of the Linux kernel 2.6.5 on VFAT (Yeah i know, stupid benchmark):

real 0m48.947s
user 0m0.962s
sys 0m6.687s
Back to top
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Sat Apr 10, 2004 2:45 pm    Post subject: Reply with quote

Don't forget that if you don't enable Large keys support in the kernel (wich by the help they don't recommend) you need to build your partition with
Code:

mkfs.reiser4 -o key=key_short /dev/hdXX
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Sat Apr 10, 2004 9:09 pm    Post subject: Reply with quote

shanghai wrote:
Has reiserfs4 been finally marked as stable?
I knew it still had some workarounds a month ago...


nope, there are 2 known errors left, but as hans said "its fairly stable for average users". and it works perfect here
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Sun Apr 11, 2004 11:38 am    Post subject: Reply with quote

Thank you for this patch and howto, Redeeman!

I googled and searched the man pages to find out how to apply a kernel patch like this one, and I thought I'd save any other newbies the effort (somebody correct me if I'm wrong, please).
How to apply this patch:
Code:
(decompress the bz2 file)
su
cd /usr/src
patch -p0 < (where-ever the .patch file is)/2.6.5-Redeeman2.patch
(and then the usual make, make modules_install, mount /boot, make install)

For more info see the "patch" man page and this link: http://www.linuxhq.com/patch-howto.html

EDIT: Portage can't download reiser4progs-0.5.4.tar.gz! And the version I see in http://thebsh.namesys.com/snapshots/LATEST/ is 0.5.3...
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Sun Apr 11, 2004 5:26 pm    Post subject: Reply with quote

hmm. i don't know where you got reiser4progs 0.5.4 ... but i am installing 0.5.3 now. it's the most recent on namesys.com/snapshot
Back to top
View user's profile Send private message
broeman
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2003
Posts: 101
Location: Denmark, EUNATOUN

PostPosted: Sun Apr 11, 2004 7:41 pm    Post subject: Reply with quote

Quote:
hmm. i don't know where you got reiser4progs 0.5.4 ... but i am installing 0.5.3 now. it's the most recent on namesys.com/snapshot


same here :roll:
I have mentioned it to redeeman on irc :wink:
_________________
Former Official Danish Gentoo Translation Team
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sun Apr 11, 2004 8:41 pm    Post subject: Re: Howto Create a Reser4 Partition Reply with quote

Redeeman wrote:
for reiser4progs they are OLD in portage, you need to do this:
Code:
root@redeeman: ~# cd /usr/portage/sys-fs/reiser4progs/
root@redeeman: /usr/portage/sys-fs/reiser4progs# ls
ChangeLog  Manifest  files  metadata.xml  reiser4progs-0.5.0.ebuild
root@redeeman: /usr/portage/sys-fs/reiser4progs# mv reiser4progs-0.5.0.ebuild reiser4progs-0.5.3.ebuild
root@redeeman: /usr/portage/sys-fs/reiser4progs#
Wouldn't it be better to use the overlay?
_________________
Think about your breathing.
http://floam.sh.nu
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Sun Apr 11, 2004 9:13 pm    Post subject: Re: Howto Create a Reser4 Partition Reply with quote

floam wrote:
Wouldn't it be better to use the overlay?

Sure, but it would be longer to explain :roll:
[EDIT] I submited a version bump for reiser4progs-0.5.3 (https://bugs.gentoo.org/show_bug.cgi?id=47554)
[EDIT2] Wow that was fast, it's already in portage http://www.gentoo-portage.com/browse-program.php?program=6245
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
JefPober
n00b
n00b


Joined: 12 Apr 2004
Posts: 44

PostPosted: Mon Apr 12, 2004 11:05 am    Post subject: Reply with quote

is it possible to convert an existing reiserfs 3 partition to version 4?
Back to top
View user's profile Send private message
Enderson
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 141
Location: Arapiraca/Maceió, AL, Brazil

PostPosted: Mon Apr 12, 2004 1:42 pm    Post subject: Reply with quote

JefPober wrote:
is it possible to convert an existing reiserfs 3 partition to version 4?


I dunno, but you cold make something like this:
reise3to4 on /home
Code:

bash # tar -cjf /tmp/home.tar.bz2 /home
bash # umount /home
bash # mkfs.reiser4 /dev/hda4 # your /home partition
bash # mount /dev/hda4 /home
bash # tar -xjpf /tmp/home.tar.bz2 /home


I think it should work.
_________________
--
Nothing to say here!
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Mon Apr 12, 2004 7:07 pm    Post subject: Reply with quote

what about the grub-94 diff file from namesys homepage, is it something i need to have a full working reiserfs4 system ?
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Apr 12, 2004 9:21 pm    Post subject: Reply with quote

GentooBox see bug 46410, you only need it if you want reiser4 for /boot.
Libaal and resier4progs need to be recompiled with --stand-alone
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
stahlsau
Guru
Guru


Joined: 09 Jan 2004
Posts: 565
Location: WildWestwoods

PostPosted: Fri Apr 16, 2004 6:21 pm    Post subject: Reply with quote

edit: sry, misplaced post.
anyway, i changed my sys to reiser4 without any problem ;-)
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
zend
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 112
Location: Shanghai,China

PostPosted: Tue Apr 20, 2004 7:15 am    Post subject: Reply with quote

stahlsau wrote:
edit: sry, misplaced post.
anyway, i changed my sys to reiser4 without any problem ;-)

how could you get it works??
Back to top
View user's profile Send private message
deepspace9
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 214
Location: Netherlands

PostPosted: Tue Apr 20, 2004 2:53 pm    Post subject: Reply with quote

Can someone tell me how to make a complete install on reiserfs4? The kernel from the boot CD does not support it, so even if the tools work, I couldn't mount the partition :(.
Back to top
View user's profile Send private message
stahlsau
Guru
Guru


Joined: 09 Jan 2004
Posts: 565
Location: WildWestwoods

PostPosted: Tue Apr 20, 2004 5:00 pm    Post subject: Reply with quote

Quote:
how could you get it works??

**edit**
best way should be to download redeemans live-cd and use it :-)

hi,
i havn't much time, so only a short reply:
1. created a reiser4-kernel like said above
2. copied my whole sys from the "old" partitions to a spare one (cp -rp ...)
3. changed my /etc/fstab to use this partition
4. rebooted (to reiser4-kernel ;-))
5. generated reiser4-filesystem on all "old" partitions
6. copied data back
7. changed fstab to use the created partitions (fs-type "reiser4")
8. rebooted into the new reiser4-world :-)

that's all, but i'll give no warranty if you f**k up your sys ;-)
If s/t goes wrong, you can always boot with your gentoo-cd and change your fstab to use the backup-partition.
_________________
Join the adopt an unanswered post initiative today


Last edited by stahlsau on Fri Apr 23, 2004 7:04 am; edited 1 time in total
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Tue Apr 20, 2004 5:01 pm    Post subject: Reply with quote

The only way I can think of is the make two root partition, one to be reiserfs4, and the other a quickie GRP install. Finish the quickie, install the latest 2.6 kernel sources and ReiserFS4 patch and tools, format the other root partition, mount it and install gentoo on it. Then delete the temporary quickie partition, or keep it in case you'll need it again.

EDIT: stahlsau beat me to it, and explained it more coherently.
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Tue Apr 20, 2004 8:47 pm    Post subject: Reply with quote

hey hey, this is why i made the livecd with reiser4 support!!!!!!!!!!!!

https://forums.gentoo.org/viewtopic.php?t=161783&highlight=reiser4+enabled+livecd

hehe
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Tue Apr 20, 2004 8:50 pm    Post subject: Reply with quote

http://www.pandorasearch.com/~ruben/

as the site says, grab the iso from there while its still there!

(and then please grab torrent too, so you can see some time now and then :))
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
stahlsau
Guru
Guru


Joined: 09 Jan 2004
Posts: 565
Location: WildWestwoods

PostPosted: Fri Apr 23, 2004 7:02 am    Post subject: Reply with quote

yes, noticed bout your cd. But here in germany most users, including me, have got those silly small connections, so it was faster for me to backup'n'copy than to download your cd.

another thing:
i feel my system being a little slower than on ext3 which i ran before. Maybe it's cause i had to change my kernel from love-sources to speedy-sources to get reiser4 working, but maybe i've messed s/t up with the filesystem.
Anyone can confirm this? Or anyone got an idea what i could have fu...messed up? :-)
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Fri Apr 23, 2004 9:30 am    Post subject: Reply with quote

i'd have to say that moving away from love-sources
has caused the decrease in performance; i've noticed
it too, especially with ut2004.
Back to top
View user's profile Send private message
cohonen
n00b
n00b


Joined: 22 Apr 2004
Posts: 5

PostPosted: Sun Apr 25, 2004 11:37 pm    Post subject: Reiser4 not allways the fastest Reply with quote

Some concerns i have

i made a reiser4 partition and tested it with a vanilla kernel tar'ed and bz2'ed
and the results was less than impressive ext3 actually beat reiserfs4 here
also a friend of mine noticed that on a 100GB disk reiser4 took 4GB more space
for partition than reiser3 which seems quite a lot.

any fixes for those two conserns somebody please tell me i did something stupid cuz im not gonna use reiser4 if it do not own every other fs out there :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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