Solved

How do I install XFS on a Centos5 x86_64 System?

Posted on 2007-11-18
4
3,700 Views
Last Modified: 2013-12-16
Hello,
I need to know how to setup XFS on a specific device on a CENTOS5 (RHEL5) server. The device is /dev/sda, which is a hardware raid 10. Furthermore, I need to know also  (for another raid) how to push the journaling onto a different device (journaling from this raid should be pushed onto /dev/sda as well).

Worth 500 points.

Thanks,
Rick
0
Comment
Question by:richardsimnett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 300 total points
ID: 20311207
First partition the device (fdisk /dev/sda). Once that is done format it in the XFS format.

mkfs.xfs /dev/sda5

The following site may help:

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4

How to push the journaling I wouldn't know. You might want to use DD to clone one device to another, that should include the journal.
0
 

Author Comment

by:richardsimnett
ID: 20313794
rindi,
ok my first problem is the fact that mkfs.xfs doesnt appear to be on my system. I have tried yum install mkfs.xfs, and yum install xfs, and no dice. I suppose the first thing for me to do would be to get that package installed.

Thanks,
Rick
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 300 total points
ID: 20314245
Sure you need the software installed, but It's some time since I used centos, so I'm not sure what the package you need to download is called. On my Ubuntu based system it is xfsprogs, xfsdump and xfslibs-dev (this probably isn't required).
0
 
LVL 14

Assisted Solution

by:arrkerr1024
arrkerr1024 earned 200 total points
ID: 20366424
XFS isn't supported in RedHat5 in favor of GFS, so it isn't in the basic CentOS repo.  It IS, however, in centosplus.  You need to enable the centosplus repo in /etc/yum.repos.d/CentOS-Base.repo (change enabled=1 under the [centosplus] heading).

Then do a "yum install xmod-xfs xfsprogs".
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question