Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 18:16:54 +0100
From:      Bengt Ahlgren <bengt.ahlgren@ri.se>
To:        <freebsd-fs@FreeBSD.org>
Subject:   "PI - Protection Information" drives?
Message-ID:  <uh7y3j6zbll.fsf@P142s.sics.se>

next in thread | raw e-mail | index | archive | help
I've recently gotten a (Dell-branded) Seagate drive which seems to be
formatted with something called "Protection Information (PI) type 2".

CDB read/write commands of size 6 seems to work, but any read/write
commands of size 10 (or larger) do not work:

(da20:mps0:0:11:0): READ(10). CDB: 28 00 00 00 00 00 00 01 00 00 
(da20:mps0:0:11:0): CAM status: SCSI Status Error
(da20:mps0:0:11:0): SCSI status: Check Condition
(da20:mps0:0:11:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
(da20:mps0:0:11:0): Error 22, Unretryable error

smartctl output says:

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST600MM0238
Revision:             BS04
Compliance:           SPC-4
User Capacity:        600,127,266,816 bytes [600 GB]
Logical block size:   512 bytes
Formatted with type 2 protection
LU is fully provisioned
Rotation Rate:        10000 rpm
Form Factor:          2.5 inches
Logical Unit id:      XXX
Serial number:        YYY
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Mar  5 17:54:09 2018 CET
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported
Read Cache is:        Enabled
Writeback Cache is:   Disabled

Any advice?  Does this "Protection Information" work at all with
FreeBSD?  Or do I simply need to reformat the drive without this "PI"
stuff?

Bengt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?uh7y3j6zbll.fsf>