From: Tobias Geiger <tobias.geiger@vido.info>
To: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: RAID6 - "Invalid Argument" / "does not have a valid v1.2 superblock" ?!
Date: Wed, 02 Dec 2015 18:04:26 +0100 [thread overview]
Message-ID: <207014396.bPZ85pNCfm@t400> (raw)
Hello,
i need help assembling my raid6 again:
root@pc:~# mdadm -A /dev/md0 -v --force /dev/sdd2 /dev/sde2 /dev/sdg2
/dev/sdc2 /dev/sdb2 /dev/sdf2
mdadm: looking for devices for /dev/md0
mdadm: /dev/sdd2 is identified as a member of /dev/md0, slot 0.
mdadm: /dev/sde2 is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sdg2 is identified as a member of /dev/md0, slot 2.
mdadm: /dev/sdc2 is identified as a member of /dev/md0, slot 3.
mdadm: /dev/sdb2 is identified as a member of /dev/md0, slot 4.
mdadm: /dev/sdf2 is identified as a member of /dev/md0, slot 5.
mdadm: failed to add /dev/sde2 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sdg2 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sdc2 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sdb2 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sdf2 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sdd2 to /dev/md0: Invalid argument
mdadm: failed to RUN_ARRAY /dev/md0: Invalid argument
dmesg says to this:
[25717.423008] md: md0 stopped.
[25717.424958] md: sde2 does not have a valid v1.2 superblock, not importing!
[25717.424989] md: md_import_device returned -22
[25717.425266] md: sdg2 does not have a valid v1.2 superblock, not importing!
[25717.425963] md: md_import_device returned -22
[25717.426847] md: sdc2 does not have a valid v1.2 superblock, not importing!
[25717.426880] md: md_import_device returned -22
[25717.427908] md: sdb2 does not have a valid v1.2 superblock, not importing!
[25717.427952] md: md_import_device returned -22
[25717.428890] md: sdf2 does not have a valid v1.2 superblock, not importing!
[25717.428938] md: md_import_device returned -22
[25717.429668] md: sdd2 does not have a valid v1.2 superblock, not importing!
[25717.429716] md: md_import_device returned -22
[25717.430104] md: md0 stopped.
but i cant find any problems examining the devices:
/dev/sdb2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 078883e8:30c2ebe6:87576034:e85737b8
Name : pc:0 (local to host pc)
Creation Time : Fri Sep 5 01:06:21 2014
Raid Level : raid6
Raid Devices : 6
Avail Dev Size : 7813699215 (3725.86 GiB 4000.61 GB)
Array Size : 15627124736 (14903.19 GiB 16002.18 GB)
Used Dev Size : 7813562368 (3725.80 GiB 4000.54 GB)
Data Offset : 198656 sectors
Super Offset : 8 sectors
Unused Space : before=198568 sectors, after=69263 sectors
State : clean
Device UUID : 02dab3ff:6e36ebf3:2012e2a0:e8b29f3f
Update Time : Wed Dec 2 10:13:53 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : b75c2285 - correct
Events : 1903827
Layout : left-symmetric
Chunk Size : 4096K
Device Role : Active device 4
Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 078883e8:30c2ebe6:87576034:e85737b8
Name : pc:0 (local to host pc)
Creation Time : Fri Sep 5 01:06:21 2014
Raid Level : raid6
Raid Devices : 6
Avail Dev Size : 7813699215 (3725.86 GiB 4000.61 GB)
Array Size : 15627124736 (14903.19 GiB 16002.18 GB)
Used Dev Size : 7813562368 (3725.80 GiB 4000.54 GB)
Data Offset : 198656 sectors
Super Offset : 8 sectors
Unused Space : before=198568 sectors, after=69263 sectors
State : clean
Device UUID : c9aaa3e3:00589ba5:be8fe774:362d477a
Update Time : Wed Dec 2 10:13:53 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 5ba906b9 - correct
Events : 1903827
Layout : left-symmetric
Chunk Size : 4096K
Device Role : Active device 3
Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 078883e8:30c2ebe6:87576034:e85737b8
Name : pc:0 (local to host pc)
Creation Time : Fri Sep 5 01:06:21 2014
Raid Level : raid6
Raid Devices : 6
Avail Dev Size : 7813699215 (3725.86 GiB 4000.61 GB)
Array Size : 15627124736 (14903.19 GiB 16002.18 GB)
Used Dev Size : 7813562368 (3725.80 GiB 4000.54 GB)
Data Offset : 198656 sectors
Super Offset : 8 sectors
Unused Space : before=198568 sectors, after=69263 sectors
State : clean
Device UUID : 2b4e613e:1a7f062c:f8ba29a9:e5dcfaf8
Update Time : Wed Dec 2 10:13:53 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : efc7b1df - correct
Events : 1903827
Layout : left-symmetric
Chunk Size : 4096K
Device Role : Active device 0
Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 078883e8:30c2ebe6:87576034:e85737b8
Name : pc:0 (local to host pc)
Creation Time : Fri Sep 5 01:06:21 2014
Raid Level : raid6
Raid Devices : 6
Avail Dev Size : 7813699215 (3725.86 GiB 4000.61 GB)
Array Size : 15627124736 (14903.19 GiB 16002.18 GB)
Used Dev Size : 7813562368 (3725.80 GiB 4000.54 GB)
Data Offset : 198656 sectors
Super Offset : 8 sectors
Unused Space : before=198568 sectors, after=69263 sectors
State : clean
Device UUID : e80ba505:cc0b9904:9288c64a:5c289e62
Update Time : Wed Dec 2 10:13:53 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 9ade0f9a - correct
Events : 1903827
Layout : left-symmetric
Chunk Size : 4096K
Device Role : Active device 1
Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 078883e8:30c2ebe6:87576034:e85737b8
Name : pc:0 (local to host pc)
Creation Time : Fri Sep 5 01:06:21 2014
Raid Level : raid6
Raid Devices : 6
Avail Dev Size : 7813699215 (3725.86 GiB 4000.61 GB)
Array Size : 15627124736 (14903.19 GiB 16002.18 GB)
Used Dev Size : 7813562368 (3725.80 GiB 4000.54 GB)
Data Offset : 198656 sectors
Super Offset : 8 sectors
Unused Space : before=198568 sectors, after=69263 sectors
State : clean
Device UUID : f769eefd:bd202fca:50966083:39a25647
Update Time : Wed Dec 2 10:13:53 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 76100a3c - correct
Events : 1903827
Layout : left-symmetric
Chunk Size : 4096K
Device Role : Active device 5
Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdg2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 078883e8:30c2ebe6:87576034:e85737b8
Name : pc:0 (local to host pc)
Creation Time : Fri Sep 5 01:06:21 2014
Raid Level : raid6
Raid Devices : 6
Avail Dev Size : 7813699215 (3725.86 GiB 4000.61 GB)
Array Size : 15627124736 (14903.19 GiB 16002.18 GB)
Used Dev Size : 7813562368 (3725.80 GiB 4000.54 GB)
Data Offset : 198656 sectors
Super Offset : 8 sectors
Unused Space : before=198568 sectors, after=69263 sectors
State : clean
Device UUID : 7fad3e2f:85dd6849:127d7d47:58c166dd
Update Time : Wed Dec 2 10:13:53 2015
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 80c71068 - correct
Events : 1903827
Layout : left-symmetric
Chunk Size : 4096K
Device Role : Active device 2
Array State : AAAAAA ('A' == active, '.' == missing, 'R' == replacing)
except for the Checksum and the Device UUID the output is exactly the same for
each device...
i really hesitate to "recreate" the array with "--assume-clean", because of
the Unused-Space/ArraySize, which i wouldnt know how to reassemble in a
"mdadm --create ..." line ...
do you have any thoughts on that?
Thanks very much for your help!
Greetings
Tobias
next reply other threads:[~2015-12-02 17:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-02 17:04 Tobias Geiger [this message]
2015-12-04 17:32 ` RAID6 - "Invalid Argument" / "does not have a valid v1.2 superblock" ?! Tobias Geiger
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=207014396.bPZ85pNCfm@t400 \
--to=tobias.geiger@vido.info \
--cc=linux-raid@vger.kernel.org \
/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).