There is a ubifs.img has been created with following commands and
configurations:
mkfs.ubifs -r rfs_out_dir -m 2048 -e 126976 -c 2047 -F -o
rfs_out_dir/ubifs.img
ubinize -o rfs_out_dir/ubifs -p 131072 -m 2048 -s 2048
rfs_out_dir/ubicfg.ini
ubicfg.ini
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
There is 1GB RAM on the board.
Output of top command:
Tasks: 43 total, 1 running, 42 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 1.0 sy, 0.0 ni, 98.7 id, 0.0 wa, 0.2 hi, 0.0 si,
0.0 st
KiB Mem : 703572 total, 649392 free, 20528 used, 33652
buff/cache
KiB Swap: 0 total, 0 free, 0 used. 671578 avail
Mem
Output of free command:
# free -m
total used free shared buff/cache
available
Mem: 687 19 634 0 32
655
Swap: 0 0 0
Output of df command:
# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 107.9M 69.8M 38.1M 65% /
devtmpfs 343.5M 0 343.5M 0% /dev
tmpfs 343.5M 68.0K 343.5M 0% /dev/shm
tmpfs 343.5M 160.0K 343.4M 0% /run
tmpfs 343.5M 0 343.5M 0% /sys/fs/cgroup
tmpfs 343.5M 12.0K 343.5M 0% /tmp
tmpfs 343.5M 0 343.5M 0% /webSvr/logs
tmpfs 343.5M 16.0K 343.5M 0% /var/lib/pulse
tmpfs 343.5M 24.0K 343.5M 0% /var/run
tmpfs 343.5M 0 343.5M 0% /var/tmp
tmpfs 68.7M 0 68.7M 0% /run/user/0
The above commands indicate that ~337MB has been reserved somewhere.
Is my UBIFS keeping it reserved?
How to know why this much memory has been reserved?
Also, how can I get more space in UBIFS?
Thanks in advance.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/