Re: main+ltsp i386-CD700 test install
On Thu, Mar 19, 2009 at 8:44 AM, Vagrant Cascadian <vagrant@freegeek.org> wrote:
> i did a test install, and it basically worked...
>
> here's the results of the installed partitions on a main+ltsp install
> from the install CD earlier today:
>
> this was with a 14G disk- i haven't tried a smaller disk yet.
I got very similar results with 15GB, from:
Debian GNU/Linux 5.0r0+edu0~a0 _Lenny_ - Unofficial i386 CD700 Binary-1 20090316-20:49
When using auto-partitioning.
here side by side with their limits definitions:
>
> output of df -m:
>
> Filesystem 1M-blocks Used Available Use% Mounted on
> /dev/mapper/vg_system-root
> 473 95 354 22% /
/dev/mapper/vg_system-root
473 100 349 23% /
& 112 10000 512
> /dev/hda1 183 22 151 13% /boot
/dev/hda1 183 22 151 13% /boot
& 64 10000 200
> /dev/mapper/vg_system-opt
> 1327 507 754 41% /opt
/dev/mapper/vg_system-opt
1351 633 649 50% /opt
& 640 2000 4000
> /dev/mapper/vg_system-skole+backup
> 607 17 560 3% /skole/backup
/dev/mapper/vg_system-skole+backup
623 17 574 3% /skole/backup
& 64 1000 2000
> /dev/mapper/vg_system-skole+tjener+home0
> 823 17 765 3% /skole/tjener/home0
/dev/mapper/vg_system-skole+tjener+home0
843 17 783 3% /skole/tjener/home0
& 100 1500 20000
> /dev/mapper/vg_system-usr
> 5469 4562 630 88% /usr
/dev/mapper/vg_system-usr
5473 4562 633 88% /usr
& 4992 6000 6000
> /dev/mapper/vg_system-var
> 2119 1716 296 86% /var
/dev/mapper/vg_system-var
2158 1720 329 84% /var
& 900 3000 5000
> /dev/mapper/vg_system-var+opt+ltsp+swapfiles
> 1178 34 1084 4% /var/opt/ltsp/swapfiles
/dev/mapper/vg_system-var+opt+ltsp+swapfiles
1213 34 1118 3% /var/opt/ltsp/swapfiles
& 92 2000 3000
> /dev/mapper/vg_system-var+spool+squid
> 607 33 543 6% /var/spool/squid
/dev/mapper/vg_system-var+spool+squid
623 34 557 6% /var/spool/squid
& 64 1000 4096
>
> both /var and /usr at 86+% seems a little higher than you might want
> for a typical install, though i suspect a typical install will have
> larger than a 14G drive. about 1300M+ was in /var/cache/apt, as i
> used the i386-CD700 for the install, and it downloaded a lot of packages from the network mirrors.
/usr <limits> is now 5632 6000 6000
I gather /var has different requirements installing from DVD, yet maybe its minimal size should be set aprox. 2200.
>
> fsautoresize didn't have to kick in, at least.
>
> output of lvs --unit m:
>
> LV VG Attr LSize Origin Snap% Move
> Log Copy% Convert
> opt vg_system -wi-ao 1348.00M
> root vg_system -wi-ao 488.00M
> skole+backup vg_system -wi-ao 616.00M
> skole+tjener+home0 vg_system -wi-ao 836.00M
> swap_1 vg_system -wi-ao 732.00M # guess 512M RAM
> usr vg_system -wi-ao 5556.00M
> var vg_system -wi-ao 2152.00M
> var+opt+ltsp+swapfiles vg_system -wi-ao 1196.00M
> var+spool+squid vg_system -wi-ao 616.00M
opt vg_system -wi-ao 1.34G
root vg_system -wi-ao 488.00M
skole+backup vg_system -wi-ao 632.00M
skole+tjener+home0 vg_system -wi-ao 856.00M
swap_1 vg_system -wi-ao 544.00M # with 192M RAM
& 32 10000 300%
usr vg_system -wi-ao 5.43G
var vg_system -wi-ao 2.14G
var+opt+ltsp+swapfiles vg_system -wi-ao 1.20G
var+spool+squid vg_system -wi-ao 632.00M
With additional free space:
tjener:~# vgs
VG #PV #LV #SN Attr VSize VFree
vg_system 1 9 0 wz--n- 13.80G 624.00M
>
> the filesystem overhead took a noticeable amount of space ... with
> /usr, compare 5556 (lvm) to 5469 (mounted filesystem).
>
> looked like the CD was missing about 15M of packages to install ltsp
> without pulling stuff from the network, but some of those may be
> recommends only, and it might actually install LTSP without them.
>
> live well,
> vagrant
In general these results look reasonable.
The problems I had where on another box, the one with 13GB drive and 512MB RAM.
On top of that I was using guided-partitioning to avoid trashing the other drive.
I realize two reasons for the problem namely debianedufreespace (700+ MB) and swap_1 (1.3GB).
On subsequent installs I lvremoved both from another VT.
The problem is one can't remove or adjust them from within the installer.
To deal with debianedufreespace we'd may modify fsautoresize to check for its existence, verify it's empty and remove it.
For swap_1, I think we should change the limits. On my system it occupied >10% disk-space and brought down the installer, but I read here of working servers with 8GB RAM that would have 24GB swap???
No problem to install but may get >10% disk-space again.
I'd say lower priority and tighter limits: 256 2000 2048, or so?
I'd probably prefer another swap over larger swap.
Odd.
==================================================================
Appended my results on their own:
Debian GNU/Linux 5.0r0+edu0~a0 _Lenny_ - Unofficial i386 CD700 Binary-1 20090316-20:49
tjener:~# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/vg_system-root
473 100 349 23% /
/dev/hda1 183 22 151 13% /boot
/dev/mapper/vg_system-opt
1351 633 649 50% /opt
/dev/mapper/vg_system-skole+backup
623 17 574 3% /skole/backup
/dev/mapper/vg_system-skole+tjener+home0
843 17 783 3% /skole/tjener/home0
/dev/mapper/vg_system-usr
5473 4562 633 88% /usr
/dev/mapper/vg_system-var
2158 1720 329 84% /var
/dev/mapper/vg_system-var+opt+ltsp+swapfiles
1213 34 1118 3% /var/opt/ltsp/swapfiles
/dev/mapper/vg_system-var+spool+squid
623 34 557 6% /var/spool/squid
tjener:~# vgs
/dev/cdrom: open failed: No medium found
VG #PV #LV #SN Attr VSize VFree
vg_system 1 9 0 wz--n- 13.80G 624.00M
tjener:~# lvs
/dev/cdrom: open failed: No medium found
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
opt vg_system -wi-ao 1.34G
root vg_system -wi-ao 488.00M
skole+backup vg_system -wi-ao 632.00M
skole+tjener+home0 vg_system -wi-ao 856.00M
swap_1 vg_system -wi-ao 544.00M
usr vg_system -wi-ao 5.43G
var vg_system -wi-ao 2.14G
var+opt+ltsp+swapfiles vg_system -wi-ao 1.20G
var+spool+squid vg_system -wi-ao 632.00M
tjener:~# free -m
total used free shared buffers cached
Mem: 186 178 7 0 3 58
-/+ buffers/cache: 117 69
Swap: 543 79 464
Reply to: