# XFS with Hardware Raid Configuration

**URL:** <https://forums.suse.com/t/xfs-with-hardware-raid-configuration/23813>\
**Category:** SLES Configure-Administer\
**Created:** [April 4, 2013, 12:04am UTC](https://forums.suse.com/t/xfs-with-hardware-raid-configuration/23813 "2013-04-04T00:04:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwhite](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@kwhite](https://forums.suse.com/u/kwhite)\
**Post date:** [April 4, 2013, 12:04am UTC](https://forums.suse.com/t/xfs-with-hardware-raid-configuration/23813/1 "2013-04-04T00:04:14Z")

</div>

I’m having a problem discerning through all the web articles old and new. How to install a XFS filesystem using hardware raid: Do I use the default gui in Yast? Do I use XFS command line and if so which switches do I use? Do I need to be concerned with the number of physical drives, stripe, alignment, or mount commands?

Thanks

---

<div class="post-metadata">

**Author:** ![summitflier](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@summitflier](https://forums.suse.com/u/summitflier)\
**Post date:** [April 4, 2013, 10:00pm UTC](https://forums.suse.com/t/xfs-with-hardware-raid-configuration/23813/2 "2013-04-04T22:00:44Z")

</div>

Whether the disk is a RAID disk or not really doesn’t matter that much. If it’s HW RAID then it should pretty much be transparent to the OS.  
I would assume the OS to see RAID array as one single disk.

#\> fdisk -l  
to list all your disks

To create and XFS filesystem. (change /dev/sda1 to whatever disk it is)  
#\> mkfs.xfs /dev/sda1

From the mkfs.xfs man page.

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 4, 2013, 11:43pm UTC](https://forums.suse.com/t/xfs-with-hardware-raid-configuration/23813/3 "2013-04-04T23:43:16Z")

</div>

[QUOTE=summitflier;12808] If it’s HW RAID then it should pretty much be transparent to the OS.  
I would assume the OS to see RAID array as one single disk.[/QUOTE]

Basically correct, but XFS has lots of tuning options to take optimum advantage of the hardware. It’s especially able to adopt to the physical layout of a RAID system, whether it’s hardware or software RAID.

Because I have no own hands-on experience in that area, I cannot judge the actual performance increase possible.

> Do I use the default gui in Yast? Do I use XFS command line and if so which switches do I use?

If you want to just get XFS up&running, you can go the YaST route… but if you’re after the last deci-percent of performance, you’ll have to take things in your own hands. The man page has descriptions of the various tuning options available and a number of descriptive pages have been put up on the net by people that seem to have dealt with this intensively.

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![kwhite](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@kwhite](https://forums.suse.com/u/kwhite)\
**Post date:** [April 8, 2013, 5:15pm UTC](https://forums.suse.com/t/xfs-with-hardware-raid-configuration/23813/4 "2013-04-08T17:15:58Z")

</div>

I just took the defaults when setting up with yast. It didn’t create any su or sw but maybe I don’t need this HW RD5.
