On 10/21/19 8:54 AM, Rich Shepard wrote:
On Mon, 21 Oct 2019, Ben Koenig wrote:
Your fstab config is fine. Nothing in the mount process should
trigger changes in the device node. At this point you need to
physically disconnect the drive and reboot the computer.
Ben,
Here's what /var/log/messages shows (this is the most recent of
several this
morning):
Oct 21 08:03:03 salmo kernel: [179083.477794] usb 1-14: USB
disconnect, device number 107
Oct 21 08:03:03 salmo kernel: [179083.762490] usb 1-14: new high-speed
USB device number 108 using xhci_hcd
Oct 21 08:03:04 salmo kernel: [179083.950018] usb 1-14: New USB device
found, idVendor=13fd, idProduct=1640
Oct 21 08:03:04 salmo kernel: [179083.950025] usb 1-14: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Oct 21 08:03:04 salmo kernel: [179083.950029] usb 1-14: Product:
HUA723020ALA641 Oct 21 08:03:04 salmo kernel: [179083.950033] usb
1-14: Manufacturer: Initio Oct 21 08:03:04 salmo kernel:
[179083.950036] usb 1-14: SerialNumber: 00101016400002A5W
Oct 21 08:03:04 salmo kernel: [179083.954077] usb-storage 1-14:1.0:
USB Mass Storage device detected
Oct 21 08:03:04 salmo kernel: [179083.954391] scsi host231:
usb-storage 1-14:1.0
Oct 21 08:03:04 salmo mtp-probe: checking bus 1, device 108:
"/sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-14" Oct 21
08:03:04 salmo mtp-probe: bus: 1, device: 108 was not an MTP device
Oct 21 08:03:05 salmo kernel: [179084.961409] scsi 231:0:0:0:
Direct-Access Initio HUA723020ALA641 1.43 PQ: 0 ANSI: 0
Oct 21 08:03:05 salmo kernel: [179084.961840] sd 231:0:0:0: [sdc]
3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
Oct 21 08:03:05 salmo kernel: [179084.963301] sd 231:0:0:0: [sdc]
Write Protect is off
Oct 21 08:03:05 salmo kernel: [179084.973443] sdc: sdc1
Oct 21 08:03:05 salmo kernel: [179084.979258] sd 231:0:0:0: [sdc]
Attached SCSI disk
In none of the earlier mountings of the external drive was it seen as
/dev/sdd.
What's really strange is the log showing it being attached, detached, and
re-attached repeatedly since yesterday morning just after logs
rotated. The
string "New USB device" was found 270 times in /var/log/messages. It's
not
been mounted all that time.
I suspect it's the external case. Are there any ways of testing this?
Yes, that's what concerns me. USB devices are designed to be
hotpluggable, so they tend not to stay connected. Host controllers often
reset themselves too, which forces a reset of any devices connected to it.
My guess is that your device is disconnecting, and then reconnecting
faster than your kernel can remove sdc, creating a duplicate instance of
sdd. sdc is then removed, but sdd persists, causing what we as humans
perceive as "confusion". This all happens in the space of milliseconds.
Good things to try are using a fresh USB cable, moving to a different
port, and performing a complete power cycle (of all devices) to revert
everything to a "known good state".
So to test, make a list of all physical components between you and the
data, and try swapping them out until the problem goes away. Usually
what you'll find is that one of your USB cables or ports is failing,
which is easy to fix. If you verify that all of your hardware is
functioning properly, then its 100% a software problem.
Out of curiosity, what USB enclosure do you have? Got a model#?
_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug