You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-OpenWrt 19.07.x and Master, ntfs-3g, kmod-fs-ntfs
-Issue: using a USB 3.0 external drive, formatted for NTFS, it mounts as "ntfs" "ro" every time regardless of LuCI configuration in System > Mount Points. With this bug the drive cannot be written to as it needs the "rw" option for NTFS.
As per the manpages I set the file system from auto to "ntfs-3g" and "rw" (read write) under options, then when remounting it immediately goes back to "auto" and "ro" (read only). If you SSH into the router and run mount, it confirms that it incorrectly mounts as ro:
mount /dev/sda1 on /mnt/sda1 type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=iso8859-1,errors=continue,mft_zone_multiplier=1)
Work-around: SSH in and umount it with "umount -l /dev/sda1", then remount it with "ntfs-3g /dev/sda1 /mnt/sda1 -o rw".
Once mounted this way the drive reads at 60-80MB/s and writes at 30-40MB/s. Almost half the speed of the stock Linksys firmware which uses kernel 4.4.14, but it does work. The stock firmware also handles all this with one click, so there must be a simple config that works. The bug may be in LuCI but I suspect it's deeper than that. After rebooting, all of these settings are lost despite of the LuCI page saving, and it must again be umounted/remounted.
The text was updated successfully, but these errors were encountered:
You probably are not aware that there are two ntfs drivers for linux:
NTFS-3g is a driver from outside the kernel tree (probably not included in kernel due to license, I'm not sure)
kmod-fs-ntfs is the official kernel module that is not capable of writing. It can only mount ro.
When you use mount command, the system uses the read-only kernel driver.
When you use ntfs-3g command, it mounts using ntfs-3g read-write driver.
I never used ntfs on linux so I can't tell you exactly how to do it, but this is the general ideea:
You should remove the kmod-fs-ntfs driver and update your mount command to use ntfs-3g driver (it's probably a different -t option). The driver module must be loaded first for the mount to work.
PalebloodSky:
-WRT32X
-OpenWrt 19.07.x and Master, ntfs-3g, kmod-fs-ntfs
-Issue: using a USB 3.0 external drive, formatted for NTFS, it mounts as "ntfs" "ro" every time regardless of LuCI configuration in System > Mount Points. With this bug the drive cannot be written to as it needs the "rw" option for NTFS.
As per the manpages I set the file system from auto to "ntfs-3g" and "rw" (read write) under options, then when remounting it immediately goes back to "auto" and "ro" (read only). If you SSH into the router and run mount, it confirms that it incorrectly mounts as ro:
mount /dev/sda1 on /mnt/sda1 type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=iso8859-1,errors=continue,mft_zone_multiplier=1)
Work-around: SSH in and umount it with "umount -l /dev/sda1", then remount it with "ntfs-3g /dev/sda1 /mnt/sda1 -o rw".
Once mounted this way the drive reads at 60-80MB/s and writes at 30-40MB/s. Almost half the speed of the stock Linksys firmware which uses kernel 4.4.14, but it does work. The stock firmware also handles all this with one click, so there must be a simple config that works. The bug may be in LuCI but I suspect it's deeper than that. After rebooting, all of these settings are lost despite of the LuCI page saving, and it must again be umounted/remounted.
The text was updated successfully, but these errors were encountered: