[RESOLVED]overlay is full extend to micro SD



  • Hi community,

    I try to install the onion console from the cli on a omega2 lte and it look like that I already run out of disk space:

     * verify_pkg_installable: Only have 348kb available on filesystem /overlay, pkg onion  -console-base needs 1266 
    df  
    Filesystem 1K-blocks Used Available Use% Mounted on
         tmpfs 62460 224 62236 0% /tmp
         overlayfs:/overlay 23104 22496 608 97% /
         tmpfs 512 0 512 0% /dev
         /dev/mmcblk0p1 31340544 1048704 30291840 3% /mnt/mmcblk0p1
    

    I try to follow this tutorial : https://openwrt.org/docs/guide-user/additional-software/extroot_configuration to extend overlay disk to my microsd (mmcblk0p1)
    but configuration is not the same. For instance, if I try to get the DEVICE name I don't get a value.
    Since I already done work on the device and I don't want to loose it, how can I install complementary package using the spare memory of my microsd card ?

    is there package not mandatory for the system to work that will provide me the missing 918kb ? Something like mosquitto

    pkg list-installed
    avahi-daemon-service-http - 0.6.32-3
    avahi-daemon-service-ssh - 0.6.32-3
    avahi-nodbus-daemon - 0.6.32-3
    base-files - 192-r0
    bc - 1.06.95-1
    block-mount - 2018-04-16-e2436836-1
    blockd - 2018-04-16-e2436836-1
    busybox - 1.28.3-4
    bzip2 - 1.0.6-4
    ca-bundle - 20180409
    ca-certificates - 20180409
    coreutils - 8.23-3
    coreutils-base64 - 8.23-3
    dnsmasq - 2.80-1
    dropbear - 2017.75-5.1
    e2fsprogs - 1.44.1-1
    fast-gpio - 0.2-1
    fdisk - 2.32-2
    firewall - 2018-07-26-aa8846bb-1
    fstools - 2018-04-16-e2436836-1
    fwtool - 1
    gpioctl-sysfs - 0.0.6-1
    hostapd-common - 2018-04-09-fa617ee6-5
    hostname-tool - 0.5-1
    i2c-exp-ubus - 0.9-1
    i2c-tools - 3.1.2-1
    ip6tables - 1.6.2-1
    iptables - 1.6.2-1
    iw - 4.14-1
    iwinfo - 2018-07-24-94b1366d-1
    jshn - 2018-07-25-c83a84af-2
    jsonfilter - 2018-02-04-c7e938d6-1
    kernel - 4.14.81-1-5c1ea8a282d7395b1a2c86bf6b1669fc
    kmod-ac97 - 4.14.81-1
    kmod-bluetooth - 4.14.81-1
    kmod-cfg80211 - 4.14.81+2017-11-01-9
    kmod-crypto-acompress - 4.14.81-1
    kmod-crypto-aead - 4.14.81-1
    kmod-crypto-cmac - 4.14.81-1
    kmod-crypto-crc32c - 4.14.81-1
    kmod-crypto-ecb - 4.14.81-1
    kmod-crypto-ecdh - 4.14.81-1
    kmod-crypto-hash - 4.14.81-1
    kmod-crypto-kpp - 4.14.81-1
    kmod-crypto-manager - 4.14.81-1
    kmod-crypto-null - 4.14.81-1
    kmod-crypto-pcompress - 4.14.81-1
    kmod-dma-buf - 4.14.81-1
    kmod-dma-ralink - 4.14.81-1
    kmod-dnsresolver - 4.14.81-1
    kmod-fs-autofs4 - 4.14.81-1
    kmod-fs-configfs - 4.14.81-1
    kmod-fs-exfat - 4.14.81+2017-06-20-de4c760b-1
    kmod-fs-ext4 - 4.14.81-1
    kmod-fs-msdos - 4.14.81-1
    kmod-fs-nfs - 4.14.81-1
    kmod-fs-nfs-common - 4.14.81-1
    kmod-fs-ntfs - 4.14.81-1
    kmod-fs-squashfs - 4.14.81-1
    kmod-fs-vfat - 4.14.81-1
    kmod-gpio-button-hotplug - 4.14.81-2
    kmod-hid - 4.14.81-1
    kmod-hid-generic - 4.14.81-1
    kmod-hwmon-core - 4.14.81-1
    kmod-i2c-core - 4.14.81-1
    kmod-input-core - 4.14.81-1
    kmod-input-evdev - 4.14.81-1
    kmod-input-uinput - 4.14.81-1
    kmod-ip6tables - 4.14.81-1
    kmod-ipt-conntrack - 4.14.81-1
    kmod-ipt-core - 4.14.81-1
    kmod-ipt-nat - 4.14.81-1
    kmod-ipt-offload - 4.14.81-1
    kmod-leds-gpio - 4.14.81-1
    kmod-ledtrig-default-on - 4.14.81-1
    kmod-ledtrig-gpio - 4.14.81-1
    kmod-ledtrig-heartbeat - 4.14.81-1
    kmod-ledtrig-morse - 4.14.81-1
    kmod-ledtrig-netdev - 4.14.81-1
    kmod-ledtrig-oneshot - 4.14.81-1
    kmod-ledtrig-timer - 4.14.81-1
    kmod-ledtrig-transient - 4.14.81-1
    kmod-lib-crc-ccitt - 4.14.81-1
    kmod-lib-crc16 - 4.14.81-1
    kmod-lib-lzo - 4.14.81-1
    kmod-mac80211 - 4.14.81+2017-11-01-9
    kmod-mii - 4.14.81-1
    kmod-mmc - 4.14.81-1
    kmod-nf-conntrack - 4.14.81-1
    kmod-nf-conntrack6 - 4.14.81-1
    kmod-nf-flow - 4.14.81-1
    kmod-nf-ipt - 4.14.81-1
    kmod-nf-ipt6 - 4.14.81-1
    kmod-nf-nat - 4.14.81-1
    kmod-nf-reject - 4.14.81-1
    kmod-nf-reject6 - 4.14.81-1
    kmod-nls-base - 4.14.81-1
    kmod-nls-cp437 - 4.14.81-1
    kmod-nls-iso8859-1 - 4.14.81-1
    kmod-nls-utf8 - 4.14.81-1
    kmod-p44-ledchain - 4.14.81+2.0-7
    kmod-ppp - 4.14.81-1
    kmod-pppoe - 4.14.81-1
    kmod-pppox - 4.14.81-1
    kmod-pwm-mediatek-ramips - 4.14.81-1
    kmod-regmap - 4.14.81-1
    kmod-scsi-core - 4.14.81-1
    kmod-sdhci - 4.14.81-1
    kmod-sdhci-mt7620 - 4.14.81-1
    kmod-slhc - 4.14.81-1
    kmod-sound-core - 4.14.81-1
    kmod-sound-mt7620 - 4.14.81-1
    kmod-sound-soc-core - 4.14.81-1
    kmod-spi-dev - 4.14.81-1
    kmod-usb-acm - 4.14.81-1
    kmod-usb-audio - 4.14.81-1
    kmod-usb-core - 4.14.81-1
    kmod-usb-ehci - 4.14.81-1
    kmod-usb-hid - 4.14.81-1
    kmod-usb-net - 4.14.81-1
    kmod-usb-net-qmi-wwan - 4.14.81-1
    kmod-usb-ohci - 4.14.81-1
    kmod-usb-printer - 4.14.81-1
    kmod-usb-serial - 4.14.81-1
    kmod-usb-serial-ch341 - 4.14.81-1
    kmod-usb-serial-cp210x - 4.14.81-1
    kmod-usb-serial-ftdi - 4.14.81-1
    kmod-usb-serial-option - 4.14.81-1
    kmod-usb-serial-pl2303 - 4.14.81-1
    kmod-usb-serial-wwan - 4.14.81-1
    kmod-usb-storage - 4.14.81-1
    kmod-usb-storage-extras - 4.14.81-1
    kmod-usb-wdm - 4.14.81-1
    kmod-usb2 - 4.14.81-1
    kmod-video-core - 4.14.81-1
    kmod-video-uvc - 4.14.81-1
    kmod-video-videobuf2 - 4.14.81-1
    kmod-w1 - 4.14.81-1
    kmod-w1-gpio-custom - 4.14.81-3
    kmod-w1-master-gpio - 4.14.81-1
    kmod-w1-slave-therm - 4.14.81-1
    libavahi-nodbus-support - 0.6.32-3
    libblkid - 2.32-2
    libblobmsg-json - 2018-07-25-c83a84af-2
    libbz2 - 1.0.6-4
    libc - 1.1.19-1
    libcap - 2.25-2
    libcares - 1.14.0-1
    libcomerr - 1.44.1-1
    libcurl - 7.60.0-3
    libdaemon - 0.14-5
    libelf1 - 0.169-1
    libexpat - 2.2.5-1
    libext2fs - 1.44.1-1
    libfdisk - 2.32-2
    libffi - 3.2.1-3
    libftdi1 - 1.4-1
    libgcc - 7.3.0-1
    libgmp - 6.1.2-1
    libip4tc - 1.6.2-1
    libip6tc - 1.6.2-1
    libiwinfo - 2018-07-24-94b1366d-1
    libjson-c - 0.12.1-2
    libjson-script - 2018-07-25-c83a84af-2
    liblzma - 5.2.4-1
    libmbedtls - 2.12.0-1
    libmosquitto-ssl - 1.5.8-2
    libncurses - 6.1-1
    libnl-tiny - 0.1-5
    liboniondebug - 0.9-1
    libonioni2c - 0.9-1
    libonionmcp23008 - 0.9-1
    libonionoledexp - 0.9-1
    libonionpwmexp - 0.9-1
    libonionrelayexp - 0.9-1
    libopenssl - 1.0.2p-1
    libpcre - 8.41-2
    libpopt - 1.16-1
    libpthread - 1.1.19-1
    libreadline - 7.0-1
    librt - 1.1.19-1
    libsmartcols - 2.32-2
    libss - 1.44.1-1
    libstdcpp - 7.3.0-1
    libubox - 2018-07-25-c83a84af-2
    libubus - 2018-07-26-40e0931e-1
    libuci - 2018-08-11-4c8b4d6e-1
    libuclient - 2018-08-03-ae1c656f-1
    libugpio - 0.0.6-1
    libusb-1.0 - 1.0.22-1
    libusb-compat - 0.1.5-1
    libuuid - 2.32-2
    libwebsockets-openssl - 2.4.1-2
    libxml2 - 2.9.9-1
    libxtables - 1.6.2-1
    logd - 2018-02-14-128bc35f-2
    maccalc - 1
    mosquitto-client-ssl - 1.5.8-2
    mosquitto-ssl - 1.5.8-2
    mtd - 23
    netifd - 2018-10-07-d0fa124e-1
    node - v8.10.0-3
    node-npm - v8.10.0-3
    odhcp6c - 2018-07-14-67ae6a71-14.1
    odhcpd - 1.10-1
    ogps - 2017-04-20-1
    oled-exp - 0.9-1
    omega2-base - 1.0.0-1
    omega2-ctrl - 0.3-1
    omega2-lte-base - 1.0.0-1
    onion-helper - 0.1-1
    onion-os - 1.0.6-1
    onion-repo-keys - 0.1-1
    onion-script - 0.3-5
    onion-sh-lib - 0.2-1
    onion-ubus - 0.3-2
    openssh-sftp-server - 7.7p1-1
    openwrt-keyring - 2018-05-18-103a32e9-1
    opkg - 2017-12-07-3b417b9f-2
    oupgrade - 0.3-1
    p44-ledchain - 2.0-7
    php7 - 7.2.19-1
    php7-cgi - 7.2.19-1
    php7-fastcgi - 7.2.19-1
    php7-mod-curl - 7.2.19-1
    php7-mod-json - 7.2.19-1
    php7-mod-session - 7.2.19-1
    php7-mod-simplexml - 7.2.19-1
    php7-mod-xml - 7.2.19-1
    power-dock - 0.5-1
    power-dock2 - 0.5-1
    ppp - 2.4.7-12
    ppp-mod-pppoe - 2.4.7-12
    procd - 2018-03-28-dfb68f85-1
    pwm-exp - 0.9-1
    python3-base - 3.6.9-3
    python3-light - 3.6.9-3
    python3-spidev - 4.0.1-2
    relay-exp - 0.9-1
    rpcd - 2018-08-16-41333abe-1
    rpcd-mod-file - 2018-08-16-41333abe-1
    rpcd-mod-iwinfo - 2018-08-16-41333abe-1
    rpcd-mod-rpcsys - 2018-08-16-41333abe-1
    rsync - 3.1.3-1
    shellinabox - 2.10-1
    spi-tools - 1-cc6a41fdcec60610703ba6db488c621c64952898
    swap-utils - 2.32-2
    swconfig - 11
    tar - 1.30-1
    terminfo - 6.1-1
    uboot-envtools - 2018.03-1
    ubox - 2018-02-14-128bc35f-2
    ubus - 2018-07-26-40e0931e-1
    ubusd - 2018-07-26-40e0931e-1
    uci - 2018-08-11-4c8b4d6e-1
    uclibcxx - 0.2.4-3
    uclient-fetch - 2018-08-03-ae1c656f-1
    uhttpd - 2018-06-26-796d42bc-1
    uhttpd-mod-ubus - 2018-06-26-796d42bc-1
    url-enc-dec - 0.1-1
    usb-modeswitch - 2017-12-19-f40f84c2-1
    usign - 2015-07-04-ef641914-1
    wget - 1.19.5-1
    wifi-warp-core - 0.1.0-1
    wireless-regdb - 2017-10-20-4343d359
    wireless-tools - 29-5
    wpad - 2018-04-09-fa617ee6-5
    xz - 5.2.4-1
    xz-utils - 5.2.4-1
    zlib - 1.2.11-2
    zoneinfo-core - 2018e-1
    

    best regards,
    lou



  • Well, I will refer myself on a topic related to that :
    https://docs.onion.io/omega2-docs/boot-from-external-storage.html

    Filesystem                Size      Used Available Use% Mounted on                                           
    /dev/root                 7.8M      7.8M         0 100% /rom                                                 
    tmpfs                    61.0M    236.0K     60.8M   0% /tmp                                                 
    /dev/mmcblk0             29.3G    146.7M     27.7G   1% /overlay                                             
    overlayfs:/overlay       29.3G    146.7M     27.7G   1% /                                                    
    tmpfs                   512.0K         0    512.0K   0% /dev                                                 
    /dev/mtdblock6           22.6M     22.0M    536.0K  98% /mnt/mtdblock6
    

    If we do consider some element that differ from the tutorial, it work.
    In my case, I loss my work...

    Now I've got plenty of space.

    Myself:Thank you for your help.
    Myself:No problem
    ;)



  • Congratulations yourself :)



Looks like your connection to Community was lost, please wait while we try to reconnect.