Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: ReiserFS
PostPosted: Tue Apr 26, 2011 11:16 pm 
Offline
Newbie

Joined: Tue Apr 26, 2011 11:13 pm
Posts: 2
Is there anyway to use reiserfs instead of ext3 on a linode. We ran into problems trying to store a few million files. The issues are known ext3 issues.


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2011 1:11 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
I haven't done it myself, but I think you should just be able to define a disk image as raw/unformatted, and then create whatever filesystem you want on it.

Reiserfs kernel support appears enabled, at least in the various Linode kernels I'm running, though you may or may not need to install user level tools depending on distribution.

Oh, and I think this will eliminate the possibility of that disk image participating in backups, as I seem to recall that only support ext2/3 images at the moment.

-- David


Top
   
 Post subject: Re: ReiserFS
PostPosted: Wed Apr 27, 2011 3:50 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
xtractly wrote:
Is there anyway to use reiserfs instead of ext3 on a linode. We ran into problems trying to store a few million files. The issues are known ext3 issues.


Have you considered ext4 instead?

Reiserfs is a well designed filesystem but the chef developer is now locked up and everyone else has moved away from it.


Maybe it's possible to look at what your application is doing? It looks like it should split its storage over multiple directories like BackupPC or Cyrus does instead of dumping too many in one directory. That's better regardless of filesystem.


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2011 11:22 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
With Reiser in jail for murder, moving to ReiserFS is not a terribly good idea...

My understanding is that ext4 should be a bit faster with many small files, and XFS should be significantly faster. You might want to give XFS a try before ReiserFS.

And finally, this might be a good time to point out that if you're storing millions of small files, a database makes a heck of a lot more sense than a file system.


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2011 12:10 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
ReiserFS is a stable and mature filesystem. I don't think it really matters that the original creator murdered his wife, as far as ReiserFS's performance and stability are concerned. AFAIK there aren't any major issues that only Hans Reiser himself would be able to fix. I've been using ReiserFS on a number of VMs (not Linode) without any issues.

Having said that, I second @Guspaz's recommendation that you check out alternatives, including the database option. It is usually considered a bad idea to store blobs in a database, but if you literally have millions of little pieces of data, something like PostgreSQL might give you much better performance and less headache overall.

Besides XFS, another option would be btrfs, which incorporates some of the better ideas from ReiserFS. It's been in the mainline kernel for while, so it's pretty stable these days. I'm not sure if Linode kernels support it, though.


Top
   
 Post subject:
PostPosted: Fri May 06, 2011 3:15 pm 
Offline
Junior Member

Joined: Wed May 04, 2011 8:06 pm
Posts: 35
I have only good things to say about XFS. Give it a try.


Top
   
 Post subject: Thanks
PostPosted: Sat May 07, 2011 5:14 pm 
Offline
Newbie

Joined: Tue Apr 26, 2011 11:13 pm
Posts: 2
Thanks for all the feedback.

A database wouldn't work for what we are trying to do.

The RAW partition formatted with reiserfs was the simplest solution. It is working well for now, and is easy to resize as needed.

Perhaps XFS or ext4 would work well also, but I am very familiar with reiserfs and it handles millions of files/directories with no difficulty.

Eventually we are migrating to a CDN for storage, so this is a temporary situation either way.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group