Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-25-2006, 09:05 PM   #1
Registered: Nov 2004
Posts: 78

Rep: Reputation: 15
Partitioning for server

So I'm in the early stages of setup a homebrew fileserver/backup server.
In it will be two harddrives:
hda (80gigs)
hdg (160gigs)

I will be using Slackware 10.2 as my distro of choice.

My question is how should partition this harddrive space?
Where should the different partitions be mounted?
I would appreciate you could be specific.


I have no idea on how to approach this situation.

If my anything I'm saying sounds vague please do NOT hesitate to ask.
Old 03-25-2006, 09:24 PM   #2
Registered: Nov 2004
Posts: 78

Original Poster
Rep: Reputation: 15
I did some digging and came up with a rough sketch. What do you think?


These were the six partitions I am considering doing.
Any suggestions? How much space should I allocate to each?

Here is one idea.

1gig swap hda1
39gig / hda2
160gig /home hdg1
20gig /usr hda3
5gig /var hda4
5gig /tmp hda5

How does this sound?
Old 03-25-2006, 09:31 PM   #3
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
If it will only be serving files and storing archives, I would do as follows:

/boot: 50M
/usr: 1G
/var: 1G
/: 2G
/mnt/backup: 130G
/mnt/files: 100G

As a comparison, my office fileserver / domain controller is as follows:
Disk usage :
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             1.9G   85M  1.8G   5% /
/dev/sda1              46M  7.1M   37M  17% /boot
/dev/sda3             1.4G  116M  1.3G   9% /var
/dev/sda5             1.4G  767M  662M  54% /usr
/dev/sdb1              35G   15G   20G  43% /home
/dev/sdc2              38G   19G   19G  51% /mnt/smb
/dev/sdd1             280G  168G  112G  61% /mnt/data1
/dev/sdc1              75G  2.1M   75G   1% /mnt/blank1
/dev/sdc3              38G  272K   38G   1% /mnt/blank2
/dev/sdf1             234G  170G   65G  73% /mnt/data2
This machine serves 50+ users and ten years of business data.
Old 03-26-2006, 06:05 AM   #4
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
If your putting /usr on a separate partition then there is no need to have so much space for /. Maybe 512 megs for /.

Depending on what software you are going to install a gig for /usr may be a bit short, and 20 gig is way over the top. I also like to put /tmp on a separate partition.

Your swap space could also be reduced to 512 megs.

Remember the less space you waste in things like /usr, / the more you have for backups and future ideas. You don't have to use all of the space now, leave some unpartitioned space left on the drive if you don't need it - it'll give more flexibility for the future.

Anyhow, for the sake of interest:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             283M  137M  146M  49% /
/dev/hda5             283M   33M  251M  12% /tmp
/dev/hda6             2.0G   58M  1.9G   3% /var
/dev/hda7             7.7G  1.9G  5.8G  25% /usr
/dev/hda8              20G  1.1G   19G   6% /home
/dev/hdb1             154G  105G   49G  69% /disk1
When I first built the server I didn't know exactly what I wanted it to do, so I left loadsa room for /usr. It servers about 6 people, though only one has an account, the others have access to the public (within local network only of course) smb file shares only. hda is 60 gigs, the difference between that and adding up all the partitions on hda on the table is unpartitioned, so when I need a new partition for some project I don't have to reorganize the whole drive and reinstall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ideas for partitioning a mail server? Homer Glemkin Linux - Newbie 2 02-13-2006 02:49 PM
Trouble Partitioning an 80gig for home brew server. barton Slackware 4 12-15-2005 04:59 PM
Web Server Partitioning toneee Slackware 4 02-01-2005 08:51 PM
Partitioning on Redhat Enterprise Server 3 IA 64 santosh_rokade Red Hat 1 09-09-2004 05:15 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration