Re: accidently pulled to many devices, raid6 wont start.

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

 



On 12/05/2013 04:48 PM, Wilson Jonathan wrote:
Still the same problem, lists non partitioned space, unknown, unknown,
un partitioned.

I wonder if the problem is because i'm not re-creating it with bitmap
file, which is listed as starting 8 sectors from superblock, so with it
not being there the partition table is being read from this space and
not further along the space.

The bitmap is supposed to be in the gap between data and superblock.


Infact, looking at the re-created superblock there is a change...

/dev/sde6:
           Magic : a92b4efc
         Version : 1.2
     Feature Map : 0x0
      Array UUID : 1c413162:25c7b4af:7b305603:1ce49fed
            Name : BorgCUBE:5  (local to host BorgCUBE)
   Creation Time : Thu Dec  5 00:28:11 2013
      Raid Level : raid6
    Raid Devices : 6

  Avail Dev Size : 1833309583 (874.19 GiB 938.65 GB)
      Array Size : 3666617344 (3496.76 GiB 3754.62 GB)
   Used Dev Size : 1833308672 (874.19 GiB 938.65 GB)
     Data Offset : 262144 sectors
    Super Offset : 8 sectors
           State : clean
     Device UUID : de841586:f82b22ed:1a234ae7:57fbb36a

     Update Time : Thu Dec  5 00:28:11 2013
        Checksum : 9dcbeec1 - correct
          Events : 0

          Layout : left-symmetric
      Chunk Size : 64K

The "data offset" is 262144 where as the sdc (original) is 2048

Seems to be a new mdadm version with different default values. Another reason not to use '--create' unless there is really no other way. Try to add --data-offset=1M.


Cheers,
Bernd


PS: Btw, for assemble the order of devices doesn't matter, the kernel know the correct order from their superblocks...
--
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