Solved

How do I install XFS on a Centos5 x86_64 System?

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to virtualise a remote Linux server 2 66
Check if a filw is immutable for a certain amount of time 6 61
Run DOS2UNIX and then execute the command 21 70
linux SFTP 8 42
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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