Hi, i have an external USB samsung USB 3 drive. It works fine on my old router Asus RT-AC5300 running merlin. I bought another router on the weekend (D-Link DIR-2640 A1), installed OpenWrt on it (OpenWrt 22.03.3 r20028-43d71ad93e / LuCI openwrt-22.03 branch git-22.361.69894-438c598) along with HFSPlus drivers. I got the thing mounted, and then shared a drive. Finally got the read/write working as i had to put in a script in rc-login to unmount, do file check, and then remount
root@OpenWrt:/etc# cat rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
{
echo "*** Mounted dirs *************************"
ls /mnt
echo "*** Unmounting disk **********************"
umount /mnt/sda3
echo "*** Performing fsck **********************"
fsck.hfsplus /dev/sda3
echo "*** Remounting disk **********************"
mount -t hfsplus -o force,rw /dev/sda3 /mnt/sda3
echo "*************************"
} 2>&1 > /tmp/rc.local.logs
exit 0
root@OpenWrt:/etc#
now my problem is that i can grab files (usually approx 1 GB or bigger) from the drive no problem via the share. However, when i write a file larger than about 2K, the file copy just hangs, and no error. I thought might be the drive so i hooked it back up to the ASUS RT-AC5300, and no issues.
Is there an error log i can look at? I checked under status->System Log, but it doesn't have any hard drive errors in it. Perhaps it is because i am running HFSPlus drive with journal enabled?
Any help would be appreciated. Thanks in advance !
Jeremy