this file has been obsoleted. please call "/sbin/block mount" directly
In any case I tried "cd /mnt/sda1" but "ls" did not show anything. "mount" does not show it anywhere either.
So I tried to manually mount it with mount and I got this error (shouldn't it be auto detecting it)?
/mnt/sda1# mount /dev/sda1 /mnt/sda1
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I tried another way using the -t -ext4 parameters and it worked. However I have these errors in the system log.
[ 9993.562721] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[43223.912298] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[43223.920801] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[43224.032937] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
And I still cannot see any of the files on the drive! What am I doing wrong? In the luci GUI it's also showing it as mounted but I can't see any of the files in ssh or elsewhere.
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
ubi1:syscfg on /tmp/syscfg type ubifs (rw,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
Are there any /dev/sd* devices? Especially after unplugging and replugging, the drive may not come up as /dev/sda, it could be sdb etc. That is one of the reasons why block works by UUID.
Sorry, i missed that, hate to ask the obvious again, but your screencap from Mount Points - Mount Entry is showing /dev/sda1, not /mnt/sda1, you need to choose the Mount point directly below, if /mnt/sda1 isn't listed you can use custom, then enable this mount and save/apply.
Thanks for your help. I am a total Linux newbie if you haven't already been able to tell. So I did as you said and listed /mnt/sda1 as the mountpoint via the web interface.
root@LEDE:/mnt/sda1# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
ubi1:syscfg on /tmp/syscfg type ubifs (rw,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
When I cd into /mnt/sda1 none of my folders show up.
I just tested with the same instructions and everything worked fine, but, my drive never showed up in mount either even though it was showing up in Luci under Mounted File Systems and Mount Points, so it seems best to go by what Luci is showing rather than cli in this case. So, check Luci and if /dev/sda1 is showing under Mount Points then reboot. Once booted check Luci again and see if /dev/sda1 is now also under Mounted File Systems, if it is, ssh in and run
I see /dev/sda & /dev/sda1
I have the /mnt/sda1 folder
I get error when trying to mount the drive:
root@ROUTER-MAIN:~# mount /dev/sda1 /mnt/sda1
mount: mounting /dev/sda1 on /mnt/sda1 failed: Invalid argument
root@ROUTER-MAIN:~# mount -t -ext4 /dev/sda1 /mnt/sda1
mount: mounting /dev/sda1 on /mnt/sda1 failed: No such device
When using Luci it detects the drive as NTFS but still the folder not getting mounted and not showing using the mount command.
Under the list of Filesystem I don’t see ntfs (only ext2, ext3, ext4, squashfs)
Even turning the power off and on to the router does not change a thing.
The drive show up correctly under windows10, scan for error is good
How did you solved your problem?
I've did every thing in that page and a USB drive did not mount using ntfs-3g
# ntfs-3g /dev/sda1 /mnt/sda1 -o rw,sync
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I then connected my external drive (the one that I wish to mount) and it got mounted automatically!!!
I have no idea what was the added package that was missing (my be ntfs-3g or fdisk ?), but now I have my needed drive mounted!
Thanks