Solved

How do I install XFS on a Centos5 x86_64 System?

Posted on 2007-11-18
4
3,696 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
expectj telnet failing 5 45
Linux boot cd to do hardware report on PC? 3 64
Securing Azure Oracle instance of Linux VM 4 65
linux - yum package installation issue 2 63
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 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