Re: Issue with Raid 10 super block failing

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

 



The issue is not that I cannot get the raid to create, it is that I
cannot access any of the files on the system when I mount it.  It was
setup as an ext4 filesystem and it all was working and I rebooted and
it was not after that point.


mint mnt # mount -t ext4 /dev/md0 /mnt/raid
mount: wrong fs type, bad option, bad superblock on /dev/md0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so





mint dev # mdadm -v --assemble /dev/md0 /dev/sd[abde]1
mdadm: looking for devices for /dev/md0
mdadm: /dev/sda1 is identified as a member of /dev/md0, slot 0.
mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 2.
mdadm: /dev/sde1 is identified as a member of /dev/md0, slot 3.
mdadm: added /dev/sdb1 to /dev/md0 as 1
mdadm: added /dev/sdd1 to /dev/md0 as 2
mdadm: added /dev/sde1 to /dev/md0 as 3
mdadm: added /dev/sda1 to /dev/md0 as 0
mdadm: /dev/md0 has been started with 4 drives.
mint dev # cat /proc/mdstat
Personalities : [raid10]
md0 : active raid10 sda1[0] sde1[3] sdd1[2] sdb1[1]
      1952211968 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]

unused devices: <none>


On Sun, Nov 18, 2012 at 5:01 PM, Phil Turmel <philip@xxxxxxxxxx> wrote:
> On 11/18/2012 11:49 AM, Drew Reusser wrote:
>> On Sun, Nov 18, 2012 at 2:35 PM, Phil Turmel <philip@xxxxxxxxxx> wrote:
>
> [trim /]
>
>>> Please repeat the examines with "mdadm -E /dev/sd[abde]1"
>
>> I originally started the disks at (block?) 2048 so there was a 2mb
>> partition to load the bootloader (grub) and mdadm.  Everything else
>> was on one partition as you observed.  I figured the simpler the
>> better for this configuration.
>>
>> Here you go.
>>
>>
>> mint dev # mdadm -E /dev/sd[abde]1
>> /dev/sda1:
>>           Magic : a92b4efc
>>         Version : 1.2
>>     Feature Map : 0x0
>>      Array UUID : db9e3115:556a49db:27c42d30:02657472
>>            Name : mint:0  (local to host mint)
>>   Creation Time : Thu Nov 15 16:08:02 2012
>>      Raid Level : raid10
>>    Raid Devices : 4
>>
>>  Avail Dev Size : 1953259520 (931.39 GiB 1000.07 GB)
>>      Array Size : 1952211968 (1861.77 GiB 1999.07 GB)
>>   Used Dev Size : 1952211968 (930.89 GiB 999.53 GB)
>>     Data Offset : 262144 sectors
>>    Super Offset : 8 sectors
>>           State : clean
>>     Device UUID : 933ec5c0:d6819e33:adb0e6c8:90e337bd
>>
>>     Update Time : Thu Nov 15 20:08:55 2012
>>        Checksum : b516984f - correct
>>          Events : 17
>>
>>          Layout : near=2
>>      Chunk Size : 512K
>>
>>    Device Role : Active device 0
>>    Array State : AAAA ('A' == active, '.' == missing)
>> /dev/sdb1:
>>           Magic : a92b4efc
>>         Version : 1.2
>>     Feature Map : 0x0
>>      Array UUID : db9e3115:556a49db:27c42d30:02657472
>>            Name : mint:0  (local to host mint)
>>   Creation Time : Thu Nov 15 16:08:02 2012
>>      Raid Level : raid10
>>    Raid Devices : 4
>>
>>  Avail Dev Size : 1952212992 (930.89 GiB 999.53 GB)
>>      Array Size : 1952211968 (1861.77 GiB 1999.07 GB)
>>   Used Dev Size : 1952211968 (930.89 GiB 999.53 GB)
>>     Data Offset : 262144 sectors
>>    Super Offset : 8 sectors
>>           State : clean
>>     Device UUID : 9d6df7c7:ce401405:4ea18763:a528ecc5
>>
>>     Update Time : Thu Nov 15 20:08:55 2012
>>        Checksum : 3103c408 - correct
>>          Events : 17
>>
>>          Layout : near=2
>>      Chunk Size : 512K
>>
>>    Device Role : Active device 1
>>    Array State : AAAA ('A' == active, '.' == missing)
>> /dev/sdd1:
>>           Magic : a92b4efc
>>         Version : 1.2
>>     Feature Map : 0x0
>>      Array UUID : db9e3115:556a49db:27c42d30:02657472
>>            Name : mint:0  (local to host mint)
>>   Creation Time : Thu Nov 15 16:08:02 2012
>>      Raid Level : raid10
>>    Raid Devices : 4
>>
>>  Avail Dev Size : 1953259520 (931.39 GiB 1000.07 GB)
>>      Array Size : 1952211968 (1861.77 GiB 1999.07 GB)
>>   Used Dev Size : 1952211968 (930.89 GiB 999.53 GB)
>>     Data Offset : 262144 sectors
>>    Super Offset : 8 sectors
>>           State : clean
>>     Device UUID : fa1a1b82:989e933a:95e4d249:5cee901d
>>
>>     Update Time : Thu Nov 15 20:08:55 2012
>>        Checksum : 5ea6d02d - correct
>>          Events : 17
>>
>>          Layout : near=2
>>      Chunk Size : 512K
>>
>>    Device Role : Active device 2
>>    Array State : AAAA ('A' == active, '.' == missing)
>> /dev/sde1:
>>           Magic : a92b4efc
>>         Version : 1.2
>>     Feature Map : 0x0
>>      Array UUID : db9e3115:556a49db:27c42d30:02657472
>>            Name : mint:0  (local to host mint)
>>   Creation Time : Thu Nov 15 16:08:02 2012
>>      Raid Level : raid10
>>    Raid Devices : 4
>>
>>  Avail Dev Size : 1952212992 (930.89 GiB 999.53 GB)
>>      Array Size : 1952211968 (1861.77 GiB 1999.07 GB)
>>   Used Dev Size : 1952211968 (930.89 GiB 999.53 GB)
>>     Data Offset : 262144 sectors
>>    Super Offset : 8 sectors
>>           State : clean
>>     Device UUID : 594ed481:471ef11a:027f1c24:6f9d057d
>>
>>     Update Time : Thu Nov 15 20:08:55 2012
>>        Checksum : 786bd4bc - correct
>>          Events : 17
>>
>>          Layout : near=2
>>      Chunk Size : 512K
>>
>>    Device Role : Active device 3
>>    Array State : AAAA ('A' == active, '.' == missing)
>>
>
> This all looks like it should work.
>
> Please try "mdadm -v --assemble /dev/md0 /dev/sd[abde]1" and show the
> output.  If it doesn't work, also show "cat /proc/mdstat" and "dmesg".
>
> Phil
>
--
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