# Re: assemble vs create an array.......

- From: Dragos \<hidden\>
- Date: 2008-01-28 07:25:42 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2008/01/6601879
- Thread: https://ratatoskr.run/linux-raid/2008/01/6601879/t.md

```text
Hello,
Have a Happy New and Prosperous Year.

First of all, thank you again for all your previous answers.

The last message I received regarding my issue was on 12.06 so I should refresh your memories. I passed a --create option instead of --assemble on top of an existing raid 5 array formatted with xfs.

I followed your advice and here is a table of my results so far. I also attached the results of the first combination (w/ -c128 option). A quick diff on the 3 combinations with the least number of errors (abm, amc, mbc) showed few differences. Do you need to see the other reports?

At this point it seems that doing a xfs_repair on the first combination would be ok. What do you think? Are there any options I should pass to xfs_repair to increase my chances?

I hope you can continue to enlighten me with your knowledge and experience.

Thank you in advance for your time and help,
Dragos


mdadm --create /dev/md0 --raid-devices=3 --level=5 /dev/sda1 /dev/sdb1 missing

--------- without and with –chunk=128

mount /dev/md0 t

xfs_repair -n /dev/md0 2> xfs_repair-abm.txt

mdadm –stop /dev/md0

*combination*

	

*mount response*

	

*xfs_repair: **size of report file & tty output w/o & w/ -c128*

a b m

	

structure needs cleaning

	

7.9Mb

No modify flag set, skipping phase 5

56.2kb

No modify flag set, skipping phase 5

a m b

	

structure needs cleaning

	

4.9Mb

No modify flag set, skipping phase 5

1.9Gb

No modify flag set, skipping phase 5

m a b

	

you must specify the filesystem type

	


a c m

	

structure needs cleaning

	

4.9Mb

nothing

1.9Gb

No modify flag set, skipping phase 5

a m c

	

structure needs cleaning

	

7.9Mb

No modify flag set, skipping phase 5

56.2kb

No modify flag set, skipping phase 5

m a c

	

you must specify the filesystem type

	


b c m

	

you must specify the filesystem type

	


b m c

	

you must specify the filesystem type

	


m b c

	

structure needs cleaning

	

7.9Mb

No modify flag set, skipping phase 5

56.2kb

No modify flag set, skipping phase 5

b a m

	

you must specify the filesystem type

	


b m a

	

you must specify the filesystem type

	


m b a

	

you must specify the filesystem type

	


c a m

	

you must specify the filesystem type

	


c m a

	

you must specify the filesystem type

	


m c a

	

you must specify the filesystem type

	


c b m

	

you must specify the filesystem type

	


c m b

	

you must specify the filesystem type

	


m c b

	

structure needs cleaning

	

4.9Mb

No modify flag set, skipping phase 5

1.9Gb

No modify flag set, skipping phase 5

```

## Attachments

- [xfs\_repair-abm-128.txt](https://ratatoskr.run/linux-raid/2008/01/6601879/attachment/0) (text/plain, 57597 bytes)
