From owner-freebsd-fs@freebsd.org Mon Mar 5 17:17:54 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FF05F40DAB for ; Mon, 5 Mar 2018 17:17:54 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from se-out1.mx-wecloud.net (se-out1.mx-wecloud.net [89.221.255.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mx-wecloud.net", Issuer "GeoTrust SHA256 SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17AD18468F for ; Mon, 5 Mar 2018 17:17:53 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from sp-mail-3.sp.se (unknown [194.218.146.197]) by se-out1.mx-wecloud.net (Postfix) with ESMTPS id C85B3205383 for ; Mon, 5 Mar 2018 17:17:43 +0000 (UTC) Received: from P142s.sics.se (10.116.0.226) by sp-mail-3.sp.se (10.100.0.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 5 Mar 2018 18:17:44 +0100 Received: (from bengta@localhost) by P142s.sics.se (8.15.2/8.15.2/Submit) id w25HGtFL006558; Mon, 5 Mar 2018 18:16:55 +0100 (CET) (envelope-from bengt.ahlgren@ri.se) X-Authentication-Warning: P142s.sics.se: bengta set sender to bengt.ahlgren@ri.se using -f From: Bengt Ahlgren To: Subject: "PI - Protection Information" drives? User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) Date: Mon, 5 Mar 2018 18:16:54 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.116.0.226] X-ClientProxiedBy: sp-mail-3.sp.se (10.100.0.163) To sp-mail-3.sp.se (10.100.0.163) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=cdiiljLM c=1 sm=1 tr=0 a=L5DDne6A+dD0FbDkt2Fblw==:117 a=L5DDne6A+dD0FbDkt2Fblw==:17 a=sZ8rJzgPlrQA:10 a=v2DPQv5-lfwA:10 a=sq00Bc2Utgu_OoRDXvAA:9 a=rLUZ03C7qZVs2rH-:21 a=Bc_q9Cznz1F_rGEM:21 X-Virus-Scanned: clamav-milter 0.99.3 at MailSecurity X-Virus-Status: Clean X-MailSecurity-Status: 0 X-Scanned-By: WeCloud MailSecurity X-MailSecurity-Score: 0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 17:17:54 -0000 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