Re: size of /var partition
-----BEGIN PGP SIGNED MESSAGE-----
On Sun, 28 Nov 1999, Howard Mann wrote:
> I am planning an installation of Debian and
> solicit recommendations for the size of a
> separate /var logical partition. I plan to use
> apt-get to install packages and to upgrade my
> distribution when appropriate.
>
> In section 3.3 of the Debian FAQ, there is a
> recommendation for a /var of 100Mb. However, I
> have seen posts on this list from users who have
> reported failures in "dist-upgrade" because the
> associated space requirements are much larger.
>
> What would you recommend ?
>
> After creating a "large" /var partition, I plan
> to create a symbolic link between /tmp
> and /var/tmp. ( ln -s /tmp /var/tmp ) Is this
> O.K. ?
I have partitioned my 5GB hd at home as follows:
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 129M 68M 58M 54% /
/dev/hda3 364M 205M 151M 58% /var
/dev/hda6 893M 681M 213M 76% /usr
/dev/hda7 3.0G 1.5G 1.5G 49% /home
/tmp is a symlink to /var/tmp, /usr/src a symlink to /home/src, so that
/ and /usr usualy don't change...
120M on /var are used by wwwoffle (this can be reduced very easy by giving
wwwoffle limitations on the cachesize).
If desired /var could be smaller on my system (but due to my installation
history it happened do be 360MB and isn't disturbing), the size of / is
also very static, so it could be easyly 40MB smaller, if the space would
be needed otherwise...
The problems which arises if the space on /var patition is to small for an
apt-get download is easyly to solve: You only have to make
/var/cache/apt/archives a symlink to some place on a partition with
enougth space for the download. At this place you have to have a directory
called 'partial', otherwise apt-get will complain about it. I have had
once this problem when I've upgraded to potato and had to download about
240M deb files...
Martin
- --
Where do you want to go today? - As far from Redmond as possible!
For public PGP-key: finger mfluch@mathphys.fsk.uni-heidelberg.de
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBOEHRxbCGSMW7I2etAQH+9wQApp+y1HIks+exE5MPweG/xz2KKUfGkcwv
mmxK+nfp3DykAxxG7uXRRY9RcK0zte6cG7Eoq+yikhtqfc7Dl13Ni38d1n1V5ZR+
ZwIcIJazj/UsQJz5TjY90EhZ20Xi54tuTO2yKxT8whcigym5pkvcKqEb8BKy3lrn
uSjf2HNj/ac=
=q1oG
-----END PGP SIGNATURE-----
Reply to: