Re: sd: protection difficulties

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

 



>>>>> "Doug" == Douglas Gilbert <dgilbert@xxxxxxxxxxxx> writes:

Doug,

Doug> Now with zeros filling the user data part of each logical block
Doug> and a LB guard field of 0xffffffff that means any attempt to read
Doug> a LB before it is written will result in an error like this [lk
Doug> 3.1.0]:
Doug>  sd 6:0:0:0: [sdb]
Doug>    Target Data Integrity Failure
Doug>     Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Sense Key :
Doug>     Aborted Command [current] Add. Sense: Logical block guard
Doug>     check failed CDB: Read(10): 28 20 00 00 00 00 00 00 08 00
Doug>     end_request: I/O error, dev sdb, sector 0

I'm guessing you are using an mpt2sas with recent firmware? LSI changed
behavior to always check PI even when the app tag contains 0xFFFF (which
means "don't check" this block).

I have some patches that LSI haven't signed off on yet. Which is why I
haven't posted them...

-- 
Martin K. Petersen	Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux