Hi James,
On Tue, Mar 15, 2005 at 11:22:35PM -0600, James Foris wrote:
> 1-36 GB system disk, 2-74 GB data disk configured as a single RAID0
> partition with 256K
> chunk size. This "md0" partition is formatted as XFS with external
> journal on the system disk:
>
> /sbin/mkfs.xfs -f -l logdev=/dev/sda5,sunit=8 /dev/md0
Just trying to isolate the problem futher - you say (below)
the mkfs options don't matter, so I'm assuming you dropped
the "sunit=8" bit above to test that? (and hence tested a
version 1 log).
Does it happen with no data device stripe alignment though?
(i.e. use -dsu=0,sw=0, IIRC).
> using tools from "xfsprogs-2.6.25-1".
>
> First the partition was zeroed ("dd if=dev/zero of=/dev/md0 ....."),
> then a known pattern
> was written in 516K files (4K + 2 x 256K). The partition (~140 GBytes)
> was filled to 98%,
> then the partition was first unmounted, then remounted.
Were these files written via buffered or direct IO? Any mount
options being used there?
> 3. File system creation options do not matter; the using the default
> mkfs.xfs settings
> shows corruption, too.
The default mkfs options will still pick up MD stripe geometry
information, and the kernel code will make use of that (hence
my earlier suggestion to try override that).
> What is NOT known yet:
> 5. We have only tested software RAID0. The test needs to be repeated on
> the other
> RAID modes.
Also just a regular disk, but using the same sunit/swidth would
be good (could you send xfs_info output for a failing case?) to
rule out MD.
> Can anyone duplicate this? And if not, where should I be looking to
We will certainly try to. Thanks for reporting it.
cheers.
--
Nathan
|