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

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

 



Dragos wrote:
> Thank you for your very fast answers.
> 
> First I tried 'fsck -n' on the existing array. The answer was that If I
> wanted to check a XFS partition I should use 'xfs_check'. That seems to
> say that my array was partitioned with xfs, not reiserfs. Am I correct?
> 
> Then I tried the different permutations:
> mdadm --create /dev/md0 --raid-devices=3 --level=5 missing /dev/sda1
> /dev/sdb1
> mount /dev/md0 temp
> mdadm --stop --scan
> 
> mdadm --create /dev/md0 --raid-devices=3 --level=5 /dev/sda1 missing
> /dev/sdb1
> mount /dev/md0 temp
> mdadm --stop --scan
> 
[etc]

> 
> With some arrays mount reported:
>   mount: you must specify the filesystem type
> and with others:
>   mount: Structure needs cleaning
> 
> No choice seems to have been successful.

OK, not as good as you could have hoped for.

Make sure you have the latest xfs tools.

you may want to try xfs_repair and you can use the -n (I think - check man page)
option.

You may need to force it to ignore the log

David



-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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