LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 08-14-2005, 06:34 PM   #1
vmanivan
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Recommended Partition Sizes


Hello. I am making a web server and would like to use Slackware as the OS. The last linux OS I installed was Fedora, so it automatically took care of the partitioning.

I have a good idea of how to partition using fdisk from Googling, but I couldn't find any recommended sizes for partitions. I realize that this varies based on numerous factors, but I would like some numbers, at least as a ballpark estimate (something I can go by).

I am creating the following partitions:

/boot
/tmp
/
/var
/usr
/home
swap

The hard drive capacity is 3.2 GB and I am making the swap partition 48 MB because I only have 24 MB RAM (It's an old computer). Thanks in advance.
 
Old 08-14-2005, 07:05 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
you do not need to make all those partitions. You can make a /boot if you are planning to dual boot with another distro (which by your hard drive space, you are likely not). You can make a /home so that data and preferences persist, but sometimes it is cleaner to save what you need and restore them with your head. Swap looks good.
 
Old 08-14-2005, 10:07 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
My rule of thumb is that if you do not know what size to make the seperate partitions you should not make them.
About the only time I create extra partitions is on a server.
I find and read some articles that discuss this, check sizes of those filesystems on current running systems, consider what the difference might be with server usage, and guess.
 
Old 08-16-2005, 10:21 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,436
Blog Entries: 11

Rep: Reputation: 181Reputation: 181
Hy i had a slackware webserver with ssh and some user. I also had a wide range of partitions. I just post them so you have some figures. Nearly all of slackware 9.1 packages had been installed beside any Desktop system

1.7G for / with 4% used
83Mb for /boot with 5% used
894Mb for /home with 1% used
447Mb for /tmp with 1% used
1G for /usr with 44% used
350Mb for /var with 22% used

Like you see root was far to high, but if you need a Desktop it might be reasonable. Home was only filled with my own two users, so way oversized. Should bee enough for 10to 100 users. tmp: who knows what you are to install. usr is the only real used spaced. var depends on your logging avtivity. I just would give it 1G so you can store a lot and for long time.

Hope it helps somehow.

edit: Did not see that you only had 3G space. But i think you can ajust the numbers to your space....

Last edited by zhjim; 08-16-2005 at 10:23 AM.
 
Old 08-17-2005, 04:53 AM   #5
Douwe
Member
 
Registered: Jun 2002
Location: the Netherlands
Distribution: Slackware, Zenwalk
Posts: 38

Rep: Reputation: 15
Re: Recommended Partition Sizes

Quote:
Originally posted by vmanivan
Hello. I am making a web server and would like to use Slackware as the OS. The last linux OS I installed was Fedora, so it automatically took care of the partitioning.

I have a good idea of how to partition using fdisk from Googling, but I couldn't find any recommended sizes for partitions. I realize that this varies based on numerous factors, but I would like some numbers, at least as a ballpark estimate (something I can go by).

I am creating the following partitions:

/boot
/tmp
/
/var
/usr
/home
swap

The hard drive capacity is 3.2 GB and I am making the swap partition 48 MB because I only have 24 MB RAM (It's an old computer). Thanks in advance.
I would make 3 partitions:
48 MB swap (you figured that out well).
1.5GB / the system (maybe 3 GB, maybe 1 GB, it is a matter of taste).
the rest /home.
If you are going to install a new distro or a fresh install for an update, only / will be newly formatted & installed.

A trick I use:
Not only /home I want to preserve, but /etc and /usr/local too.
the trick is: make dirs /home/etc and /home/usr/local
Copy the stuff of /etc to /home/etc
#cp -a /etc /home/etc
# rm -rf /etc
# ln -s /home/etc /etc
Same trick for /usr/local

Only one extra partition with 'stuff to save'.
Works fine for me on an old computer.
The advantage is: One partition with all stuff to preserve, not the overhead of more extra partitions.
Hope this helps.
 
  


Reply


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
Partition sizes?? coldsalmon Linux - Newbie 6 03-18-2005 03:43 PM
Partition sizes for me Doctor Orange Linux - Newbie 2 08-13-2004 09:50 AM
Partition sizes r3dhatter Linux - Newbie 8 07-19-2004 09:01 PM
recommended partitions/sizes for manual part. redhat install. iLLuSionZ Linux - Newbie 15 11-15-2003 05:37 PM
Help partition sizes? vicente Linux - Software 2 07-09-2001 07:40 PM


All times are GMT -5. The time now is 04:34 AM.

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