View previous topic :: View next topic |
Author |
Message |
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sat Apr 10, 2004 10:39 am Post subject: Howto Create a Reiser4 Partition |
|
|
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 - 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
Last edited by Redeeman on Thu Apr 29, 2004 1:58 pm; edited 5 times in total |
|
Back to top |
|
|
shanghai Guru
Joined: 08 Feb 2004 Posts: 493 Location: Roma, Italia, GeekLand
|
Posted: Sat Apr 10, 2004 11:13 am Post subject: |
|
|
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 |
|
|
Blue Fox Apprentice
Joined: 09 Apr 2004 Posts: 216
|
Posted: Sat Apr 10, 2004 11:29 am Post subject: |
|
|
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 |
|
|
Yen Tux's lil' helper
Joined: 19 Oct 2003 Posts: 107 Location: Lummen, Belgium
|
Posted: Sat Apr 10, 2004 1:06 pm Post subject: |
|
|
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 |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Apr 10, 2004 2:45 pm Post subject: |
|
|
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 |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sat Apr 10, 2004 9:09 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Sun Apr 11, 2004 11:38 am Post subject: |
|
|
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 |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Sun Apr 11, 2004 5:26 pm Post subject: |
|
|
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 |
|
|
broeman Tux's lil' helper
Joined: 14 Mar 2003 Posts: 101 Location: Denmark, EUNATOUN
|
Posted: Sun Apr 11, 2004 7:41 pm Post subject: |
|
|
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
I have mentioned it to redeeman on irc _________________ Former Official Danish Gentoo Translation Team |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sun Apr 11, 2004 8:41 pm Post subject: Re: Howto Create a Reser4 Partition |
|
|
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 |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
|
Back to top |
|
|
JefPober n00b
Joined: 12 Apr 2004 Posts: 44
|
Posted: Mon Apr 12, 2004 11:05 am Post subject: |
|
|
is it possible to convert an existing reiserfs 3 partition to version 4? |
|
Back to top |
|
|
Enderson Retired Dev
Joined: 12 Nov 2003 Posts: 141 Location: Arapiraca/Maceió, AL, Brazil
|
Posted: Mon Apr 12, 2004 1:42 pm Post subject: |
|
|
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 |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Mon Apr 12, 2004 7:07 pm Post subject: |
|
|
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 |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Mon Apr 12, 2004 9:21 pm Post subject: |
|
|
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 |
|
|
stahlsau Guru
Joined: 09 Jan 2004 Posts: 584 Location: WildWestwoods
|
Posted: Fri Apr 16, 2004 6:21 pm Post subject: |
|
|
edit: sry, misplaced post.
anyway, i changed my sys to reiser4 without any problem |
|
Back to top |
|
|
zend Tux's lil' helper
Joined: 10 Apr 2002 Posts: 112 Location: Shanghai,China
|
Posted: Tue Apr 20, 2004 7:15 am Post subject: |
|
|
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 |
|
|
deepspace9 Apprentice
Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Apr 20, 2004 2:53 pm Post subject: |
|
|
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 |
|
|
stahlsau Guru
Joined: 09 Jan 2004 Posts: 584 Location: WildWestwoods
|
Posted: Tue Apr 20, 2004 5:00 pm Post subject: |
|
|
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.
Last edited by stahlsau on Fri Apr 23, 2004 7:04 am; edited 1 time in total |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Tue Apr 20, 2004 5:01 pm Post subject: |
|
|
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 |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
|
Back to top |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Tue Apr 20, 2004 8:50 pm Post subject: |
|
|
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 ) |
|
Back to top |
|
|
stahlsau Guru
Joined: 09 Jan 2004 Posts: 584 Location: WildWestwoods
|
Posted: Fri Apr 23, 2004 7:02 am Post subject: |
|
|
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? |
|
Back to top |
|
|
neenee Veteran
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Fri Apr 23, 2004 9:30 am Post subject: |
|
|
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 |
|
|
cohonen n00b
Joined: 22 Apr 2004 Posts: 5
|
Posted: Sun Apr 25, 2004 11:37 pm Post subject: Reiser4 not allways the fastest |
|
|
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 |
|
Back to top |
|
|
|