Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


1080p

1332 posts

Uber Geek
Inactive user


#38014 22-Jul-2009 22:40
Send private message

I have the chance to play around with a server which will be running Debian Stable. I will be installing the OS from scratch on a 500GB Hard Drive and have a question regarding partitions.




I am a somewhat n00b to Linux but do have a basic working understanding. The main purpose of this server will be to run rtorrent + rtgui for sharing my 'linux isos', an FTP server (vsftpd), ZNC (IRC Bouncer) as well as the possibility of a LAMP server for a very low traffic website (basically for me to play with).




I'd like to know what you're thoughts on an optimal partitioning of the drive would be? Obviously 'linux isos' take up the majority of the space but as far as I can gather from my Google trawls I should partition something like this:












1. / (root partition containing /etc, /bin, /sbin, /lib etc... all the 'OS stuff') .... 2GB

2. Swap ................................................................................................ 1.5GB

3. /tmp & /var (all the updatable and temporary files etc...) ........................ 5GB

4. /home (where all the data goes) .......................................................... 'The Rest'







Its late and I can't think of what I have forgotten (if anything) but feel free to critique this setup.




The server itself will be:




Intel Dual Core E2180 (2.0GHz)

1GB DDR2 SDRAM (upgrading to two when I have the cash)

500GB HDD




Many thanks in advance for any help you are able to provide.

Create new topic
lpcustom
13 posts

Geek


  #243747 7-Aug-2009 04:01
Send private message

I'm sure you've already worked this out but here's my reply anyway.

You may want to increase the root a bit. This is especially true if you don't have a separate /usr directory. Also, since the default Apache configuration on Debian had your web root at /var/www, you may consider increasing the size of /var. Your apt cache is in /var as well. So, if you don't regularly apt-get clean, you'll soon run out of space there.
Hope this helps.



mjb

mjb
996 posts

Ultimate Geek

Trusted

  #244031 7-Aug-2009 18:51
Send private message

My usual layout is:

/ 500MB
/usr 3-5GB, depending on how much software will be installed
/var 10-15GB
/mount - the rest

/home and /tmp are just symlinks to /mount/home and /mount/tmp

sometimes I roll /var into that too.

For swap, I intersperse 1024MB partitions in between the rest till I get to twice the RAM, or until there are no more partition spots left, whichever comes first. (Usually only 2GB. If there will be RAM hungry apps installed, I buy more RAM rather than increasing the swap. I'd rather never hit swap).




contentsofsignaturemaysettleduringshipping


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.