Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3711
  • Last Modified:

How do I install XFS on a Centos5 x86_64 System?

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
richardsimnett
Asked:
richardsimnett
  • 2
3 Solutions
 
rindiCommented:
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
 
richardsimnettAuthor Commented:
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
 
rindiCommented:
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
 
arrkerr1024Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now