Partition recommendation
Hello everyone,
I have 40 GB of free disk space on my hard drive that I would like to dedicate to Slackware. I am looking for some advices about the optimal partitioning strategy to adopt: size of /(root) partition, /usr, /home, ... Thanks! |
This can be hard to define since everyone has different needs, and depending on what you are going to use this for. If you are using it to test and run different software, you might need a larger /(root) partition.
If you are using it for just general web surfing, checking you emails, keeping in contact with friends, you might not need such a large root partition and only need a small /home. If you download mp3 and videos, you will need a larger /home partition. If you are running just servers on it, your log files can become quite large quickly, so you may need to have /var/log on a separate partition and define a larger size for it. |
if i were you i would make /home 30G and /10G this is if u will use it as a Desktop
|
I would create a swap partition, if there's still no one.
Usually it's recommended to have swap space at least as your RAM is. |
I too would go with 10G for "/" and the rest for /home (and around 1G for swap, if you haven't already set that up.)
Usually a normal slackware installation would take up around 3-4G. And the rest of the space in / can be used for additional program installation. In case you run out of space on /, then you can repartition your /home and assign additional space to "/" as and when needed. |
Hi,
Quote:
If you don't add a lot then your '/usr' could be squashed down a bit. This particular machine is a testbed so things have been generous for space allocation. I hope this satisfies your post request. Code:
:~# fdisk -l |
If you wanted maximum space efficiency you could just make one large partition. The downside is upgrades will be more difficult.
|
I would like to thank you all for your advises. I'm going for 1 GB of swap with the configuration style proposed by onebuck. Thanks!!!
|
Instead of separate HD partition for /tmp, I create it in ram by having the following line in '/etc/fstab':
Code:
tmpfs /tmp tmpfs defaults 0 0 Bill. |
Quote:
|
Quote:
Bill. |
Hi,
You can always set the 'size' of the RAM that will be used by tmpfs; Quote:
|
Any fixed partitioning scheme is inflexible. If you guess wrong about how your different filesystems will grow, you can have one running out of space while another has bytes to spare.
Have you considered LVM? (I assume that Slack can do LVM.) |
Quote:
|
Glad to know that (as I suspected) Slack has LVM.
No argument about simplicity and ease of recovery; my comment was offering an alternative to post #6 . |
All times are GMT -5. The time now is 09:16 PM. |