LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2010, 03:39 AM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Rep: Reputation: 31
Question Size of root "/" directory


Dear all,
what is the ideal size of "/" (root) directory? Some people suggested to configure it between 2G - 5G depending on the installation. However, with full slackware installation, with 6G "/" size, it left me only around 400mb space left.

Is this common, or I did something wrong the installation? With only around 400mb space left, isn't this too small?

Regards,
Ethereal1m
 
Old 04-05-2010, 03:45 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
It will depend how you partition your drive. If you only have / and swap then you would need a larger /. If you have separate partitions for home and other, then 10-15 gig should be good.
It will also depend on your installation. If you are installing a full blown distribution with all the applications, then 6 gig should not be enough. And you need to also take care of the future updates and upgrades that might come.
For a dedicated server where you would seldomly install external softwares, 5gig should be enough.
 
1 members found this post helpful.
Old 04-05-2010, 03:49 AM   #3
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Different people will have their own favourite partitioning schemes and sizes. I used to have separate partitions (or disks) for /var, /home, /usr, /boot, and the root dir. If you do this, the root doesn't need much space at all. The CentOS distributions default to a small partition for the /boot directory and the rest for /. Nowadays I use LVM extensively, which means that if I need some extra space I can reconfigure without too much effort so the initial decision isn't that important. You don't want to be left with 400MB hanging around though. That won't be much use to you.
 
1 members found this post helpful.
Old 04-05-2010, 03:50 AM   #4
ganiutomo
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Rep: Reputation: 2
did you separate other directory? like /home /usr /var?
if this true then 2-5G is sufficient.
but your situation is likely because you don't separate the other directory, specially the "/usr" and "/var" directory.
 
1 members found this post helpful.
Old 04-05-2010, 05:54 AM   #5
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
I have full blown installation of slackware intallation there, even though /usr and /home are in different partition, I think 6G is not enough.

My case is, I want to install a full blown Slackware installation. This is because I'm a new Linux and Slackware user and will strip down the applications latter on.

If I remove some of the packages, will it reduce the size of "/" (I assume yes)?
 
Old 04-05-2010, 06:11 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by ethereal1m View Post
I have full blown installation of slackware intallation there, even though /usr and /home are in different partition, I think 6G is not enough.
+1 to that

I started with / at 6 GB but soon found it was not enough (almost but not quite). / includes /usr but not /var or /opt and with most of what sits under /home on a separate file system.

Here's how it looks now
Code:
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/root      jfs     14G  5.5G  8.6G  39% /
/dev/mapper/CW8-home
              ext3     50G   33G   15G  69% /home/c/d
/dev/mapper/CW8-s_opt
              ext4   1008M  731M  227M  77% /opt
/dev/mapper/CW8-s_var
              ext4     50G   41G  6.7G  86% /var
/dev/mapper/CW8-srv
              ext3     50G   27G   21G  57% /srv
/dev/sda2     ext3    236M   87M  138M  39% /boot
Notes: this usage is unusual (aren't they all?!) in that
  1. / includes /home/c/src with 800 MB of kernel build space.
  2. /opt has VirtualBox, OpenOffice and Bacula programs.
  3. /srv has Virtual disk images and a 4 GB software library.
  4. /var has a lot of backup data.
 
1 members found this post helpful.
Old 04-05-2010, 06:20 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I've only ever used / and swap. My desktop and laptop both have 160 GB HDDs. Laptop is evenly divided between XP Pro and Slack. Desktop has approx. 120 GB for Slack64 (room for VBox .vdis), and approx. 40 GB unallocated.
 
1 members found this post helpful.
Old 04-05-2010, 06:35 AM   #8
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Rep: Reputation: 17
i have no separate /home partition ..The root is of 24 gigs...
 
1 members found this post helpful.
Old 04-05-2010, 06:56 AM   #9
ethereal1m
Member
 
Registered: Jan 2010
Distribution: Ubuntu
Posts: 312

Original Poster
Rep: Reputation: 31
Thanks for the useful inputs
 
Old 04-06-2010, 01:46 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
I too seldomly use /home on different partition on desktop. While upgrading or updating the distribution I usually take backup on external drive and choose to reformat the system and instead of upgrading the OS, I tend to reinstall the new one from scratch. And with / and swap, I have not had any trouble yet. So far so good though.
But on servers, it depends entirely.
 
  


Reply



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
Logging in non-root users fails either with "no shell" or no directory Doc_X_Doc Linux - Newbie 16 03-09-2010 10:27 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
what is the difference between "/" root directory and "/root" directory? augustus123 Linux - General 4 11-20-2004 05:22 PM
accidentally renamed my root " / " directory rioguia Linux - Newbie 24 10-28-2004 02:47 PM
HELP! - root directory "/" 100% CAPACITY JM_Fraser Linux - Software 11 11-28-2003 03:41 PM

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

All times are GMT -5. The time now is 05:15 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