OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by PalebloodSky - 10.06.2020

FS#3168 - Mount Points page in LuCI does not correctly use options to mount NTFS USB 3.0 External Drive


-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.


Available keyboard shortcuts


Task Details

Task Editing