Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54203 - xfsprogs will not create filesystem on RAID5 with gentoo-dev-sources - MD array <name> not in clean state
Summary: xfsprogs will not create filesystem on RAID5 with gentoo-dev-sources - MD arr...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://oss.sgi.com/bugzilla/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 07:09 UTC by Forrest Gump
Modified: 2004-08-01 07:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forrest Gump 2004-06-17 07:09:45 UTC
I'm using Gentoo 2004.1 with gentoo-dev-sources (2.6.5) kernel
When I run:
mkfs.xfs /dev/md2
I get the following error:
MD array /dev/md2 not in clean state

When I check /proc/mdstat, it says:
md2 : active raid5 hdd4[2] hdb4[1] hda4[0]
      3838360 blocks level 5, 32k chunk, algorighm 2 [3/3] [UUU]

mdadm also says:
    State : clean, no-errors

Reproducible: Always
Steps to Reproduce:
1.Install 2004.1 with gentoo-dev-sources
2.Create a RAID5 array using md
3.Create an xfs filesystem on the RAID5 array

Actual Results:  
MD array /dev/md2 not in clean state

Expected Results:  
Filesystem created

2004.1 using xfs-sources can create xfs on RAID5 fine   (But will not boot if
the root is XFS)
2004.1 using gentoo-dev-sources can create ext3 or reiserfs on RAID5 fine
2004.1 using gentoo-dev-sources can create xfs on RAID1 fine

This is a problem with the xfsprogs package that is available for gentoo. (2.3.9)
Once I manually installed the xfsprogs available here: (2.6.13)
ftp://oss.sgi.com/projects/xfs/cmd_tars/
everything worked fine.   I could create the xfs filesystem on RAID5 just fine.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 11:19:58 UTC
Does this still happen on the gentoo-dev-sources 2.6.7-r2 release?
Comment 2 Forrest Gump 2004-06-23 10:46:51 UTC
Yes, it is still a problem with 2.6.7-r5
I'd say this is a problem with xfsprogs, though, and not the kernel.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-07-29 12:55:08 UTC
Does xfsprogs-2.6.3 in Portage work fine?
Comment 4 Forrest Gump 2004-08-01 07:58:44 UTC
That fixes it