USB disk support on R7000P

2 posts / 0 new
Last post
dnormant's picture
USB disk support on R7000P

I have installed dd-wrt v3.0-r30776  on my R7000P and everything is looking good. Except when I try to mount a USB drive. I have 2 partitions on it. One fdisked to 82-swap and the second to 83-linux.

The swap partition gets mounted:

sd 0:0:0:0: [sda] Attached SCSI removable disk
Adding 1048572k swap on /dev/sda1.  Priority:-1 extents:1 across:1048572k

and the GUI says:

--- /dev/sda1
Block device, size 1 GiB (1073741824 bytes)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 1.000 GiB (1073733632 bytes, 262142 pages of 4 KiB)
/dev/sda1 mounted to swap
The GUI also says the the second partitions is mounted on /opt:

--- /dev/sda2
Block device, size 13.76 GiB (14779678720 bytes)
Ext2 file system
UUID 7BDCBC8E-4995-48DE-8D3C-F1857B547C13 (DCE, v4)
Volume size 13.76 GiB (14779678720 bytes, 3608320 blocks of 4 KiB)
/dev/sda2 mounted to /opt

But it's not:

df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                22.0M     22.0M         0 100% /

touch /opt/test.file
touch: /opt/test.file: Read-only file system

Anyone else seeing this issue?



dnormant's picture
I found a workaround for this

I found a workaround for this. I assume the USB drive isn't mounting because /opt is a Read-Only filesystem. In the USB configuration I removed the UUID from the /opt configuration (left it blank) and rebooted.  DD-WRT automatically mounted the drive under /tmp/mnt/sda2 (linked to /mnt/sda2). I can work with this and it opens a whole new world for me!