Re: [Server-devel] "Raspbian reserves 4% of all disk space"

2017-08-23 Thread DancesWithCars
Maybe automagically move and delete some logs, etc to another storage, like
USB stick?
Putting in more storage on non SD may change the calculation kind of like
/tmp or use livecd persistent partitioning schemes...
/WAG
Removing packages like java, some fonts documentation, etc may help
temporarily but also may make the system inconsistent and unbootable...

On Aug 21, 2017 1:49 AM, "James Cameron"  wrote:

> No sympathy; you asked for this problem, and you got it.
>
> Fix the underlying problem, which is either training, confidence,
> remote support, brain drain, or SD card is too small for the job,
>
> Automatically delete least used content once the limit is hit.
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] "Raspbian reserves 4% of all disk space"

2017-08-20 Thread James Cameron
No sympathy; you asked for this problem, and you got it.

Fix the underlying problem, which is either training, confidence,
remote support, brain drain, or SD card is too small for the job,

Automatically delete least used content once the limit is hit.

-- 
James Cameron
http://quozl.netrek.org/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] "Raspbian reserves 4% of all disk space"

2017-08-19 Thread Adam Holt
...for exactly what is unclear, on headless RPi's in remote areas
especially.  Does someone know more about how this reserve disk threshold
works?  Can it possibly help an untrained operator, in a highly offline
community, when SD-card-as-primary-disk hits that threshold?

Certainly WordPress, X Windows (and no doubt others) silently fail upon
reaching this threshold, rendering the entire system useless, from the
perspective of a low-skill owner-operator (as is the most common case in
the developing world).

So huge thanks to Tim Moody (with George Hunt's assistance) who changed
this threshold from 4% to 1% as follows:

   tune2fs -m 1 /dev/mmcblk0p2

As can be viewed with the "du" (disk usage) command.  The challenge is that
SD-based digital libraries are Almost Always nearly full, by design, when
remote educators ask (and deserve) all the best possible materials.  Nor do
we want to discourage constructionist activities that will occasionally
gobble up a bit of SD/disk!

So More Generally: how exactly might this 4% threshold (pick your favorite
percentage, no matter) materially help remote owner-operators, not steeped
in Linux Skillz?  As so many things start failing together when Raspbian SD
card "disks" reach that reserve threshold — such that most remote/offline
educators and owner-operators will simply stop using their RPi3 digital
library at that point — particularly if it's headless :(

Suggestions from anyone?!

*In principle a http://en.wikipedia.org/wiki/Distant_Early_Warning_Line
 saves lives, but
if Raspbian/Internet-in-a-Box/Etc do not have a GUI-or-similar alert to
signal approaching disk-full danger & facilitate the needed "disk" cleanup,
is this counterproductive, worst case perhaps creating a false sense of
security among implementers?*

*(If so wasting impoverished citizens' prescious SD card funds to no
benefit, or worse giving them a false sense security around RPi reliability
alongside implementers?)*
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel