Re: 2.6.0-test{1,2,3,4} kernels + software raid 0 + xfs broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 24 August 2003 08:56, Neil Brown wrote:
> On Saturday August 23, ma1flfs@bath.ac.uk wrote:
> > Hi all,
> >
> > I am running a 2.4.21 kernel + xfs + raid0 (software) on 2 scsi disks. It
> > works without flaws.
> >
> > Trying the same setup in 2.6.0-test{1,2,3} (haven't tested 4 yet) _will_
> > give data corruption if I write to the array.
> >
> Can you test without raid0 and confirm that it works with xfs on a
> single drive?

I have now also tested with -test4.
It works, in all of 2.6.0{1,2,3,4} and 2.4.21-xfs.

> Are there any kernel messages?

Only this: (from /var/log/kern.log)

Aug 27 17:57:02 omoikane kernel: XFS mounting filesystem md0
Aug 27 17:57:03 omoikane kernel: Ending clean XFS mount for filesystem: md0
Aug 27 17:58:22 omoikane kernel: XFS mounting filesystem md0
Aug 27 17:58:22 omoikane kernel: Starting XFS recovery on filesystem: md0 
(dev: 9/0)
Aug 27 17:58:22 omoikane kernel: Ending XFS recovery on filesystem: md0 (dev: 
9/0)
Aug 27 17:59:27 omoikane kernel: XFS mounting filesystem md0
Aug 27 17:59:27 omoikane kernel: Ending clean XFS mount for filesystem: md0
Aug 27 18:00:17 omoikane kernel: XFS mounting filesystem md0
Aug 27 18:00:17 omoikane kernel: Starting XFS recovery on filesystem: md0 
(dev: 9/0)
Aug 27 18:00:18 omoikane kernel: Ending XFS recovery on filesystem: md0 (dev: 
9/0)

What I did was (4 times):

1) mount /dev/md0 on /data
2) make a dir called testdir
3) copy some random files in there (about 20-500) MB each
4) umount /data
5) mount /data

In this particular case it was able to recover (but it really shouldn't... 
since it was cleanly unmounted), but If I do lots of stuff it usually can't 
recover. Usually the only way out is xfs_repair -L /dev/md0

Note that the very first initial mount (mounting the array as it was left by 
2.4.21) did not generate any messages and succeded flawlessly.

I've attached my 2.4.6 config below - just in case.

Thanks,

	Florian

Attachment: config.bz2
Description: BZip2 compressed data


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux