Hi, my router is an old TD-W8970 with OpenWrt 23.05.5 (r24106-10cc5fcd00).
I connected 2 usb drives (after installing the required packages):
- one for EXTROOT (sda/sda1)
- one as external storage (sdb/sdb1) already formatted with NTFS
EXTROOT (sda/sda1) is working well.
The problem is that I cannot mount sdb/sdb1 with kmod-fs-ntfs3; instead, if I use ntfs-3g, I managed to mount it with no problem.
This is the error I get:
# mount -t ntfs3 -o rw /dev/sdb1 /mnt/sdb1
mount: mounting /dev/sdb1 on /mnt/sdb1 failed: Invalid argument
# dmesg | grep ntfs3
[ 20.828517] ntfs3: Enabled Linux POSIX ACLs support
[ 27.552509] ntfs3: sdb1: failed to replay log file. Can't mount rw!
[ 31.129953] ntfs3: sdb1: failed to replay log file. Can't mount rw!
[36730.907752] ntfs3: sdb1: failed to replay log file. Can't mount rw!
[39261.090915] ntfs3: sdb1: failed to replay log file. Can't mount rw!
[39378.356187] ntfs3: sdb1: failed to replay log file. Can't mount rw!
I tried to follow the procedure described [here] to clear dirty page on the disk(https://openwrt.org/docs/guide-user/storage/writable_ntfs#trouble_shooting) with no positive result on mounting:
# ntfsfix -d /dev/sdb1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.
This is the overall situation:
# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=usb-storage, 480M
# ls -al /dev/sd*
brw------- 1 root root 8, 0 Jan 1 1970 /dev/sda
brw------- 1 root root 8, 1 Jan 1 1970 /dev/sda1
brw------- 1 root root 8, 16 Jan 1 1970 /dev/sdb
brw------- 1 root root 8, 17 Jan 1 1970 /dev/sdb1
# block info | grep "/dev/sd"
/dev/sda1: UUID="7b7405e9-7ceb-42d2-a4af-144ae274d4fd" LABEL="extroot" VERSION="1.0" MOUNT="/overlay" TYPE="ext4"
/dev/sdb1: UUID="01DB6D1AAC9C66F0" LABEL="CACOHD" TYPE="ntfs"
# cat /etc/config/fstab
config global
option anon_swap '0'
option anon_mount '1'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config mount
option target '/overlay'
option uuid '7b7405e9-7ceb-42d2-a4af-144ae274d4fd'
option enabled '0'
config mount
option target '/mnt/sdb1'
option uuid '01DB6D1AAC9C66F0'
option enabled '1'
What could be the problem?
Thanks in advance for the support.