5962
Comment:
|
6473
Added comments from replies on mailing list.
|
Deletions are marked like this. | Additions are marked like this. |
Line 140: | Line 140: |
[Ronny Aasen] | |
Line 150: | Line 151: |
[Vagrant Cascadian] we definitely should not have the minimum size less than 90% of the expected size. earlier, /usr minimum was closer to 4600, and that triggered the "resize during install" problem, untill we upped it to around 5600. |
|
Line 157: | Line 160: |
[Vagrant Cascadian] i'd say /opt needs a minimum of 1G, as it may need more space during the install than after (for downloaded packages), as it automatically cleans out the LTSP chroot's /var/cache/apt/archives when it finishes the install. |
|
Line 171: | Line 176: |
[Ronny Aasen] |
list up the default usages of the various profiles. To ease writing partition recipes
To think about when writing recipes
- make sure df report at least 10% free space to keep nagios quiet
- remember 5% is reserved for root (so 15% free space is needed)
- allow a big home0 on mainserver,
- the partitioning tool will round up or down to the nearest "cylinder"
- try to keep sizes a multiplum of 64 MiB, round up to nearest
Profiles from cd
main
df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_system-root 910M 84M 780M 10% / udev 10M 52K 10M 1% /dev devshm 65M 0 65M 0% /dev/shm none 65M 8.0K 65M 1% /tmp /dev/sda1 92M 13M 75M 15% /boot /dev/mapper/vg_system-skole+tjener+home0 2.6G 69M 2.4G 3% /skole/tjener/home0 /dev/mapper/vg_system-usr 2.7G 401M 2.2G 16% /usr /dev/mapper/vg_system-var 1.3G 128M 1.2G 11% /var
thin-client-server
Filesystem Size Used Avail Use% Mounted on /dev/vg_system-root 721M 85M 600M 13% / udev 10M 52K 10M 1% /dev devshm 65M 0 65M 0% /dev/shm none 65M 68K 64M 1% /tmp /dev/sda1 92M 13M 75M 15% /boot /dev/vg_system-opt 1.7G 502M 1.1G 32% /opt /dev/vg_system-usr 2.9G 1.4G 1.4G 50% /usr /dev/vg_system-var 1.2G 125M 1019M 11% /var /dev/vg_system-var+opt+ltsp+swapfiles 1.2G 34M 1.1G 4% /var/opt/ltsp/swapfiles
workstation
Filesystem Size Used Avail Use% Mounted on /dev/vg_system-root 5.4G 287M 4.8G 6% / udev 10M 52K 10M 1% /dev devshm 65M 0 65M 0% /dev/shm none 65M 32K 65M 1% /tmp /dev/sda1 92M 13M 75M 15% /boot /dev/vg_system-usr 2.2G 1.4G 769M 64% /usr
standalone
Can be ignored becouse of manual partitioning.
Combined main + ltsp
Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_system-root 380M 72M 289M 20% / udev 10M 52K 10M 1% /dev devshm 65M 0 65M 0% /dev/shm none 65M 36K 65M 1% /tmp /dev/sda1 92M 13M 75M 15% /boot /dev/mapper/vg_system-opt 1.8G 497M 1.2G 30% /opt /dev/mapper/vg_system-skole+tjener+home0 2.0G 68M 1.9G 4% /skole/tjener/home0 /dev/mapper/vg_system-usr 2.3G 1.4G 796M 64% /usr /dev/mapper/vg_system-var 1.2G 154M 924M 15% /var
Combined main +ws + ltsp
Profiles from dvd
main
thin-client-server
workstation
standalone
Can be ignored becouse of manual partitioning.
Combined main + ltsp
Combined main +ws + ltsp
Suggestion
This suggestion is based on the '91edumain+ltsp' recipe, the recent results reported by Vagrant and those on my systems. used min prio 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 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. [Ronny Aasen] 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. [Vagrant Cascadian] we definitely should not have the minimum size less than 90% of the expected size. earlier, /usr minimum was closer to 4600, and that triggered the "resize during install" problem, untill we upped it to around 5600. /var- Initial needs change, depend on installation medium. Likely to grow over time. /opt- Needs 649M for thin-clients, 5G for diskless. [Vagrant Cascadian] i'd say /opt needs a minimum of 1G, as it may need more space during the install than after (for downloaded packages), as it automatically cleans out the LTSP chroot's /var/cache/apt/archives when it finishes the install. /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. [Ronny Aasen] This need to correlate with squid config we provide i belive. Please add your own.
Particulator is a little calculator to predict approximately the resulted partitions of a recipe, in hope it will be useful.