LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-18-2004, 07:38 PM   #1
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
diskspace....


hi,

this my diskspace

[root@syweb root]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda5 505605 429042 50459 90% /
/dev/hda1 101089 9379 86491 10% /boot
/dev/hda3 7408292 139752 6892220 2% /home
none 511464 0 511464 0% /dev/shm
/dev/hda2 20248308 3505668 15714080 19% /usr
/dev/hda6 1027768 160436 815124 17% /var
//Sy/MIS 134205440 76578816 57626624 58% /mnt/MIS

from there, u will know that, my / is almost used up until 90%..what should i do?? i scared i will be running out of diskspace...
pls..comment.......


thanks...
 
Old 03-18-2004, 09:34 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Don't be scared, just be aware of the problem. When you download stuff it will be in /home. Most stuff you install will be in /usr. The logs are in /var. So there shouldn't be a whole lot of stuff going into /. But I do wonder how you decided on your paritioning scheme. Only 500K in / but over 7G in /home and over 20G in /usr seems a little out of whack. If you just set this up.... well never mind.
 
Old 03-19-2004, 02:08 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
I agree 100% with ringwraith - your partitioning scheme seems unbalanced. In general, /home should be pretty big, as well as / and /usr. Keep in mind that / will contain any directories that you don't explicitly define, so a 500K partition is definitely on the low side. -- J.W.
 
Old 03-19-2004, 02:14 AM   #4
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Original Poster
Rep: Reputation: 30
what is normally goes to /, and now, how am i going to adjust the size of my / ???
 
Old 03-19-2004, 01:21 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
All you really need to define is a swap partition and a / partition to install Linux. Everything will be created under / unless you otherwise explicity define it. For example, the /boot partition could be assigned to its own partition, but if not, it will simply be created under / (just like all other partitions, including /usr, /home, /var, /tmp, /root, and so on). From a practical matter, it usually makes sense to assign /home to its own partition (because that is where all the user data will live). Partitioning schemes are basically a matter of personal preference - ask 50 people how to "best" partition a disk and you likely will get 50 different answers. -- J.W.
 
Old 03-19-2004, 07:39 PM   #6
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
What are your partition types? ext2?

There is a tool called parted out there, but the best thing I would recommend is (if possible) take the drive to a machine with partition magic on it and resize them there. Short of starting from scratch (and losing any configuration customizations you've made) that's what I would do.

fyi, the way I partition my drive is as follows:
/ - at least 2 gigs (currently 5)
/boot - 50 or so megs
/swap - 128-512 megs
/usr/local - 128 megs (not sure it's really needed - not a bad idea to keep some custom-installed apps if/when another clean install is required)
/home - everything else

Some folks setup a separate /var partition, but not me. If you decide to, give it enough that all your logfiles won't fill it. I'm guessing 500 megs should do it. (But don't take my word for it. Check out some other threads.)

Garry
 
  


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
Running low on diskspace cheetahman SUSE / openSUSE 1 06-13-2005 07:58 AM
OMFG, where is that diskspace going to .. Manu-M *BSD 4 09-03-2004 04:47 PM
Not enough diskspace for installing Gentoo?!? Bodycount Linux - Distributions 4 10-11-2003 04:01 PM
Claiming unallocated diskspace into Linux RefriedJavaBean Linux - Newbie 4 09-27-2003 12:51 PM
how to check diskspace nbtaher Linux - General 1 05-16-2002 06:42 PM

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

All times are GMT -5. The time now is 11:23 AM.

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