NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Rescanning ahcisata* or atabus* for eSATA



On Sun, Jul 28, 2019 at 03:59:43PM -0000, Michael van Elst wrote:
> tlaronde%polynum.com@localhost writes:
> 
> >I can detach with:
> 
> ># drvctl -d wd?
> 
> This will also try to detach the wedges, which fails if a wedge is
> still mounted (or opened somehow).
> 
> >But I tried the reverse operation: trying to rescan the bus.
> 
> >On ahcisata?, this is EOPNOTSUPP.
> >On atabus?, this is EINVAL.
> 
> atabus has multiple attachment points. You need to rescan with
> the attribute ata_hl, i.e:
> 
> drvctl -r -a ata_hl atabus1

Thank you (someone has also kindly pointed me to the man page where this
is explicitely stated in the EXAMPLES paragraph---I totally missed
this!)

I will now be able to compare the attachment of a same disk with two
differing connections: SATA (eSATA) and USB (BOT? UAS? UASP?) for 3
areas:
	- commands available (for example SMART seems to be only available
	if SATA connected);
	- speed;
	- reliability.

Best,
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index