01-01-2018, 09:06 AM
(This post was last modified: 01-01-2018, 03:47 PM by freeloader.)
By way of update: the problem is not so much with connecting the hard drives, but starts as soon as I mount these drives. My hypothesis is that Seagate stores a bunch of stuff on the first (boot) sectors of the hard drives which causes I/O errors. The drives had two partitions on them out of the box: a 128MB partition and a second partition with the remainder of the drives.
Attempt #2 (repeated for each HD): set up a new partition table and start the new partition after the first 128MB. Alternatively, you could zero the first 128MB of the drives -- my guess is that would work the same (while wasting less space), but I wanted a quick workaround.
I'll get back if that does not work.
Later edit: confirmed, this solved it.
Attempt #2 (repeated for each HD): set up a new partition table and start the new partition after the first 128MB. Alternatively, you could zero the first 128MB of the drives -- my guess is that would work the same (while wasting less space), but I wanted a quick workaround.
Code:
Step 1: find drive identifiers
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
Drive will show up as /dev/sda or similar.
STEP 2: create new partition table
sudo parted /dev/sd[?] mklabel gpt
STEP 3: boot up parted
sudo parted --align optimal /dev/sd[?]
STAP 3: partition starting at 1% (using percentages to ensure optimal alignment -- you could also zero the first 128MB and save more space by starting the partition at 0%)
mkpart primary ext4 1% 100%
STAP 4: check
align-check optimal 1
STAP 5: stop parted
quit
I'll get back if that does not work.
Later edit: confirmed, this solved it.