LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-20-2016, 09:23 AM   #1
jek404
Member
 
Registered: Mar 2015
Location: USA
Distribution: Slackware
Posts: 34

Rep: Reputation: Disabled
Cool Recommended partition scheme Slackware 14.2


(Solved)I setup a 20GB /
a 4GB swap
a 320GB /home and a
120GB /usr

anyone forsee any problems?
I used cfisk to partition;
set the type for /home "home" swap "swap"/ "root" and the other two "linux"

Last edited by jek404; 12-20-2016 at 11:32 AM.
 
Old 12-20-2016, 10:41 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,248

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
No, I don't see a problem. You might not have made best use of the space on your hd, but you could have had your reasons. You don't say what your disk(s), your ram or your applications are. I am presuming private low intensity home use. 4G might be tight for swap if you're loading heavily on small ram.
 
Old 12-20-2016, 11:35 AM   #3
jek404
Member
 
Registered: Mar 2015
Location: USA
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: Disabled
Would you tell me what you would do with 500GB?
Any others with their thoughts; I'd like to hear and the reasoning
Thanks
 
Old 12-21-2016, 05:06 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,248

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
For home use, I did this:
Code:
Filesystem      Size  	Used 	Avail 	Use% 	Mounted on
/dev/sda1      1008M	33M  	925M    4% 	/boot 	    (Not normally mounted)
/dev/sda2	  6G	0	6G	0%	swap 	    (Not normally used)
/dev/sda3        25G   	13G   	12G  	53% 	/
/dev/sda5        30G   	20G  	8.6G  	70% 	/home
/dev/sda7       135G   	99G   	30G  	77% 	/mnt/virtual (houses my VMs)
/dev/mmcblk0p1   32G    32K     32G   	1% 	/mnt/zip     (SDCard reader)
Some comments: My swap = my ram = 6G. sda6 had some NTSS (Never The Same System) version of linux (Fedora, I think) that I tired of and removed to upsize SDA7. Anytime I booted it, the NTSS thing wanted to download another gig of bug fixes. It's currently unused. Sda7 houses 2 or three vms, one is vista, one is a linux, and any distro I want to try can go there.

That's small beside your setup, but it's all I need. The junk is in my homedir. I don't have a massive media collection or database, am not a magpie and if I haven't accessed something in a few years, I can purge it. My ssd is 250G.
 
Old 12-21-2016, 05:57 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,895

Rep: Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015Reputation: 5015
120GB for /usr seems excessive but I don't know what you plan for it, so maybe it's not. Personally, I wouldn't -- and in fact don't -- bother to have a separate /usr.

Unless you have something specific in mind, a separate /, /home and swap is a good starting point. Just make sure that you make '/' big enough to hold all the other directories that you don't separate out.


You'll most likely evolve your layout as you gain experience and come to understand how you use your linux system. Mine has changed several times over the years.
 
2 members found this post helpful.
Old 12-21-2016, 04:09 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,248

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
It's worth noting that some partitions continually fill, others stay relatively stable once the system is installed.
/usr stays fairly stable except if you're continually compiling stuff.
/var expands, particularly /var/log and massively so on a server.
/home inevitably expands unless you have disk quotas
The various other things in / stay fairly stable on many machines; on others, some (e.g. /opt) fill with piles of stuff. It depends on what you do.
 
Old 12-22-2016, 12:23 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
As you can see from the varied posts here, there is no ideal partition scheme. It comes down to what you intend to use the system for. On my htpc with a 256GB SSD, I keep things pretty small. I have a 20GB partition for / and another 20GB for my /home/. Both are under 50% utilization. The remainder of my space is mounted to /share/ and that is where I keep my VM and any temporary video files (they're all stored on a server upstairs, but if I'm going to be doing maintenance on the server, I can copy media locally so things can still be watched -- keeps the family happy when I tinker). Personally, I wouldn't separate out my /usr/ and I don't have a swap (I have 16GB of RAM in it and kodi+KDE never uses more than 1GB, and my main VM has 8GB allocated, so I still have a 7GB buffer).

But my desktop is a different story. I have a Crucial 480GB SSD for my primary drive and I feel cramped with it. I have 8GB for swap (plus another 8GB reserve swap file I can enable if needed), 200GB for /, 50GB for /var/www/ (since I allow uploads, I don't want some jerk to fill my root partition with junk), and the remainder for /home/. I also have 5 additional drives all mounted under /share/ for my media collection (around 19TB with 82% usage). I compile a LOT of software on that machine and I tend to keep the source around, so it can fill up my /tmp/ (if compiling using SlackBuilds), or my ~/program-downloads/ if I'm compiling it manually (usually only for testing). I currently have over 30GB of files in my /usr/ directory and 60GB in my /tmp/. My root partition is around 60% utilized, so if it were to get up much higher, I'd probably have to start clearing things out. My home directory contains a lot of stuff, including steam games (which can take up a large chunk of space, but I want the speed benefits of my SSD). I'm sitting about 80% utilization in there. All media is stored on my regular HDDs under /share/.

On my slackrepo VM, I just have one partition with no swap.

As you can see, depending on your situation, various partition schemes can be utilized. If I was running a more serious server, I'd probably consider putting /var/ and /tmp/ on their own partitions to ensure that some runaway process can't fill them with files and ultimately fill my root partition. However, if it happens, I could handle the downtime it may cause. Some users also keep their /usr/ on a separate partition, however, it seems like this is getting more and more difficult to manage due to upstream not taking those setups into account.
 
Old 12-22-2016, 08:05 PM   #8
jek404
Member
 
Registered: Mar 2015
Location: USA
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: Disabled
I decided on my Acer Aspire E 15
/20GB
swap 4GB
937GB ext4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware partition scheme Sli Slackware 38 11-02-2012 09:04 PM
installing slackware on external usb (GUID partition scheme) pindar Slackware - Installation 3 03-28-2012 12:31 PM
Slackware partition scheme help bigbooty Linux - Newbie 8 04-24-2011 02:53 PM
Recommended partition scheme for a server bb002 Linux - General 3 10-26-2005 01:24 PM
Recommended Partitioning Scheme cragwolf Debian 3 02-06-2004 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration