"PI - Protection Information" drives?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

"PI - Protection Information" drives?

Bengt Ahlgren-2
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
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: "PI - Protection Information" drives?

freebsd-fs mailing list

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: "PI - Protection Information" drives?

Bengt Ahlgren-2
Karli Sjöberg <[hidden email]> writes:

> Den 5 mars 2018 18:19 skrev Bengt Ahlgren <[hidden email]>:
>
>  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?
>
> Had this problem except they were IBM branded. After much googling I found this:
> https://forums.freenas.org/index.php?threads/scsi-errors-unable-to-wipe-drives-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
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: "PI - Protection Information" drives?

freebsd-fs mailing list

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: "PI - Protection Information" drives?

Arthur Ramsey
In reply to this post by Bengt Ahlgren-2
It should work fine with FreeBSD but I haven't tried.  I've had the same
issue when using PI Type 2 protected disk from another system and just
removed it since other disks didn't have it enabled.

sg_format -v --format --fmtpinfo=0 /dev/...




This e-mail and any attachments may contain CONFIDENTIAL information, including PROTECTED HEALTH INFORMATION. If you are not the intended recipient, any use or disclosure of this information is STRICTLY PROHIBITED; you are requested to delete this e-mail and any attachments, notify the sender immediately, and notify the Mediture Privacy Officer at [hidden email].

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: "PI - Protection Information" drives?

Bengt Ahlgren-2
In reply to this post by freebsd-fs mailing list
Karli Sjöberg <[hidden email]> writes:

> Den 5 mars 2018 18:56 skrev Bengt Ahlgren <[hidden email]>:
>
>  Karli Sjöberg writes:
>
>  > Den 5 mars 2018 18:19 skrev Bengt Ahlgren :
>  >
>  > 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?
>  >
>  > Had this problem except they were IBM branded. After much googling I found this:
>  >
>  https://forums.freenas.org/index.php?threads/scsi-errors-unable-to-wipe-drives-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
>
> No idea, but the 'sg_format' utility is part of the 'sg3_utils' package, so it's easy enough to
> come by.

Tried sg_format - it did the trick!  Thanks again!

Bengt
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Message formats (was: "PI - Protection Information" drives?)

Greg 'groggy' Lehey-3
In reply to this post by freebsd-fs mailing list
On Monday,  5 March 2018 at 19:01:05 +0100, Karli Sjöberg via freebsd-fs wrote:
>

That's all there was.  Bengt seems to have seen more, so my guess is
that you sent a message in HTML-only format, and the FreeBSD lists
strip HTML attachments.

It would be nice if you would include legible plain text parts.  Then
you could drop the HTML too.

Greg
--
Sent from my desktop computer.
Finger [hidden email] for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

signature.asc (169 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Message formats (was: "PI - Protection Information" drives?)

freebsd-fs mailing list


Greg 'groggy' Lehey <[hidden email]> skrev: (12 mars 2018 02:11:12 CET)

>On Monday,  5 March 2018 at 19:01:05 +0100, Karli Sjöberg via
>freebsd-fs wrote:
>>
>
>That's all there was.  Bengt seems to have seen more, so my guess is
>that you sent a message in HTML-only format, and the FreeBSD lists
>strip HTML attachments.
>
>It would be nice if you would include legible plain text parts.  Then
>you could drop the HTML too.

OK, how about now?

/K

>
>Greg
>--
>Sent from my desktop computer.
>Finger [hidden email] for PGP public key.
>See complete headers for address and phone numbers.
>This message is digitally signed.  If your Microsoft mail program
>reports problems, please read http://lemis.com/broken-MUA

--
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "[hidden email]"