Posted: Wed Dec 15, 2010 0:21 Post subject: Asus RT-N16 /opt mounted twice on 2 separate - Build 15778
I installed optware on an external hard drive on my Asus RT-N16 by following Optware - The right way. Everything works fine except that when I reboot my router, two partitions are mounted as /opt (disc0/part1 & disc0/part3).
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Wed Dec 15, 2010 4:03 Post subject:
Is one of your partitions NTFS?
Post an output of your mount properties from the Services->USB Web-GUI page like the following..
mount.png
Description:
Filesize:
49.33 KB
Viewed:
23112 Time(s)
_________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Fri Dec 24, 2010 14:21 Post subject:
Post an output of the following from a Command prompt:
Code:
service automount
_________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
When I boot service does not exist, since /opt is invalid. so it returns:
-sh: service: not found
and mount gives:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw,data=ordered)
/dev/discs/disc0/part3 on /opt type ext3 (rw,data=ordered)
Once I umount part3 from /opt, optware starts and service returns:
Mounted partitions in automount:
/dev/discs/disc0/part1 on /opt type ext3 (rw,noatime,data=ordered)
/dev/sda4 on /mnt type ext3 (rw,noatime,data=ordered)
/dev/sda3 on /tmp/c type ext3 (rw,noatime,data=ordered)
Mounted partitions NOT in automount:
Unmounted attached partitions to be hotmounted:
Unmounted attached partitions (unassigned):
Unmounted attached partitions which should not be mounted:
Unattached partitions in automount:
Unrecognized partitions:
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Fri Dec 24, 2010 23:16 Post subject:
Interesting. Try removing or expanding the JFFS partition in LVM or GParted and see what happens..Perhaps the smaller size of part3 compared to part 1 is creating issues (since Frater's script is dependent on FS size). You could also try changing either /opt or jffs to ext2 and see if that makes any difference.. _________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
I have the exact same problem except the internet slow problem.
disabling USB 1.1 Support (UHCI) and USB 1.1 Support (OHCI) also does not help. I do have one NTFS whole disk partition on my second USB drive. _________________ ASUS RT-N16.
DD-WRT v24-sp2 (12/19/10) mega - build 15943M NEWD-2 K2.6 Eko.
Optware the Right way.
USB1=8GB Transcend Flash
USB2=2TB HDD (Not working yet)
----
USB1 partitioning:
* /opt 2048 megabytes
* swap 256 megabytes
* /jffs 1024 megabytes
* data remainder of the disk (/mnt 4.4GB)
---
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Thu Jan 06, 2011 19:19 Post subject:
@roundbrown
That shell script defeats DD-WRT's automount, and fraters scripts are dependent on it.
What are the results when you issue a reboot command from a shell? Do the running optware services and partitions automatically unmount themselves?
Fraters newest automount fixed this issue, and I know this for a fact on B.S's latest build.. _________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
The problem is with DD-wrt's automount, not optware's automount from what I can tell. The issue just happened the other day. It was working fine and I added a usb hub and a printer to go along with my drobo raid-box. Next thing I know the automount is mounting the 1st partition and the 3rd partition to /opt, disabling any of the optware from getting going. For some reason dd-wrt's automount is having issues properly detecting the correct partition to mount. As mentioned above, a single umount of opt, unmounts the third partition and reveals the 1st partition where optware is under it. All this script does it automate that as I was going to have to do it by hand. I'd love a solution, but this is only a temporary fix for those with this issue.