xfs
[Top] [All Lists]

Re: XFS and Raid

To: Anuradha Ratnaweera <anuradha@xxxxxxx>
Subject: Re: XFS and Raid
From: "Martin K. Petersen" <mkp@xxxxxxxxxxxxx>
Date: 08 Nov 2001 09:25:44 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20011108171403.A28816@bee.lk>
Organization: Linuxcare, Inc.
References: <20011108171403.A28816@bee.lk>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft)
>>>>> "Anuradha" == Anuradha Ratnaweera <anuradha@xxxxxxx> writes:

Anuradha> Is there any advantage in specifying chunk size etc. when
Anuradha> running mkfs.xfs?

For RAID1, no.  For RAID0 and RAID5, potentially.


Anuradha> If yes, where is it documented?  I went through what is on
Anuradha> the mkfs.xfs man page but is not inadaquate.

Have you read the sections about sunit and swidth?

In general mkfs.xfs will do the right thing.  As the man page states,
when you run mkfs on an LVM or MD device it will automagically extract
the stripe unit and stripe width.

If you have a hardware RAID device, however, you'll have to specify
these parameters manually to match the configuration of your device.

-- 
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
mkp@xxxxxxxxxxxxx, http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/


<Prev in Thread] Current Thread [Next in Thread>