Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK when I built my system a few years ago and was installing Linux I divide my SSD into serprate partitions, ~60GB for / and the rest for /home. Now I'm wondering if I went overboard having that much space for /. Did I?
OK when I built my system a few years ago and was installing Linux I divide my SSD into serprate partitions, ~60GB for / and the rest for /home. Now I'm wondering if I went overboard having that much space for /. Did I?
There's no real answer to that question. Through time and usage only you can determine the right size for your needs.
My root partition is 35G and it never reach to that size over the years. It is currently using only 9.75GB of the 35G.
If you're concern about space and you want to make the most of your space, you can see up your SSD as a LVM. With LVM, you can adjust the size of the partitions where needed. You can also do snapshots for backups and system restores.
If you're concern about space and you want to make the most of your space, you can see up your SSD as a LVM. With LVM, you can adjust the size of the partitions where needed. You can also do snapshots for backups and system restores.
I have two 960GB SSDs. The second one has my Steam games on it. I'm not worried about running out of disk space anytime soon. I was just wondering since most Linux programs don't require a lot space, if I went overboard.
I have two 960GB SSDs. The second one has my Steam games on it. I'm not worried about running out of disk space anytime soon. I was just wondering since most Linux programs don't require a lot space, if I went overboard.
I understand. But to answer your question, most people will use a smaller size partition for root since most of the system files and programs are not that large. Also, some people will even make the root / partition as low as 5GB if they separate /boot, /usr, /opt, /var, /tmp, and /home into there own partitions.
Even on my laptops with 16 GB ram, I do like to have a swap partition equal in size to the amount of ram. As dividvNY said, it helps with hibernation, which on this particular laptop (laptop 4 in my signature), hibernate is used quite extensively since it's an SSD, there's no reason not to use hibernate instead of sleep.
I recently had a Slackware system on which I had allocated 20GB for / (everything else was /home) almost run out of space on /. I had installed many programs on that computer as it started with Slackware 13.37 and ran --Current up through about a month ago.
I erased and reinstalled and allocated 25GB for /.
Frankly, my advice would be that, if your system is working for you, don't worry about having a / that may be larger than optimal, but, if you ever reinstall, perhaps allocate less space to /. In other words, don't worry about it unless you have to.
As for swap, since hibernate is a feature I don't use, ever, if I have 4GB of RAM or more, I have adopted a rule of thumb that swap = 1/2 x RAM.
i used to put /home on a separate partition but found i either needed more space on /home or more space on /. Any which way i eventually experienced saying to myself... i wish i didn't format it with those sizes.
so now i just have my less than 200mb boot partition and the rest of the disk is / containing everything. i never really saw a good reason or made use of having a separate partition for /home or any other folder.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
On my desktop I take half my 62GB SSD (60 GB) for my / file systems and the rest are on other drives. I've had my / up to 23GB by downloading and compiling my own kernel but thats about my limit. I have a swap file of 64GB (twice RAM), on a spinny disk otherwise used for media, in case hibernate ever works on Linux or I want to check out the latest web site known to flood memory.
Last edited by 273; 05-26-2015 at 01:03 PM.
Reason: typing the sizes wrong.
It completely depends on your usage. I have systems with used space on / (includes everything but /home) ranging from 2.5 GB to 32 GB. You should not go above 75 usage, especially with an SSD, which means the / partition would need to be 4-43 GB for those systems. As you can see, there's a very wide range, which depends on your usage.
60 GB is likely overkill if you have /home on its own partition, but depending on what you do with the system it might not be that overkill. For example, I do a lot of embedded work, sometimes with FPGA/CPLDs. The Xilinx ISE for their FPGAs installs in /opt and is 18 GB alone. Add a few more cross compilers, programs, etc. and you can quickly hit 30-40 GB.
Most of my systems use around 20-25 GB on /, FYI.
Last edited by suicidaleggroll; 05-26-2015 at 01:00 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.