Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 18:55:33 +0100
From:      Bengt Ahlgren <bengt.ahlgren@ri.se>
To:        Karli =?iso-8859-1?Q?Sj=F6berg?= <karli@inparadise.se>
Cc:        <freebsd-fs@FreeBSD.org>
Subject:   Re: "PI - Protection Information" drives?
Message-ID:  <uh7tvtuz9t6.fsf@P142s.sics.se>
In-Reply-To: <c5edead3-47b6-400e-9230-aaa0574bbb25@email.android.com> ("Karli =?iso-8859-1?Q?Sj=F6berg=22's?= message of "Mon, 5 Mar 2018 18:27:33 %2B0100 (CET)")
References:  <uh7y3j6zbll.fsf@P142s.sics.se> <c5edead3-47b6-400e-9230-aaa0574bbb25@email.android.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Karli Sj=F6berg <karli@inparadise.se> writes:

> Den 5 mars 2018 18:19 skrev Bengt Ahlgren <bengt.ahlgren@ri.se>:
>
>  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=20
>  (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 comman=
d operation code)
>  (da20:mps0:0:11:0): Error 22, Unretryable error
>
>  smartctl output says:
>
>  =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D
>  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?
>
> Had this problem except they were IBM branded. After much googling I foun=
d this:
> https://forums.freenas.org/index.php?threads/scsi-errors-unable-to-wipe-d=
rives-9240-9211-w-ibm-seagate-disks.43453/#post-287162
>
>
> PIA if you ask me :)

Thanks for the pointer!

Do I need that sg_format utility, or will camcontrol format also do the
right thing?

Bengt



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