Unable to mount USB thumb drive

3 posts / 0 new
Last post
toddsay
toddsay's picture
Unable to mount USB thumb drive

When I enable "Automatic Drive Mount", even without specifying a uuid to mount, I see two devices (/dev/sda and /dev/sda1), which appear the same and which both get mounted to /opt as read-only:

[email protected]:/etc/init.d# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512K)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /opt type ext2 (ro,relatime)
/dev/sda1 on /etc/profile type ext2 (ro,relatime)

This is reasonable enough except for the read-only setting which prevents the use of things like optware. Has anyone been able to do this successfully on the R8000?

--- /dev/sda 
Block device, size 1.391 GiB (1493302784 bytes) 
DOS/MBR partition map 
Partition 1: 1.386 GiB (1488644608 bytes, 2907509 sectors from 256) 
Type 0x83 (Linux) 
Ext2 file system 
Volume name "OPTFS" 
UUID 71BCD510-7CD1-3B2F-6775-61CAB66D066E (NCS) 
Volume size 1.386 GiB (1488644096 bytes, 1453754 blocks of 1 KiB) 
/dev/sda mounted to /opt



--- /dev/sda1 
Block device, size 1.386 GiB (1488644608 bytes) 
Ext2 file system 
Volume name "OPTFS" 
UUID 71BCD510-7CD1-3B2F-6775-61CAB66D066E (NCS) 
Volume size 1.386 GiB (1488644096 bytes, 1453754 blocks of 1 KiB) 
/dev/sda1 mounted to /opt
toddsay
toddsay's picture
** RESOLVED ** I mounted the

** RESOLVED ** I mounted the drive on a PC with an Ubuntu disk and ran fsck, learning that the filesystem was corrupt on the flash drive. After repair it is now mounting properly. So not a fault of dd-wrt.

toddsay
toddsay's picture
** RESOLVED ** I mounted the

** RESOLVED ** I mounted the drive on a PC with an Ubuntu disk and ran fsck, learning that the filesystem was corrupt on the flash drive. After repair it is now mounting properly. So not a fault of dd-wrt.