Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: Pheldda on January 01, 2018, 01:41:35 PM

Title: File system space plus logging questions
Post by: Pheldda on January 01, 2018, 01:41:35 PM
Hi

Trying to select one of the lime2 variants to buy but not sure which is best for me (a simple samba file server with a few extra small utilities installed).
Does anyone know
1) How much free flash disk space is there on the 4GB variants after installation of debian image?
2) Is it possible to turn off most of logging (e.g. syslog or kernel log) in order to limit the number of writes to the flash disk? Or perhaps log to mapped ram instead?

Thanks
Title: Re: File system space plus logging questions
Post by: igorpec on January 01, 2018, 09:45:29 PM
1. Armbian server is around 1G, so around 3G free. 4G cards are usually extremely slow. Pick one of those instead: https://forum.armbian.com/topic/954-sd-card-performance/
2. Armbian is using devtmpfs aka memory for logging. There are also other optimisations to save your SD card's life. With Ubuntu version, you can use overlayroot, which makes your fs virtual read-only which means zero writing.

Everything is already done:
https://www.armbian.com/olimex-lime-2-emmc
Title: Re: File system space plus logging questions
Post by: Pheldda on January 01, 2018, 11:26:58 PM
Ok, thanks a lot!