Ask Your Question
0

what should be the partition for 320gb hard disk

asked 2016-08-26 13:14:15 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

what should be the partition for 320gb hard disk for fedora 24 workstation?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-09-20 10:06:35 -0600

zdenek gravatar image

updated 2016-09-20 10:13:08 -0600

1. At the first step, the best practise is to separate /home directory from /root file system during the system installation. Thanks that you can re-install OS without losing personal data in the future.

2. For /boot partition, I keep default value assigned with the system installer (e.g. 500 MB)

3. For swap - I have read topics that swap is not needed if you have lots of physical memory (8 GB RAM and more). Anyway I would recommend to keep swap partition mainly if you are going to run virtual machines. I have 8 GB of RAM and it happened to me many times that swap was used with hundreds of MB when I ran Virtual machine (MS Windows for example). Swap size can be 4 GB - 8 GB.

4. Size of / (root) file system - important to think ahead, what should be purpose of the system. If you are going to install lots of different SW on your PC , virtual machines, etc. then it is better to add more space there.

  • Virtual machines: I use Gnome Boxes for virtualization and virtual machines are installed to your home directory. So no space is wasted in root. Other virtual managers can install VMs to root partition. So depends what solution will be used.
  • Games: Steam games are installed to your home directory, so no space is wasted in root. Some other games installed from RPM package are stored in root partition.

In my private notebook, the size of root is 15 GB (having all games and virtual machines in my home directory separated from root file system) and it is full from half only. In my work notebook, I have lots of stuff installed in the root file system and its usage is 12 GB (out of total 40 GB). So having 20 - 25 GB of root is enough I guess.

The root file system should have minimum of 7 GB free space in order to make system upgrade possible (from F24 to F25 for example) so this should be considered during file system layout planning and sizing as well.

5. Size of Home - Give it the rest :-)

The above given numbers are based on my own experience and someone else can disagree with such layout. If it happen the root is running out of its space, just use some application for disk size management to steal something from home and give it to root.

edit flag offensive delete link more

Comments

Recommendations for swap size can be found on Fedora Docs.

From my experience, the minimum recommended swap size is necessary if you want to the system to be able to go into the hibernate mode.

JetStream gravatar imageJetStream ( 2016-09-21 07:19:31 -0600 )edit
0

answered 2016-08-26 13:27:03 -0600

aeperezt gravatar image

updated 2016-09-20 11:37:27 -0600

Partitions could be default, it is based on preferences now days. It will also depend on how are you going to use it, for instance if you going to be using lots of virtual machines the default 50G for / root system may not be enough (since by default all virtual machines drives goes on /var which will be on root), default will do a 500M /boot 50G / and rest will be home where all your files and must of your data will be. But that does not mean you need to add more space for root partition you can always move routes around to make it work. So if it is a single disk on a machine with no change to add another drive you could go default or change root partition to 100G. But it is an opinion. Many people will not agreed.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-08-26 13:14:15 -0600

Seen: 560 times

Last updated: Sep 20 '16