Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2019 18:43:26 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        =?ISO-8859-2?Q?Domagoj_Smol=E8i=E6?= <rank1seeker@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: Device's "stolen" sector
Message-ID:  <alpine.BSF.2.20.1907161841340.6412@puchar.net>
In-Reply-To: <20190716182350.000054f8@gmail.com>
References:  <20190716182350.000054f8@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 16 Jul 2019, Domagoj Smolčić wrote:

> 11.2-RELEASE-p9
>
> Tested with >1 disks:
> --
> SATA disk connected directly with SATA cable to MBO, shows correct amount of sectors.
>    diskinfo -v ada1
>
> When I connect it to the same MBO over USB to SATA adapter, 1 sector is missing (the last one)
>    diskinfo -v da0
>
> Having last sector inaccessible is a huge problem as many "things" use it for a metadata.
> This has many times caused MBR disks occasionally to not be visible at all while being 'da0' (gpart: No such geom: da0.)
> And also GPT disks to be in a [CORRUPT] state upon reattach directly to SATA interface.
>
> Before submitting a bug, there is only 1 variable left that I can't test, because I have only 1 USB to SATA adapter.
> It might be a hardware issue, so can someone else test this too?
>
i have two external disk chassis with USB-SATA bridge, works just fine

recently connected through it disk that was geli encrypted when directly 
connected to server. geli worked so all is fine as geli header is in last 
sector

11.2-STABLE



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