Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-17-2003, 10:09 PM   #1
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
XFS Filesystem on RH 9.0 Necessary?


At my job we are trying to setup a Linux Server to maintain a database. Now my co-worker (a programer by training) says that we need to use Linux Distribution that supports the XFS filesystem.
He says its required because several of the database entries are files that exceed 2GB in size. Apparently the standard filesystem that comes with RedHat 9.0 won't cut it.
While doing some on-line research for this project, I came across a mini-how-to for establishing the same database we want to build using Mandrake 8.0. They don't mention the need for XFS filesystem support, but they do say that you need to use a linux distro. running kernel 2.4 or higher inorder to overcome the 2GB file size limit.

My Question: Which is accurate? Do we really need to use a distro that supports XFS? or do we just need a distro. that uses kernel 2.4 or higher? Which one would allow me to get over the 2GB file limit?

Any thoughts?

Old 09-18-2003, 01:05 AM   #2
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
Support for XFS or ReiserFS (both support >2G files) is not a Redhat-, but a kernel issue. I'm running Redhat 9 with Reiser, I never cared about XFS (isn't that the SGI thing they had so much trouble porting?), and the stock RH kernel comes with Reiser support out of the box (don't know about XFS, I think not - there's a freevxfs which is a different thing, I believe). In my book, Reiser is the more mature and more widespread FS, but I'm no expert in XFS. I have never had any problem with Reiser.

Virtually all distro's use the 2.4 kernel these days.

Hope it helps,

Old 09-18-2003, 07:45 AM   #3
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Original Poster
Rep: Reputation: 32

So, ReiserFS supports > 2GB files? And Redhat comes with this support right out of the box? Hum.... that's interesting. How do you tell the RH 9.0 installer to format the drive in ReiserFS format when you're building the machine?

Thanks for the info.
Old 09-18-2003, 07:54 AM   #4
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
You can't tell RedHat to format the drive in reiserfs, as it just supports ext3 on installation. However, you can leave aside space for a new partition, and then create a reiserfs partition using fdisk and mkreiserfs, and then store your database files on that partition.

I heard that SUSE has support for installing reiserfs for the root file systems also(But am not sure that you need this).
Old 09-18-2003, 09:49 AM   #5
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Original Poster
Rep: Reputation: 32
Okay, so should I bother formatting a separate partition as Reiser FS or just stick with the default ext3 formatting of RedHat? Can ext3 deal with files >2GB in size?
Old 09-18-2003, 10:42 AM   #6
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
Actually, ext2/3 should be fine for this. My best information has the max file size under ext2/3, at least when using the standard Red Hat kernel from 7.1 or highter, at 4 Terabytes.

Just to be sure, I did the following on my laptop just now:

[brad@satsuki brad]$ dd if=/dev/zero of=bigfatfile bs=1024000 count=3000
3000+0 records in
3000+0 records out
[brad@satsuki brad]$ ls -lh bigfatfile
-rw-rw-r-- 1 brad brad 2.9G Sep 18 10:32 bigfatfile

The laptop is running rh9 using ext3fs and kernel 2.4.20-19.9 but, as I said, it should work with any reasonably recent version of ext2 or ext3, which should include your rh7.2 system.

Hope this helps.

Last edited by usernamenumber; 09-18-2003 at 12:53 PM.
Old 10-25-2003, 02:30 PM   #7
LQ Newbie
Registered: Oct 2003
Location: 07421
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
XFS is a great file system. I have used if for several years, and its solid. Most bugs have been worked out on SGI's own hardware, its pretty much a porting job. Most other journaling file systems are still under development. Why RedHat doesnt offer/support it is a mystery. Then, when I called up RH support for advise on backing up the system (under advanced server 2.1), they had no solution. I have backed up the Root Partition on Linux /xfs while its up and running with XFSdump, a part of the XFS program suite. Its not just a file system. Many distributions (SUSE and a few others) already support XFS, but not Redhat.

There is development work though, to keep up to current Linux Kernel versions and their changing internals. But.. there is a good bit of info and good support thru .

Redhat can't say its not been asked for though, by me certainly! (FWIW)

Of course., IMHO and YMMV amd all those TLA's ":^)

Best - JDW
Old 12-29-2003, 05:42 AM   #8
LQ Newbie
Registered: Dec 2003
Location: Arlington, TX.
Distribution: Arch Linux; Fedora Core 1
Posts: 4

Rep: Reputation: 0
Choosing Reiser before Redhat installs

At the first prompt where it asks if you want to do a gui or text based install, type "linux reiserfs" and it will use the reiser filesystem.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best filesystem? (mainly xfs vs ext3) calimer Linux - Software 16 03-02-2005 01:07 AM
How do I do a filesystem integrity check on XFS? Thaidog Linux - Newbie 2 08-27-2004 02:25 AM
How to mount UTF8 on XFS filesystem? samxiao Linux - Hardware 0 01-27-2004 07:38 PM
how to format a disk in XFS filesystem bennethos Linux - Newbie 2 10-14-2003 08:43 AM
XFS 64-bit filesystem sneeze Linux - Newbie 3 07-14-2003 06:15 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration