Omega1: Am I missing storage space?



  • I booted up my Omega1 for the first time today and immediately connected to WiFi and then ran oupgrade. With my device running and logged in through a serial emulator, I ran df -k and was surprised at the result:

    # df -k
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    7552       500      7052   7% /
    /dev/root                 7680      7680         0 100% /rom
    tmpfs                    30576        96     30480   0% /tmp
    /dev/mtdblock3            7552       500      7052   7% /overlay
    overlayfs:/overlay        7552       500      7052   7% /
    tmpfs                      512         0       512   0% /dev
    
    

    This seems to show that my file system is less than 7.5MBytes in size. I had assumed that the filesystem would have been ~16MBytes. Is there a step I missed or some other recipe that I should have been performing.

    <NewbieAlert>true</NewbieAlert>:beginner:



  • There is some sort of overlay / merging going on..
    While the article is about extending storage the top part of the article may be helpful in the explanation of how the overlayfs works.
    https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs

    <OverlayNewbieAlert>true</OverlayNewbieAlert>



  • @None-None
    If you or someone else were to run df -k, what do you see as the disk areas on your system?



  • If I recall some documentation I've read, anything installed will reduce by that much the available storage. This is a reason why the Omega2 was created, and also why an optional SD Card connector also added.

    <NotYetAnOwnerAlert>true</NotYetAnOwnerAlert>



  • @Neil-Kolban as "None None" mentioned, much memory the onion1 not has. The image will be loaded from the rom into ram ... so ... you can duplicate this value and it makes almost this 16MB you mentioned.

    root@Omega-269D:~# df -k
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    7552      3648      3904  48% /
    /dev/root                 7680      7680         0 100% /rom
    tmpfs                    30576        92     30484   0% /tmp
    /dev/mtdblock3            7552      3648      3904  48% /overlay
    overlayfs:/overlay        7552      3648      3904  48% /
    tmpfs                      512         0       512   0% /dev
    
    root@Omega-269D:~# free -m
                 total         used         free       shared      buffers
    Mem:         61152        31980        29172           92         3936
    -/+ buffers:              28044        33108
    Swap:            0            0            0
    
    root@Omega-269D:~# cat /proc/meminfo
    MemTotal:          61152 kB
    MemFree:           29248 kB
    MemAvailable:      42140 kB
    Buffers:            3936 kB
    Cached:            10556 kB
    SwapCached:            0 kB
    Active:            10704 kB
    Inactive:           6524 kB
    Active(anon):       2784 kB
    Inactive(anon):       44 kB
    Active(file):       7920 kB
    Inactive(file):     6480 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          2752 kB
    Mapped:             2984 kB
    Shmem:                92 kB
    Slab:               6544 kB
    SReclaimable:       1896 kB
    SUnreclaim:         4648 kB
    KernelStack:         336 kB
    PageTables:          324 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       30576 kB
    Committed_AS:       7200 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:        1568 kB
    VmallocChunk:    1038448 kB
    

Log in to reply
 

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