xfs
[Top] [All Lists]

RE: advice: 3ware+raid+xfs

To: <gbakos@xxxxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Subject: RE: advice: 3ware+raid+xfs
From: "Mike Young" <myoung@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 21:42:41 -0800
In-reply-to: <Pine.SOL.4.58.0401142342280.8714@antu.cfa.harvard.edu>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Thread-index: AcPbI092170pd0nOT9W3qvLa+I5XlAABo0TQ
Hi Gaspar,

I would certainly be sure to use the external journal.  In order to do this
with our 3Ware RAID-5, take the resulting RAID (say /dev/sda) and partition
it with sda1 being around 256MB.  Then create sda2 using the rest of the
data.

After that, I'd use the following command:
"mkfs.xfs -f /dev/sda2 -l logdev=/dev/sda1,size=32000b"

To mount this, I'd use "mount -t xfs /dev/sda2 -o logdev=/dev/sda1 /mnt".

I'm sure others have other ideas too.

-Mike

-----Original Message-----
From: linux-xfs-bounce@xxxxxxxxxxx [mailto:linux-xfs-bounce@xxxxxxxxxxx] On
Behalf Of Gaspar Bakos
Sent: Wednesday, January 14, 2004 8:52 PM
To: linux-xfs@xxxxxxxxxxx
Subject: Re: advice: 3ware+raid+xfs

Hi,

Some time ago I asked for advice regarding a 3ware + raid setup on XFS,
and I got a LOT of help, such as
- what kind of RAID is recommended,
- be careful with WD drives,
- use LVM2 + XFS, etc.

Finally I have all the 4x250Gb WD disks arranged in hardware RAID-5, and I
am ready to make xfs under RH9.0, kernel 2.4.23. I remember a discussion
on sunit, swidth, logsize, and external/internal log, and frankly, after
looking back to the messages, I feel confused.

I'd appreciate a little guidance on what exact options should I use with
mkfs.xfs, such as:

mkfs.xfs -d su=?,sw=? -l size=?,sunit=?? ...

What I know is that the hw RAID-5 stripe size is 64K. I have 4 disks =>
sw=3. I will have typically 8-16Mb files on the disk plus lots small files
(i.e. I can't specify well in advance).

Thanks,
Gaspar





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