[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

Question of partition under Red Hat 6.1

Hardware:
-20GB Hard drive
- 128RAM and will move to 256 RAM soon.

Others:
- ONLY 3 users (including administrator)


You need help?
According to Red Hat for Dummies:
/ 80MB
swap 127 MB
/home 1000MB
/usr/local 800MB
/usr 1000MB
/var 200MB
/opt ??MB
/tmp ??MB
/usr/src
This is not very helpfull as it doesn't fill up the entire HD.

According to Red Hat site:
swap : 127MB, maximum
/boot: 16MB, maximum
/ (root) 1.5GB
Same as the previous one but sound way to simple...

According to http://jgo.local.net/LinuxGuide/ 
/ 2GB
/home/ 2GB
/usr 4GB
Same as the previous one.


SO HOW WILL YOU PARTITION THE HARD DRIVE? I don't mind creating many partition. I don't mind having more than one swap partition. However I don't known if /usr/src is a usefull partition to do.
0
yes4me
Asked:
yes4me
  • 3
1 Solution
 
GregCCommented:
Disk partitioning is a religious art to some, so your personal preferences apply.  My recommendation is to follow your instincts along with a few basic rules of thumb.  I have found the following to work well for me.
SWAP = 128MB
/    = 1.5GB (basic system files)
/home= 2GB per user
/usr = remaining space to be used for applications.

However you have quite a bit of space on your disk drive.  Maybe you might try to 2GB for "/usr" and put the rest toward the /home partition.  
It really depends on how you plan to store files, what type of files you will be creating (database, graphics etc) and how your users will be needing extra space.
0
 
yes4meAuthor Commented:
Adjusted points to 70
0
 
yes4meAuthor Commented:
I believe I didn't explain myself well... I want to install Red Hat Linux 6.1 mainly because I would love to learn Linux.

WHAT I WILL DO WITH RED HAT:
I would like to turn my computer into a mp3 server or some kind of server that will deal with files, (not warez in case you wonder). Now I just guess that the server would have a huge storage of files somewhere...

WHY 3 USERS:
Beside the administrator, my dad and myself would like to have an account on the same computer. The last account would be mainly for testing new downloaded software such as Netscape or Opera. I would download some softwares and test them in that account. If the softwares are good and useful, I will add them to the default software. Beside that I just need to install the basic software that I use under NT... 1 or 2 picture softwares, a compression software aka winzip, antivirus programs, word editor, "notepad", email stuff, administrator stuff.

WHY MANY PARTITIONS:
Red Hat is less buggy than window but is still buggy. I would like to have an easy time to upgrade Red Hat6.1. For example, if I want to change the kernel, I don't want to backup and reinstall the whole CD.
0
 
yes4meAuthor Commented:
So is your opinion about partitioning the Hard Drive is still the same?
0
 
jlevieCommented:
As GregC said, "its a religous art". What you're going to get are opinions as to what that person would do if it were their system. Okay, here's my opinion.

With 20Gb to play with and your stated goals for use, I'd set the system up with these partitions:

/      2000Mb
swap    256Mb  (I like lots of swap)
/var    200Mb
/opt   2000Mb
/home  4000Mb
/export rest of the drive

Now, I like to keep the contents of / close to what is there when the system is installed. I only add those things to / or /usr that absolutely have to be there or that would have to be re-installed when to OS was upgraded or re-installed (OS version dependent). Other packages that can be installed at a location of my choosing (and don't have to be re-installed at OS change) go in /opt. I keep /var separate because it changes constantly and I find it easier to manage as a separate file system (and the OS won't totally lock up if /var happens to get full).

User Home dirs go in /home, it's size might need to be adjusted based on personal preferences. /export would be a separate file system for the mp3 stuff & etc, that you mentioned. This split makes it easier to back up your home directories more frequently and provides an isolated bulk data store for the stuff you woud want to make available to others. I'd restrict download access to just the /export directory and consider making it available only as a read-only resource.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now