LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-04-2002, 05:19 PM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985

he means it f***'s up your data... funny how they don't tell you that on their site huh?
 
Old 06-04-2002, 05:26 PM   #17
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
hmmm, but remmember though that you need 1.8 MILLION files for something like that to happen. Who would be crazy enough to put that amount of files in a single directory? LOL
 
Old 06-04-2002, 11:59 PM   #18
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
When journaling there are two things an fs can journal.
data <- self explanatory
metadata <- data about the data.

ext3 only journals data
reiser files both

I don't know how ext2 & 3 store data but legacy fs use file allocation tables (FAT). Where files are stored along branches with similar files. This can lead to loooong file branches. and therefor long seek times and fragmentation. This sound familiar to any windoze people?

Also most fs tend to use presized blocks of disk spaces (nodes)
a common default is (i beleive) 1024 bytes. So a file that is say a script 40 lines long takes up 1024 bytes disk space. Likewise if a file is 1025 bytes it takes up 2048 bytes.

Rreiserfs will actually store multiple files in the the same node, saving space. Furthermore for very small files Reiserfs will store the data and metadata together. Most fs keep the metadata seperate. Rfs also uses a (fast) balancing tree algorithm to keep the file tree as short and efficient as possible. Faster seek times.
But this is also sort of like a data puree. Different methods for different files...

All of this makes Rfs well suited for small file manipulation and serving. (Think web sites with all the little textfiles and gifs and such. Whereas you save no space or time serving .iso's)

Well that covers most things but what the heck is journaling???
well instead of keeping data in a buffer while waiting to be written to disk journalled fs write data (for Rfs it also writes the metadata to disk) to a temporary location on the disk finds a place to store it, indexes it and writes the data to a more suitable place on the disk.
Finally it (optimally) checks it against the journal.

Think of it as if I were going to tell you something.
I would first tell you what I was going t o say.
Then I would say it.
Then I would tell you what I just said.

If the power is cut the only info lost is that which was being written to the journal. All else is recoverable and there for fsck needn't run and fix so much)
ie If you heard me tell you what I was going to say you could later fill that in even if interuppted.

Also I think next version Rfs will use a modular plug in architecture so you can program how it works for particular files. Say you are splitting DNA and you want it staored a certain way for your database, you simply write a plug-in and boom data is preparsed in storage. This can also be used for in house encryption etc...

Whew! Corrections are appreciated but I think that's a good lay description.

A final note. when updating Rfs you must also update kernel Rfs code. This is difficult as the Kernel code generally lags behind the fs code. This I think is also because of it's relative youth. Once Rfs matures a bit and is incorporated into a distro it won't be a problem. but currently it is developing to quickly to make it through the six month wait period between releases.

Last edited by 5amYan; 06-05-2002 at 12:10 AM.
 
Old 06-05-2002, 12:13 AM   #19
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Cool! Thanx for all the precious information and description. Much appreciated!

By the way SuSE comes with NATIVE support for ReiserFS
 
Old 06-05-2002, 12:24 AM   #20
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
so what kind of speed difference are you seeing?

Do you have a ext3 partition to compare?
 
Old 06-05-2002, 12:36 AM   #21
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
I don't have an Ext3 or Ext2 partition to compare with. I think booting is slightly faster, and I do like the fact that fsck doesn't need to run almost every time I boot Linux
 
Old 06-05-2002, 01:12 AM   #22
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
I think the speed diff would only be with smaller files. As well as the space saving.

What release of Rfs is with suse?

fsck shouldn't run so much with ext3 either. It journals
 
Old 06-05-2002, 01:15 AM   #23
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Hmm, no idea. I just know that is IS. I mean in SuSE 7.3 u can choose to format your partitions as ReiserFS when u set up SuSE
 
Old 06-05-2002, 02:21 AM   #24
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
Just looked up their site

RfsV4 is due out the end of September.

So you've had no trouble with it?
 
Old 06-05-2002, 02:25 AM   #25
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
So far so good. I don't like that data puree business though
 
Old 06-05-2002, 02:33 AM   #26
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
Quote:
Originally posted by shassouneh
What do you mean by "data puree"?
We lost about about 8000 files when reiser screwed up.

Regards
 
Old 06-05-2002, 02:35 AM   #27
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
yeouchie! Hard luck dude!
 
Old 06-05-2002, 02:58 AM   #28
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
Do you know why it screwed up?

how long ago/ what version?

No backup?
 
Old 06-05-2002, 09:35 AM   #29
Stephanie_new
Member
 
Registered: May 2002
Location: Hell, A.K.A. Arizona
Distribution: MD 8x / WIN2K / QNX
Posts: 156

Rep: Reputation: 30
That sucks your file system went south.

I have been using ReiserFS since Mandy 7.2, and I have not ever had a problem.

I get nice boot up times, although I think Linux could be designed a bit better for it, and never lost a file or run fsck.

However, ext2 when I tried it foulded up many, many times. in todays day and age, no one and I mean no one should have to worry about file system integrity.

Every single file system out there should be fully journalled and capable of at least 64-bit data storage.

Anything less would not be a good sign of advanced computing technology.
 
Old 06-05-2002, 01:05 PM   #30
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
I agree. Also running fsck every time you boot, even though you shut down your computer normally is NOT a good thing about Ext2 or Ext3
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext3 to reiserfs spaceballs Slackware 6 07-25-2005 05:56 PM
ext3 --> reiserFS ? Optimistic Debian 2 11-21-2004 06:35 PM
reiserfs -> ext3 pk21 Linux - Newbie 6 09-10-2003 03:26 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 - General

All times are GMT -5. The time now is 09:49 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