Date: Thu, 26 Nov 2020 19:37:47 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Gary Jennejohn <gljennjohn@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: possible usb3-connected hard drive spin down causing lag Message-ID: <B9FACC7C-E092-4F07-B428-C3C001C8D16D@FreeBSD.org> In-Reply-To: <20201126182108.4314a0aa@ernst.home> References: <X77ygGTS09S91bTC@rpi4.local> <20201126080724.1cb3a8af@ernst.home> <CANCZdfr1wbUY_KxyCca8DDR4b6RVpmp6gN-e3ExKcdHSzJFFbQ@mail.gmail.com> <20201126091206.0dcd5b33@ernst.home> <20201126121623.31ea2cd3@bsd64.grem.de> <CANCZdfp6G6h7-Hk%2BbsNVnx2ziJ9XppgbjLvv3QZZw-szaE64Ug@mail.gmail.com> <20201126182108.4314a0aa@ernst.home>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_FC6D5932-8C69-48B3-B0D4-26A69E83FB2C Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 26 Nov 2020, at 19:21, Gary Jennejohn <gljennjohn@gmail.com> wrote: > > On Thu, 26 Nov 2020 10:44:19 -0700 > Warner Losh <imp@bsdimp.com> wrote: ... >>> Example: >>> >>> /sbin/camcontrol standby /dev/da2 -v -t 1800 >> >> >> Perfect! I've not had to deal with sata disks that did this since the >> ataidle days. I looked in camcontrol before suggesting it, but somehow >> missed this... Glad I posted a bogus answer (sorry about that), since I >> learned something new. >> > > camcontrol unfortuantely doesn't work with my USB3 enclosures. I > suspect that the USB3-to-SATA bridge controller is doing its own thing > and camcontrol has no effect on its behavior. Not tragic for me since > I use these disks primarily for backups. But for someone using a USB > attached disk as a primary file system this behavior will definitely be > a PITA. In this case it's about ATA commands being passed though the USB bridge. Does "camcontrol identify daX" fail in your case too? I have used quite a bunch of different USB disks, mostly from WD or Seagate, and these come with varying qualities of USB-SATA bridges in them. But all of them work with "camcontrol identify". -Dimitry --Apple-Mail=_FC6D5932-8C69-48B3-B0D4-26A69E83FB2C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX7/1+wAKCRCwXqMKLiCW o9RXAKCsEOwoEKZMwpR2zU0NjEnGlJEDVgCg38hOaNkpigZt2GSZOPlJceaLUP4= =MGlp -----END PGP SIGNATURE----- --Apple-Mail=_FC6D5932-8C69-48B3-B0D4-26A69E83FB2C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9FACC7C-E092-4F07-B428-C3C001C8D16D>