Re: RAID1 scrub ignoring read errors?

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

 



Hey Phil,

BTW - your smartctl gists are gone

All content I posted is still at:

  https://gist.github.com/nh2/db886f3afbbb4b186aa5088ca2782c06

The only thing that changed is the `#anchor` part because I renamed the files to distinguish `-a` and `--xall` output more clearly.

Hmmm.  I just went back through the thread and I don't see your
partition tables posted anywhere.  Is there any chance this array
predates 4k sector drives and has been upgraded to 4k physical/ 512B
logical drives?  With a non-aligned partition?  That would cause MD's
sector re-writes to fail, as the drive would have to turn them into
read-modify-write cycles across two actual sectors.

    # fdisk -l
    Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: DBDA662C-B0D1-489B-B863-01852D7837EC

    Device      Start        End    Sectors  Size Type
    /dev/sda1  409600 5860524976 5860115377  2,7T Linux filesystem
    /dev/sda2    2048       4096       2049    1M BIOS boot

    Partition table entries are not in disk order.


    Disk /dev/sdb: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: FE4FD612-1C70-4A9E-9BC4-6C3DCDDA37EB

    Device      Start        End    Sectors  Size Type
    /dev/sdb1  409600 5860524976 5860115377  2,7T Linux filesystem
    /dev/sdb2    2048       4096       2049    1M BIOS boot

    Partition table entries are not in disk order.

As far as I remember, this is how I set up the partitions originally and never changed them.

Puzzling also as to why md didn't re-write that sector
Hmmm.

I've just posted a small clarification in response to Brad's email (likely it did re-write that sector), please have a look!

Niklas



[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