On Fri, 13 Jan 2012 14:12:46 +0200 Vitali <coonar...@gmail.com> wrote:
> On Fri, Jan 13, 2012 at 1:40 PM, lilit-aibolit > <lilit-aibo...@mail.ru> wrote: > > Hi misc. Here is newbee question. > > I have disk with unused space: > > > > # disklabel -p g wd0 > > B k: B B B B B B 18.1G B B B B 40266255 B 4.2BSD B 2048 > > 16384 B > B 1 # /home > > > [some text is cut] > > > > In /var I store some sites for apache and need more space for it. > > How can I use unused space B for /var or it will be used > > automatically when /var reaches capacity 100%? > > > > Yeah, this is a newbie question. Really. > Next time do not use the "a" option in the installer, just try to > think logically and _strategically_. > First add the "a" partiton, mark it "/" 512mb is more that enough. > Second - b this is SWAP. You available RAM * 2 == SWAP. But is't not > always true, just depends on the tasks the machine will be running. > So, I use this formula not every time I install the OS, for example in > my note the RAM is 2gb, but SWAP is 1gb. Well, it's a matter of > philosophy and empirics you know... :) > > Third - "d" partition assign it to /usr; the size, coming again, > depends on your tasks. It maybe 80% of the space left available, or > more, or less... > Fourth - "e" - /var - the rest of the space left after the /usr > partition assigning... And, just in a case, have an f partition available, and name it /backup, to rsync your most valuable data there. such way you will be able to have consistent dumps of your data. remember - binaries are nothning, the data is everything. -- With best regards, Gregory Edigarov