From: NeilBrown <neilb@suse.de>
To: Salatiel Filho <salatiel.filho@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Help to assemble raid5 - no superblock!
Date: Wed, 4 Apr 2012 21:47:49 +1000 [thread overview]
Message-ID: <20120404214749.0988c792@notabene.brown> (raw)
In-Reply-To: <CAGmni9oPLr6xg07gn0kVpKM2ysOzM5x+Dx-kBTz2ZDdqV0-VOg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3998 bytes --]
On Wed, 4 Apr 2012 08:15:57 -0300 Salatiel Filho <salatiel.filho@gmail.com>
wrote:
> I am having a big problem trying to assemble my raid.
> I can assemble just fine in the old machine (LINUX ARM) where i built
> the raid in the first place, but i am just unable to do in other
> machine (Linux mips). I have no mdadm.conf in both machines.
> I got the following error:
>
> # mdadm -A /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2
> mdadm: no recogniseable superblock on /dev/sda2
> mdadm: /dev/sda2 has no superblock - assembly aborted
>
> # cat /var/log/messages | tail
>
> Apr 4 08:08:32 (none) kernel: [ 8577.010000] scsi_verify_blk_ioctl: 4
> callbacks suppressed
> Apr 4 08:08:32 (none) kernel: [ 8577.020000] mdadm: sending ioctl
> 400c0910 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.020000] mdadm: sending ioctl
> 400c0910 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.030000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.040000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.050000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.050000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.270000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:32 (none) kernel: [ 8577.280000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:33 (none) kernel: [ 8577.290000] mdadm: sending ioctl
> 20001261 to a partition!
> Apr 4 08:08:33 (none) kernel: [ 8577.290000] mdadm: sending ioctl
> 20001261 to a partition!
>
> # fdisk -l /dev/sda
>
> Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
> 255 heads, 63 sectors/track, 182401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 13055 104857600 83 Linux
> /dev/sda2 13055 182402 1360279960 fd Linux raid autodetect
>
>
> # fdisk -l /dev/sdb
>
> Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
> 255 heads, 63 sectors/track, 182401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 1 13055 104857600 83 Linux
> Partition 1 does not end on cylinder boundary
> /dev/sdb2 13055 182402 1360279960 fd Linux raid autodetect
> Partition 2 does not end on cylinder boundary
>
> # fdisk -l /dev/sdc
>
> Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
> 255 heads, 63 sectors/track, 182401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdc1 1 13055 104857600 83 Linux
> /dev/sdc2 13055 182402 1360279960 fd Linux raid autodetect
>
>
> # cat /proc/mdstat
> Personalities : [raid1] [raid6] [raid5] [raid4]
> unused devices: <none>
>
>
>
> # lsmod | grep -i 'md\|raid'
> raid456 47584 0
> async_raid6_recov 896 1 raid456
> async_pq 1536 1 raid456
> raid6_pq 74752 2 async_raid6_recov,async_pq
> async_xor 976 2 raid456,async_pq
> async_memcpy 560 1 raid456
> async_tx 832 5
> raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
> raid1 24304 0
> md_mod 88816 2 raid456,raid1
> md5 1424 0
> crypto_hash 7888 3 dm_crypt,sha1_generic,md5
>
>
>
> # uname -a
>
> Linux router 3.2.9 #16 Sun Mar 25 16:31:49 BRT 2012 mips GNU/Linux
>
>
> Any help ?
ARM is little-endian
MIPS ?? is that bigendian?
What does
mdadm -E --metadata=0.swap /dev/sda2
report?
If it is something useful, then try adding
--update=byteorder
to the "mdadm -A" command.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2012-04-04 11:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 11:15 Help to assemble raid5 - no superblock! Salatiel Filho
2012-04-04 11:47 ` NeilBrown [this message]
[not found] ` <CAGmni9pRk4qO88VvUMQ2VpnmzokhxCbfwsA9LpnD1Jsa0KMKgg@mail.gmail.com>
2012-04-27 10:24 ` Salatiel Filho
2012-04-27 22:08 ` NeilBrown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120404214749.0988c792@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=salatiel.filho@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).