On 24.02.2019 19:42, Mark Allums wrote:
On 2/20/19 3:20 AM, Alexander V. Makartsev wrote:I've tried to reproduce your problem using external USB-SATA adapter (based on JMicron chipset) and working 160Gb HDD, that I dug up from the heap of retired drives. Long story short I wasn't able to reproduce this behavior. There wasn't any interference from kernel\GIO\gvfsd\udisks2\fuse\xfce4-volman\YouNameIt that prevented me from mounting, unmounting, checking filesystem with e2fsck or completely re-creating ext4 filesystem, as long as filesystem wasn't mounted. gvfsd and xfce4-volman were aware that 160Gb drive was connected and icon for it appeared in file manager (Thunar), but they did not prevented me from working with the drive's partition table and filesystems in any way. Kernel was automatically updated about changed partition tables and partitions after gdisk finished its work. Everything was straightforward without having to fiddle with any special commands to control any sub-systems. I've tested this on my main PC with Debian 9 'stretch' and Xfce, which has everything installed to work with all sorts of dynamically mountable hardware from USB thumb drives to cellphones and digital cameras. AFAICR there wasn't anything changed from default settings to get this functionality, only necessary packages were installed from official Debian repos. At this point I'm guessing that you got a bug that introduces abnormal behavior preventing you from working with the dock and\or large drive and I don't think you can solve it just by typing some commands. Maybe dock's USB-SATA controller is not 100% compatible with Linux and\or has some hardware\firmware quirks that has to be patched up in kernel, etc. You need to test the drive with ordinary SATA connection to be sure it is working fine without USB dock adapter on "martha" host. After that I'd try to test it within Live environment, like SystemRescueCd [1] and try other drive with less capacity (under 2TB) with the same dock on "martha" host. [1] http://www.system-rescue-cd.org/ -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄⠀⠀⠀⠀ |