[LEDE-DEV] newbie opkg upgrading questions..

B. Cook bsdwebsol at gmail.com
Sun Jan 8 06:44:28 PST 2017


gmail thankfully moved these to spam..

:/

Sorry for the delay..

grep '/ overlay ro,' /proc/mounts
overlayfs:/overlay / overlay
ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work 0
0

I never noticed this under the graphic motd login before:

BusyBox v1.25.1 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r2701-c5ca304)
    \________\/    -----------------------------------------------------------

Your JFFS2-partition seems full and overlayfs is mounted read-only.
Please try to remove files from /overlay/upper/... and reboot!

Filesystem                Size      Used Available Use% Mounted on
tmpfs                    61.2M    808.0K     60.4M   1% /tmp
overlayfs:/overlay       28.4M      2.6M     25.9M   9% /
tmpfs                   512.0K         0    512.0K   0% /dev

I ran this as root.. (seemed proper..)
mount -t overlayfs -o
rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work

 mount
proc on /proc type proc (ro,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
overlayfs:/overlay on / type overlay
(ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (ro,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (ro,relatime,mode=600)

Mount still says read only

root at wzr-ag300h:~# mount -t overlayfs -o
rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work
root at wzr-ag300h:~# echo $?
0
root at wzr-ag300h:~# mount | grep overlayfs
overlayfs:/overlay on / type overlay
(ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)



On Wed, Jan 4, 2017 at 3:28 AM, Bastian Bittorf <bb at npl.de> wrote:
> * Yousong Zhou <yszhou4tech at gmail.com> [04.01.2017 09:09]:
>> > root at wzr-ag300h:~# mount
>> > proc on /proc type proc (ro,noatime)
>> > tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
>> > overlayfs:/overlay on / type overlay
>> > (ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
>> > tmpfs on /dev type tmpfs (ro,relatime,size=512k,mode=755)
>> > devpts on /dev/pts type devpts (ro,relatime,mode=600)
>
> in /etc/profile there is a check which should
> warn about this special issue on login. Mr. Cook, can
> you please post the output of /proc/mounts ?
>
> what is the output of:
> grep '/ overlay ro,' /proc/mounts
>
> thanks & bye, bastian



-- 
Sent from my Android device

Ability is what you are capable of doing.
Motivation determines what you do.
Attitude determines how well you do it.



More information about the Lede-dev mailing list