I have found several threads with a very similar problem: various HDDs couldn't be mounted on the RT-N66R running Asuswrt-Merlin.
In my case, it was running 380.58, but I just upgraded to 380.59. Both versions behave the same way.
According to the logs, The disk gets mounted first and then gets umounted.
But what is weird that even when I disconnect the drive, the logs keep showing endless records:
Jul 5 21:40:36 kernel: scsi 1:0:0:0: rejecting I/O to dead device
Jul 5 21:40:36 kernel: scsi 1:0:0:0: rejecting I/O to dead device
It is occasionally interrupted by records like these:
Jul 5 21:40:36 kernel: printk: 599 messages suppressed.
Jul 5 21:40:36 kernel: Buffer I/O error on device sdb1, logical block 425681968
just to continue:
Jul 5 21:40:36 kernel: scsi 1:0:0:0: rejecting I/O to dead device
It looks like some process gets stuck running on the server (is it some type of partition scanner that starts once the disk is unmounted)?
Here is the log excerpt of when the disk is first connected:
Jul 5 20:50:51 kernel: scsi 2:0:0:0: Direct-Access SAMSUNG HD204UI PQ: 0 ANSI: 4
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] 3907029168 512-byte hardware sectors (2000399 MB)
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Write Protect is off
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
Jul 5 20:50:51 kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Jul 5 20:50:52 usb: USB /dev/sdb1(ntfs) failed to mount At the first try!
Jul 5 20:50:52 kernel: ufsd: use builtin utf8 instead of kernel utf8
Jul 5 20:50:55 usb: USB ntfs fs at /dev/sdb1 mounted on /tmp/mnt/Iomega_HDD.
Jul 5 20:50:55 kernel: ufsd: sdb1 without journal
Jul 5 20:50:56 asusware: umount partition /dev/sdb1...
Jul 5 20:50:56 disk monitor: unmount partition
Jul 5 20:50:57 syslog: USB partition unmounted from /tmp/mnt/Iomega_HDD
Jul 5 20:50:57 asusware: Automatically scan partition /dev/sdb1...
Jul 5 20:50:57 disk monitor: scan partition
In my case, it was running 380.58, but I just upgraded to 380.59. Both versions behave the same way.
According to the logs, The disk gets mounted first and then gets umounted.
But what is weird that even when I disconnect the drive, the logs keep showing endless records:
Jul 5 21:40:36 kernel: scsi 1:0:0:0: rejecting I/O to dead device
Jul 5 21:40:36 kernel: scsi 1:0:0:0: rejecting I/O to dead device
It is occasionally interrupted by records like these:
Jul 5 21:40:36 kernel: printk: 599 messages suppressed.
Jul 5 21:40:36 kernel: Buffer I/O error on device sdb1, logical block 425681968
just to continue:
Jul 5 21:40:36 kernel: scsi 1:0:0:0: rejecting I/O to dead device
It looks like some process gets stuck running on the server (is it some type of partition scanner that starts once the disk is unmounted)?
Here is the log excerpt of when the disk is first connected:
Jul 5 20:50:51 kernel: scsi 2:0:0:0: Direct-Access SAMSUNG HD204UI PQ: 0 ANSI: 4
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] 3907029168 512-byte hardware sectors (2000399 MB)
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Write Protect is off
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jul 5 20:50:51 kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
Jul 5 20:50:51 kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Jul 5 20:50:52 usb: USB /dev/sdb1(ntfs) failed to mount At the first try!
Jul 5 20:50:52 kernel: ufsd: use builtin utf8 instead of kernel utf8
Jul 5 20:50:55 usb: USB ntfs fs at /dev/sdb1 mounted on /tmp/mnt/Iomega_HDD.
Jul 5 20:50:55 kernel: ufsd: sdb1 without journal
Jul 5 20:50:56 asusware: umount partition /dev/sdb1...
Jul 5 20:50:56 disk monitor: unmount partition
Jul 5 20:50:57 syslog: USB partition unmounted from /tmp/mnt/Iomega_HDD
Jul 5 20:50:57 asusware: Automatically scan partition /dev/sdb1...
Jul 5 20:50:57 disk monitor: scan partition