[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Second hard drive ...



Where exactly is /home running out of space?  To get a good look:
cd /home; du -s *

One possible suggestion would be to make sdb1 the whole of sdb
and mount it as the samba root.  Then move all of /home except
the web root to / and use the current home partition for just
the web stuff.  Of course, this all depends on exactly how much
is where.  Post the output of the above and I could give a more
concrete response.

As for swap, do you need more?  Do not believe the silly,
outdated "rules of thumb" I still see quoted.  Think about how
swap is used:  Swap + RAM = MaximumPossibleMemory.  Solving,
we get:  Swap = MaximumPossibleMemoryNeeds - RAM.

Decide what your "MaximumPossibleMemoryNeeds" are and do the
math.  If 128Mb is enough, leave it alone.  If you do need
more (or just want more for good measure), adding swap on
the second drive would be a good idea.  You can have many
swap partitions, but if you locate them on different spindles
(drives), they may work faster, since both drives' heads can
be in motion at the same time (swap speed has a lot to do with
how much actual movement is required by the drive's head).
Of course, getting more RAM these days is often cheaper than
more drive space, and actual RAM is _much_ better than the
fastest swap.  IMO, get enough RAM so that touching the swap
at all is only done under the most extreme loads you will be
subjecting the system to.

	- Kevin Colby
	  kevinc grainsystems com


Anurag Jalan wrote:
> 
> Hi all,
> 
> My RH 6.2 server has 2x 9GB SCSI hard drives .  /dev/sda has
> 4 primary partitions,  Swap = 128 Mb , /boot = 50 Mb , / = 6.5 Gb
> and /home = 2.5 Gb .
> 
> The /home partition contains the SAMBA filetree and the
> Web directories and is rapidly running out of space . How
> should i partition /dev/sdb , given that i still have about
> 2.5-3 Gb of the / partition FREE ? Do I need to create a
> swap partition on /dev/sdb ?
> 
> Thanks in advance
> 
> Anurag





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]