Hello,
I wanted to install via opkg an ftp server (opkg install openssh-sftp-server) but failed due to memory full.
See picture. How can I expand the rootfs ?
Thank you
Leo
Hello,
I wanted to install via opkg an ftp server (opkg install openssh-sftp-server) but failed due to memory full.
See picture. How can I expand the rootfs ?
Thank you
Leo
@Leo,
Memory and disk storage are not the same. You are out of disk space.
How to expand the Yún disk space
Maximum SD Size: 32GB
Hint: You can use more that 700MB for hte Data partition. This is partition you can share with Windows and similar file systems.
Jesse
Hey Jesse,
Thx for the help.
I ran into problems because I first did a Yun diskspace expand and afterwards a did an upgrade of OpenWrt.
The OpenWrt upgrade succeeded but somehow (maybe thats normal) the initial file system partitioning was installed. (see the png)
I somehow overlooked this until I ran into trouble -
A new diskspace expand solved the issue.
Thanks again.
Leo
LeoTimmermans:
Hey Jesse,Thx for the help.
I ran into problems because I first did a Yun diskspace expand and afterwards a did an upgrade of OpenWrt.
The OpenWrt upgrade succeeded but somehow (maybe thats normal) the initial file system partitioning was installed. (see the png)I somehow overlooked this until I ran into trouble -
A new diskspace expand solved the issue.
Thanks again.
Leo
@Leo,
Something not well documented with Arudino Yun, is that part of the file system is READ ONLY. This part (partition) is a fall back in case of system error. Any remaining part on your SD is split between the “shared” filesystem (which windows can read) and the other (third) partition
FWIW, here is my system. To be clear, overlayfs:
is part of the READ ONLY filesystem.
Lastly, if you need more room, reformat your SD or get a bigger SD.
Jesse
root@Arduino:/# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 5.4G 256.5M 4.9G 5% /
/dev/root 7.5M 7.5M 0 100% /rom
tmpfs 29.8M 100.0K 29.7M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda2 5.4G 256.5M 4.9G 5% /overlay
overlayfs:/overlay 5.4G 256.5M 4.9G 5% /
/dev/sda1 1.9G 1.5M 1.9G 0% /mnt/sda1
root@Arduino:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=30560k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sda2 on /overlay type ext4 (rw,sync,noatime,nodiratime,user_xattr,barrier=1,data=ordered)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda1 on /mnt/sda1 type vfat (rw,sync,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
none on /proc/bus/usb type usbfs (rw,relatime)