I prefer to define my parts manualy like this A / 256Mo B swap 1024Mo (or 4096 max on machines that will open read&write mode many many big files at same time only) D /tmp 1024Mo usualy, 4.3Go if you create many DVD's E /var 1024Mo to 4096Mo usualy 1024, 4096 while using apache/mysql/php/ only or apps that write many log files F /usr 1024Mo G /usr/X11R6 256Mo H /usr/local 4096Mo to 8192Mo (depending on application list you have to install) usualy 4096Mo il already too big I /usr/src 2048Mo J /home all of the free space
when I have 2 or more disks I put /var swap & /tmp & /usr/local if I have enough free space on the fastest disk in the machine When your /var will be full, it will not grow up, you have to purge some log files (use logrotate or so will help), to purge read mails & print queues to get free space. With a so huge /var 90% is anormal, you should already look for a logrotate solution or choose a new partition map you will use on next update of the machine. > ---------------------------------------- > From: lilit-aibolit <lilit-aibo...@mail.ru> > Sent: Fri Jan 13 12:40:37 CET 2012 > To: <misc@openbsd.org> > Subject: disk management > > > Hi misc. Here is newbee question. > I have disk with unused space: > > # disklabel -p g wd0 > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 1.0G 63 4.2BSD 2048 16384 1 # / > b: 1.2G 2097215 swap > c: 37.3G 0 unused > d: 2.6G 4683375 4.2BSD 2048 16384 1 # /tmp > e: 4.0G 10052439 4.2BSD 2048 16384 1 # /var > f: 2.0G 18541648 4.2BSD 2048 16384 1 # /usr > g: 1.0G 22735952 4.2BSD 2048 16384 1 # > /usr/X11R6 > h: 3.5G 24833104 4.2BSD 2048 16384 1 # > /usr/local > i: 1.9G 32229473 4.2BSD 2048 16384 1 # /usr/src > j: 1.9G 36247864 4.2BSD 2048 16384 1 # /usr/obj > k: 18.1G 40266255 4.2BSD 2048 16384 1 # /home > > > and I have /var with ending space: > > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/wd0a 1005M 206M 749M 22% / > /dev/wd0k 17.8G 411M 16.5G 2% /home > /dev/wd0d 2.5G 6.0K 2.4G 0% /tmp > /dev/wd0f 2.0G 927M 985M 48% /usr > /dev/wd0g 1005M 167M 787M 18% /usr/X11R6 > /dev/wd0h 3.5G 280M 3.0G 8% /usr/local > /dev/wd0j 1.9G 993M 841M 54% /usr/obj > /dev/wd0i 1.9G 790M 1.0G 43% /usr/src > /dev/wd0e 4.0G 3.4G 376M 90% /var > > In /var I store some sites for apache and need more space for it. > How can I use unused space for /var or it will be used automatically > when /var reaches capacity 100%? > Cordialement Francois Pussault 3701 - 8 rue Marcel Pagnol 31100 ToulouseB FranceB +33 6 17 230 820 B +33 5 34 365 269 fpussa...@contactoffice.fr