I am having problems making nand-sata-install script work for installing to my external HDD.
I used this (or similar) script in the past on loboris' images and it was working. After some time and experimenting with other images etc. I settled on Armbian, everything worked great, until I started the same script. I made 30 ish GB partition for the system and leave the rest as NTFS storage partition for mounting it later on the OS. But with armbian's script, i couldn't get my HDD to work with it.
I am choosing to boot from sd and system from USB (sata) option, choosing the correct partition (/dev/sda2 in this example) and starting the process but it fails when it copies everything over to HDD. At around 6 to 10 percent.
Errors i am getting are from rsync, it throws up bunch of lines for every file it tries to copy, stating destination filesystem is read-only. rsync errors 23, 27 and 30.
error lines on dmesg shows these for bunch of blocks "Buffer I/O error on device sda2, logical block 4752419"
So i figured maybe my HDD was failing (it was bought 3 years ago, not that old) I connected it to SeaTools and it gave some errors, S.m.a.r.t data was showing some errors so i sent it to Seagate for a RMA.
I received my new HDD today, and getting the same damn errors as above. Seatools shows everthing is OK and s.m.a.r.t data is OK too.
What is the problem in this case? Is the 2nd HDD i received is faulty too or am i doing something wrong?
Sorry for my bad English.