Jump to content

Partitioning question....


shen
 Share

Recommended Posts

Ok I have been using MDK 9.1 for almsot 2 months now...I am going to reinstall now since I have managed to basically tear up my initial install from experiementing anf such..:) Anyways here's my planned partitions....

 

/, /usr, /home, /var, /tmp

 

The HD I am installing on is a 30 gig HD and MDK will use the entire HD... I know /home will need some space since that will be my home dir so to speak....I know var is generally for log files and /tmp for temp files, /usr for installed apps and such... and / I know everything else goes there....

 

Anyways just looking for some opinions on how much HD space to alot for each mount point...Open to any and all suggestions..:)

 

Thanks in advance for any suggestions and insight...

Link to comment
Share on other sites

if it were me...and I'm normally a little off, I'd do like this:

 

/ - 1GB

SWAP -700MB

/usr - 8GB

/var - 5GB

/home - 14.5GB

/tmp - 500MB

 

My drive is a 100GB as it broken up as follows:

 

/ - 3.8 GB 2.5% used

/usr - 7.9GB 24.3% used

/var - 6.8 GB 35.8% used

/opt - 9.8GB 24.1& used

/home - 5.2GB 3.5% used

/stuff - 59.4 GB 60% used

/VMS - 9.8 GB 10% used

/tmp - 1.9 GB 1.8% used

 

Granted, thats not efficiency at it finest, but it works for me!

Link to comment
Share on other sites

It's based on your needs. Are you running a web server with a lot of hits? If so, you should allocate space for your /var. If you are not, maybe a /var partition is a waste. I run a home computer with

 

/

/usr

/home

 

and have no problems..

 

You might also want to start them all off small and if you need to you can resize or attach new partitions as you need them..

 

Another thing you can do is check your existing partition sizes

 

use the du -s command for getting a size of a folder and its subcontents.

Link to comment
Share on other sites

The system is just a home pc.. will not be run as a public server of any kind. Although for my purposes I will have MySql, FTP, Apache and SSH servers running, SSH so I can connect remotely if needed and FTP to send files and allow friends to log in and grab something if need be.. Apache and MySQL will be used strictly for my own testing purposes..

 

I guess I should have been more clear on what the pc was going to be used for. ATM my setup is 1 gig swap, 8 gig / and the rest in /home...works great but I was considering alternative setups...So far most of this is mainly a big learning process as I migrate from windows to Linux full time..:) Unfortunately I still have to have Windows at work...

Link to comment
Share on other sites

This is my current setup..

 

Filesystem            Size  Used Avail Use% Mounted on

/dev/hdc7             600M  373M  228M  63% /

/dev/hdc8             4.0G  3.3G  691M  83% /usr

/dev/hdc9            1000M  355M  645M  36% /home

/dev/hdc10            4.9G  3.1G  1.9G  62% /share

/dev/hda5             9.8G  5.6G  4.3G  57% /mnt/software

/dev/hda6             5.5G  4.3G  1.2G  79% /mnt/media

/dev/hdc5             8.7G  7.3G  1.4G  85% /mnt/wintemp

/dev/hdc6             9.8G  8.5G  1.4G  87% /mnt/winrip

/dev/hdc11            3.4G  1.2G  2.2G  36% /mnt/win2k

 

Note on the / partition. When I did large numbers of rpm updates, I ran out of space. I ended up adding a symbolic link to a folder in /share to add more space for that purpose..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...