This is not a question about how to create a home partition, just as a caveat. :)
What are the pros and cons to having a separate home partition? How do I know if having one is right for me? Will it increase or decrease speed of file retrieval? Are there any risks?
The biggest pro, in my opinion, is that you can easily install a newer Ubuntu version (or any Linux distro for your architecture, really), without losing most of your custom settings, configurations, downloads, etc., since such a step usually involves wiping out the existing system/boot partitions. You simply choose to preserve your
/home
in the partitioner during install, and you're set. It is also possible to do this with/home
on your/
partition, but is a little more complicated.It also makes resizing/migrating to a larger home partition easier, if you ever need more space.
It isn't going to affect the speed of file access much, UNLESS you tend to have lots and lots of small files in your home directory. e.g., if you are a developer, or you have lots of sources lying around. That MAY affect overall file access speed on the entire partition with some filesystems. In that case, go for a separate /home.
There aren't any risks to making a separate home partition.
Bottom-line: In your place, I wouldn't go for a separate home partition unless I had a second physical drive I wanted to use for it. But if you're not very familiar with Linux or the command-line, and you intend to try out different Linux distributions, a separate
/home
is recommended.It won't speed up file access much, unless the partition the /home is on a faster device. It does allow for separate buffering though, so I guess there would be a minor speed increase from that under the right conditions.
Mainly though, it makes your file system more rugged. Filling up the /home partition does not result in the main filesystem crashing or being unable to update. You can also re-install at any time, and by selecting the advanced mode (partitioner) in Ubiquity you can specify the /home partition without formatting it. This speeds up the installation and leaves your data intact, even if you wish to format the / partition at that time.
A separate /home can also make data retrieval easier in the case of a crash. If you suffer from a failed release upgrade for example, the /home partition will be untouched and you can easily recover by installing or re-commencing the upgrade without being too concerned about your data. On one of my machines /home is on a separate drive, physically insulating the data from problems on the first hard drive.
Having a separate /home partition does NOT negate the necessity to do proper backups of your important data however. You should never entrust your most important files to just one drive or partition.
There are no problems with having a separate /home, as long as the person administering the system has the ability to understand and set up subsequent releases correctly.
Since Ubuntu itself requires less than 4GB, efficiently sizing the / partition is the key to success. Generally 15-20GB is more than enough for the / partition no matter you want to do, however if you want to install large database programs (oracle) setup large servers, or doing anything else that the normal desktop user will not do, then you need to understand the requirements for the system you are trying to build before proceeding.
I like to have two / partitions. Subsequent releases can then be put on the next partition, allowing me a complete fallback to the previous release in the event of problems. This has stood me in good stead recently, when problems were encountered configuring shares in the LAN. The previous release could be booted while the problems were sorted out, minimising disruption for people using these shares. Two 15-20GB partitions do not take up much space on modern hard drives.
The main disadvantage I can see if you have a separate
/home
partition is that space is not optimized.For example, you may not have enough space to install new software in
/usr
or you may not have enough space to add new data to the/home
partition.So the advantage of not using a separate
/home
partition is that you are only limited by the size of the whole drive and not the size of your partitions.