Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old March 3rd, 2007   #1
bmhm
A Carafe of Ubuntu
 
bmhm's Avatar
 
Join Date: Nov 2006
Beans: 102
Ubuntu 9.04 Jaunty Jackalope
reiserFS and defrag and fsck

Hi folks!

I installed ubuntu on a reiserFS partition, because reiserFS is told to be faster than ext3. I don't know whether it is or not, just got some questions:

* How do I set-up an auto-check every 30 mounts?
* Is reiserFS as fragment-resistent as ext3?
* Is reiserFS really faster?
* Anything else I should know?

Anyway, no problems so far.

Regards,
-> bmhm
__________________
>> Linux User Group Schaumburg <<
#lug-schaumburg on Freenode (as bmhm)
Wer sich auf seinen Lorbeeren ausruht, trägt sie an der falschen Stelle!
bmhm is offline  
Old March 3rd, 2007   #2
Ryba
Just Give Me the Beans!
 
Ryba's Avatar
 
Join Date: Oct 2005
Beans: 39
Dapper Drake Testing/
Re: reiserFS and defrag and fsck

Quote:
Originally Posted by bmhm View Post
I installed ubuntu on a reiserFS partition, because reiserFS is told to be faster than ext3. I don't know whether it is or not, just got some questions:

No offensive but typically with something as sensitive as the file partition which is not usually easy to change around, I tend to recommend people do more research into the pros and cons first. However, I myself run reiserfs as well and have done much research between ext3 and resierfs.

Quote:
Originally Posted by bmhm View Post
* How do I set-up an auto-check every 30 mounts?

Well, actually the filesystem does an integrity check on itself on every single read access it does.

Quote:
Originally Posted by bmhm View Post
* Is reiserFS as fragment-resistent as ext3?

ext3 is not really fragment resistent at all. I'm not sure why you say it is. Maybe there is another hook or kernel module that does this but ext3 itself is not.

reiserfs is fragment resistant in the sense that everytime it reads a file, it does relocate the file and rehash the BST tables if it determines that the file is sitting on a sector that is about to go bad or if the file is being more frequently accessed then some other files above it in the tree listing.

Quote:
Originally Posted by bmhm View Post
* Is reiserFS really faster?

There is no if ands or butts about this one. The best way to test this with "human" eyeballs is to get a removable media device like usb keypens and to format them into the different filesystem formats. then just use them normally for reading and writing thigns to the system and see how they go. my best test is to compile and clean and compile again something on the usb device. i find reiserfs to be the fastest of them all (but to be fair I did not try jfs or xfs).

Quote:
Originally Posted by bmhm View Post
* Anything else I should know?

I'd just recommend doing google searches on pro/con of ext3 and reiserfs. then determine the merits based on what you find to be the best fit for yourself.
Ryba is offline  
Old March 4th, 2007   #3
bmhm
A Carafe of Ubuntu
 
bmhm's Avatar
 
Join Date: Nov 2006
Beans: 102
Ubuntu 9.04 Jaunty Jackalope
Re: reiserFS and defrag and fsck

I took a look at english and german wikipedia before using reiserFS.

wait, here are the links:
Quote:
http://en.wikipedia.org/wiki/ReiserFS#Performance says:
"ext3 in version 2.4 of the Linux kernel, when dealing with files under 4 KiB and with tail packing enabled, ReiserFS is often faster by a factor of 10–15."
and:
Quote:
There are no programs to specifically defragment a ReiserFS filesystem, although tools have been written to automatically copy the contents of fragmented files hoping that more contiguous blocks of free space can be found. However Reiser4 will have a repacker that takes care of optimizing file fragmentation.
Quote:
http://en.wikipedia.org/wiki/Comparison_of_file_systems says:
* reiser stores about same metadata as ext-systems
* filenames in ext may be longer
* reiserFS allows tailpacking (allthough i disabled it)
* reiser allows Block suballocation
Anyway: http://en.wikipedia.org/wiki/Tail_packing recommends to turn off tail packing, if you don't need every single bit of your HDD for performance reasons.

That's why I choose reiserFS.


Still, in fstab, I can set check to 1, and on every startup reiserFSck is being executed...
__________________
>> Linux User Group Schaumburg <<
#lug-schaumburg on Freenode (as bmhm)
Wer sich auf seinen Lorbeeren ausruht, trägt sie an der falschen Stelle!

Last edited by bmhm; April 2nd, 2007 at 01:07 PM..
bmhm is offline  
Old March 11th, 2007   #4
bmhm
A Carafe of Ubuntu
 
bmhm's Avatar
 
Join Date: Nov 2006
Beans: 102
Ubuntu 9.04 Jaunty Jackalope
Re: reiserFS and defrag and fsck

Quote:
Originally Posted by bmhm View Post

Still, in fstab, I can set check to 1, and on every startup reiserFSck is being executed...
*bump*
__________________
>> Linux User Group Schaumburg <<
#lug-schaumburg on Freenode (as bmhm)
Wer sich auf seinen Lorbeeren ausruht, trägt sie an der falschen Stelle!

Last edited by bmhm; April 2nd, 2007 at 01:08 PM..
bmhm is offline  
Old March 11th, 2007   #5
dejitarob
Gee! These Aren't Roasted!
 
dejitarob's Avatar
 
Join Date: Feb 2005
Location: Babylon
Beans: 190
Ubuntu 8.04 Hardy Heron
Re: reiserFS and defrag and fsck

Quote:
Originally Posted by bmhm
on every startup reiserFSck is being executed
I get the same thing too and can't find any info on fixing this. I have been using reiserfs since Hoary (on Gentoo as well) and just noticed this when I upgraded to Edgy. I tried reverting back the changes to UUID in my /etc/fstab and while fsck says the reiserfs partition is clean, fsck still runs at every boot.
__________________
"We do not want a world in which the guarantee that we will not die of starvation is bought by accepting the risk of dying of boredom." -Vaneigem

Last edited by dejitarob; March 11th, 2007 at 06:23 PM..
dejitarob is offline  
Old March 21st, 2007   #6
bmhm
A Carafe of Ubuntu
 
bmhm's Avatar
 
Join Date: Nov 2006
Beans: 102
Ubuntu 9.04 Jaunty Jackalope
Re: reiserFS and defrag and fsck

Quote:
Originally Posted by dejitarob View Post
and while fsck says the reiserfs partition is clean, fsck still runs at every boot.
That's why I disabled it. But that's a bad option somehow... Do I HAVE to reboot from LiveCD to be able to run fsck?
__________________
>> Linux User Group Schaumburg <<
#lug-schaumburg on Freenode (as bmhm)
Wer sich auf seinen Lorbeeren ausruht, trägt sie an der falschen Stelle!
bmhm is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:11 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry