Re: My first attempt to use btrfs failed miserably

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

 



On Sun, Feb 2, 2020 at 11:28 PM Skibbi <skibbi@xxxxxxxxx> wrote:
>
> pon., 3 lut 2020 o 00:34 Zygo Blaxell <ce3g8jdj@xxxxxxxxxxxxxxxxxxxxx>
> napisał(a):
> >
> > Same here, except I have seen problems as well as successes.  Some hints:
> >
> > The log is incomplete but there is some evidence of USB disconnects.
> > These are bad.  Fix those before you try to use this hardware to store
> > data.
>
> Yeah, I found out some errors in dmesg suggesting this:
> [  370.569700] usb 2-1: reset SuperSpeed Gen 1 USB device number 2
> using xhci_hcd
> [  428.820969] usb 2-1: reset SuperSpeed Gen 1 USB device number 2
> using xhci_hcd
> [  473.621875] usb 2-1: reset SuperSpeed Gen 1 USB device number 2
> using xhci_hcd
> [  618.254211] usb 2-1: reset SuperSpeed Gen 1 USB device number 2
> using xhci_hcd
> [  664.334958] usb 2-1: reset SuperSpeed Gen 1 USB device number 2
> using xhci_hcd

I get these with a very common USB-SATA enclosure bridge chipset,
plugged directly into an Intel NUC. I also sometimes see dropped
writes. When I use a Dyconn USB hub (externally powered) it never
happens. I'm not a USB expert, but my understanding is a hub isn't a
simple thing, it's reading and rewriting the whole stream to and from
host and device. So any peculiarities between them tend to get cleaned
up.

> Yeah, WD Passport Drives are using USB-SATA. I will experiment a bit
> more with that.

It might be defaulting to using the Linux kernel's uas driver, there's
a way to blacklist that if it's causing problems. I have yet another
enclosure that gives me fits with uas driver, but again no problem if
connected through the hub.


> Yeah, I need to check if my Pi is not having power issues under heavy
> load (save data on encrypted partition).

A laptop drive will draw more than 1A on startup. And about 0.3A while
spinning and writing. That's quite a lot, hence also why I stick it on
a hub with an external power supply.


-- 
Chris Murphy




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux