Re: Partitions <limits> suggestion.
Oded Naveh wrote:
> This suggestion is based on the '91edumain+ltsp' recipe,
> the recent results reported by Vagrant and those on my systems.
>
> used min priority factor max type desc
> -----------------------------------------------------
> 4562 4608 9608 5000 6000 ext3 /usr
> (5632)(6000) (1392)
> 1720 1792 5792 4000 5000 ext3 /var
> (900) (3000) (2100)
> 17 100 3100 3000 20000 ext3 /skole/tjener/home0
> (1500) (1400)
> 34 64 3064 3000 4096 ext3 /var/spool/squid
> (1000) (936)
> 633 640 2640 2000 4096 ext3 /opt
> 3385* (2000) (1360) (4000)
> - 256 2256 2000 2048 linux-swap
> (32) (10000) (9968) (300%)
> 100 112 2112 2000 1024 ext3 /
> (10000) (9888) (512)
> 34 92 1092 1500 3000 ext3 /var/opt/ltsp/swapfiles
> (2000) (1908)
> 17 64 1064 1000 2000 ext3 /skole/backup
> (1000) (936)
> 22 64 1064 1000 128 ext3 /boot
> (10000) (9936) (200)
> - 32 532 500 -1 ext3 /debianedufreespace
> (1000) (968)
> ________________________________
> 7156 7824 25000
i think this tables was a bit garbled in my mailclient ?
would you mind pasting your orginal into
http://wiki.debian.org/DebianEdu/Devel/DiskUsage
>
> The table is ordered by factor then by size.
> Numbers in parentheses are current values of suggested change.
> * WAS used for diskless on my system.
>
> Considerations:
>
> Used initially (used)-
> Amount of used space observed after installation.
> Amounts for long running system are also needed.
>
> Minimal size (min)-
> Try to avoid resize during installation.
> Set grater than used for normal install.
>
> Factor (fact)-
> This what really determines the growth rate of the partition.
> The growth coefficient is fact/factsum.
> fact = prio - min;
> rounded for easier view.
>
> Priority-
> Highest- Limited Maximal size && likely to grow.
> High- As big as possible.
> Low- give me some space.
> Lowest- filler.
>
> /boot-
> Assuming 10M per kernel 64M is plenty.
I would not want boot too be too small.
you may need to install things like memtest. and other tools that may go
in there. and depending on your setup initrd can be smaller or larger.
also this is not a LVM volume so growing it is a lot harder then for the
other volumes.
>
> /-
> With some admins working as root,
> I'd like to give a little space for /root.
>
> /usr-
> Grows over time.
>
> /var-
> Initial needs change, depend on installation medium.
> Likely to grow over time.
>
> /opt-
> Needs 649M for thin-clients, 5G for diskless.
>
> /var/opt/ltsp/swapfiles-
> Depends on number and type of clients.
> I think 256-512 per client.
> I don't see any reasonable default for this.
> Probably needs manual adjustment.
>
> /skole/tjener/home0-
> Depends on number of users.
> I don't see any reasonable default for this.
> Probably needs manual adjustment.
>
> /var/spool/squid-
> User experience may benefit immensely from >512M web cache.
This need to correlate with squid config we provide i belive.
>
> Please add your own.
>
> I wrote a little calculator to predict approximately the resulted partitions of a recipe, it is available at:
> http://bugs.skolelinux.org/attachment.cgi?id=421
> http://bugs.skolelinux.org/show_bug.cgi?id=1327
>
> In hope it will be useful, where in the repository should it reside?
> Would 'debian-edu/trunk/src/debian-edu-install/tools/' be a good home for it?
>
> Odd.
>
>
Thank you for working on partition sizes :)
Ronny Aasen
Reply to: