Problem: I’m having problems with USB Hard drives docking where I drop in “naked hard drives” loosing the partition tables when using one USB Hard drives docking vs another one.
Situation: I have a laptop with 2 usb toasters (blacx and ugreen). I use them mostly for backup purposes. The hard drives are all formatted EXT4 and it works properly as long as the usb hard drive docking stays the same.
If I use any hard drive formatted in the BlacX on the ugreen, the drive will be recognized but not mounted because it can’t find the partition table. The data is still there, gparted can recreate the partition table from the data. And it’s the same if I use a drive formatted in the ugreen on the blacx.
Right now I use ‘stickies’ to keep track of which drive was formatted on what… Any suggestion on what to do?
I would say that when one has problems with a partition tables, that it is then important to look at those partition tables.
With both devices connected (and as root):
fdisk -l
lsblk -f
Also you comlpain that a file system is not mounted. How is the mount procedure? Are they in /etc/fstab and/or are you using a mount command. When a mount command, then also post that with all the output.
Notice that line “Sector size (logical/physical): 512 bytes / 4096 bytes”
I have an external disk container which, if I use that, gives me:
“Sector size (logical/physical): 4096 bytes / 4096 bytes”
And, if I use that, I see the same problem you are describing. It is that mismatch of logical sector size that causes the problem. I’m guessing that’s also what is causing your problem. The physical sector size is what is on the actual drive. The logical sector size depends on mapping done by the disk container.
I pretty much don’t use that bad external disk container. I still keep it around, because it happens to also support IDE drives. I no longer have any computers with IDE drives, so I should probably just toss it.
Yes, it would also still work for smaller SATA drives with 512 byte physical sectors. But I don’t think they make those anymore, and I don’t have any sitting around.