Divvy a hard disk

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Divvy a hard disk
# 1  
Old 06-13-2002
Lightbulb Divvy a hard disk

What is the general rule for a divvy of a hard disk, I know that the boot is 20 megs swap is times 2 of ram. I am learning unix Smilie
for the first time and at work i cant get this divvy thing down pat yet.
boot 1 to 19999
swap 20000 to 122499 (512 megs of ram)
root 122500 to ?
u ?
u2 ?

lets say this is on a 10 gig hard disk. I would really like some help with this
And how do i under stand blocks from megs?
This might help me a little better
# 2  
Old 06-13-2002
Opinion - There is no real general rule - it matters what you are using the system for. If you are using it for email, then you want to insure you create a big slice for email (so it isn't on the / partition) and probably a relatively big slice for log files.

Each OS has it's own sizes needed for the different partitions . Also realize upgrades of the OS will normally get bigger (requiring more space) - put in a buffer so you don't have to re-format it every time you upgrade.

Each SysAdmin does it differently - each has reasons for it. Sometimes it's valid - others - who knows. You really just have to take it in stride - the more you learn the better you get at figuring out it is only a small thing -

There was once one admin who set up everything to just fit - adding maybe 5% to each required space amount - why?

So when the server filled up disk space, he could get bigger disks or could rebuild it - leaving him in a position of savior. No one questioned that he could have fixed the problem. Kept him employed in the same small company for years and years.
# 3  
Old 06-17-2002
Personally, I would use MB and stay away from blocks. Also, Those things you quoted are only guidelines and minimums.

In my environment, we do it like this. Remember these are only one way to do this. Also, everything depends on the OS flavor and whatever you have running on the box and how big of a system it is.

/ .................250MB.
/var ............1600MB. ( 1.6GB)
/home..........500MB to 1.5GB
/tmp.............2000MB to 4000MB ( 2GB to 4GB) Depends on demands of Application running on box. Link /var/tmp to /tmp so /var doens't fill up.

That adds up to 6.5GB to 8GB, which leaves 2GB to 3.5 for other things.

primary swap ( at least 2x to 3x of RAM) and 2ndary swap for OS same size as primary swap.
also, have a root swap in the root volume and another secondary swap for everything else.

dump space ( at least 30% to 50% of RAM)

crash space ( same as dump different place) Some OS are configured to use swap space as crash for system crashes. I would use the secondary swap, not root swap.

Hope this Helps you.

Smilie Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

2. Solaris

Need Hard Disk Details

Hi freinds, What is the command to find out the hard disk details (logical name, FS type etc,). Because i connected one ntfs partition and i don't know the hard disk logical and physical name to mount it.Kindly do the needful. Thanks | P.Bharathiraja. :mad: (2 Replies)
Discussion started by: bharathiraja
2 Replies

3. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

4. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

5. HP-UX

how can i get hard disk usage

I want to get hard disk usage hard disk usage= already allocated/total allocated first I use ioscan -kfnC disk get disk name c#t#d# then I use diskinfo /dev/rdsk/c#t#d# but this command can only get total disk size,not disk usage has any command can get that thanks:) (2 Replies)
Discussion started by: alert0919
2 Replies

6. Red Hat

Hard disk replacement

Hi all, I need some help with a RHEL 4 on a Sun Fire v65x machine. Some of the disks is damaged or has a hardware issue. This disk is connected to a hardware raid. The problem is that I don't know what is the brand, model and capacity of the disk. I've read the raid manual, but says... (3 Replies)
Discussion started by: adelgadom
3 Replies

7. UNIX for Dummies Questions & Answers

Hard disk problem

Hi everybody, I have Ultra 5 operating station, I fixed a new 80 GB HDD, when Iam installing Solaries "2.6, veeeeery old" the system see the hard disk as only 8002 MB "8GB" what can I do so the system will consider the whole capacity of the HDD. any capacity higher then 8 GB will be seen as 8 GB... (4 Replies)
Discussion started by: adol3
4 Replies

8. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

9. Filesystems, Disks and Memory

Divvy a hard disk

What is the general rule for a divvy of a hard disk, I know that the boot is 20 megs swap is times 2 of ram. I am learning unix for the first time and at work i cant get this divvy thing down pat yet. boot 1 to 19999 swap 20000 to 122499 (512 megs of ram) root 122500 to ? u ? u2 ? ... (1 Reply)
Discussion started by: DjWolfman
1 Replies

10. UNIX for Dummies Questions & Answers

Hard Disk Problem

Does anyone know of any commands that offer the same sort of facilities of scandisk on windows. My Linux server (Mandrake 6.2) keeps crashing and gives hard disk errors when I reboot. I've used fcsk to fix any problems that arise but when I use dumpe2fs to display disk information it says that... (1 Reply)
Discussion started by: DGM
1 Replies
Login or Register to Ask a Question