LinuxQuestions.org
Visit Jeremy's Blog.
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 05-24-2004, 05:24 PM   #1
bmagill
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Partition Schema


I am preparing to install slackware 9.1 as a low-load server for e-mail, database, web, and NFS. I have used slackware for some time as a workstation. I that setup, I had a very simple partition schema, with a swap and root partition.

I have tried to do some reading and I am considering doing somehting more complex for a couple of reasons. First, I have two disk drives and I need to spread things out. I want to keep the root system separate from the rest of the file system, especially now that I am opening it up to the web.

It is an old machine running as 233MHZ with 32M RAM. The box has two disk drives. One about 2.5G and the other 1.7G. The 2.5G drive is the master and the 1.7G drive is the slave on the first IDE interface. Here is what I am thinkg about doing. Any comments or suggestions?

Drive 1 (~ 2500 M)

/ 250M
/boot 32M
/usr 1604M
/var 500M
/tmp 50M
swap1 64M

Drive 2 (~ 1700 M)

/home 1636M
swap2 64M


Thanks!


Last edited by bmagill; 05-24-2004 at 05:30 PM.
 
Old 05-24-2004, 08:28 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 187Reputation: 187
"The 2.5G drive is the master and the 1.7G drive is the slave on the first IDE interface. Here is what I am thinkg about doing. Any comments or suggestions?"

Linux will run faster if you are able to run the two drives in parallel. To run in parallel they must be on separate cables. So you should move one of the drives to the second IDE interface.

Once the drives are on separate cables then you should split the partitions between the two drives so that the I/O load on the two drives is about the same.

In order to minimize disk arm movement on each drive you should place the busiest partition in the middle of the drive and place the least used partitions at the ends of the drive. Also if you have gobs of unused disk space place the excess at the end of the drive, don't pass it out to every partition and make all of the partitions unreasonably large. The disk arm will run faster if it does not have to continually move across large amounts of unused space.

Swap can be either very busy or not used at all depending on the amount of RAM that you have. In your case I expect that swap might be busy. You can check swap usage with the free command.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 05-24-2004 at 08:31 PM.
 
Old 05-27-2004, 04:10 AM   #3
snooggums
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
When you are partitioning the drive, is the middle of the hard drive the mid range of sectors on the disk?


ex. sectors 1-2000

will 900-1100 be the physical middle of the drive?
 
Old 05-27-2004, 01:20 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 187Reputation: 187
"When you are partitioning the drive, is the middle of the hard drive the mid range of sectors on the disk?"

I am not sure. I think of disk geometry in terms of cylinders. The midpoint of the number of cylinders is the midpoint of the disk. I don't know how the midpoint relates to the number of sectors.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
active directory schema for OpenLDAP paul_mat Linux - Networking 4 08-04-2008 06:00 AM
nis.schema error naveenlinux Suse/Novell 0 11-25-2005 05:02 AM
Ldap schema error mesh2005 Linux - Networking 0 11-20-2005 05:16 AM
Partition Schema tomap Linux - Newbie 4 10-10-2004 02:53 PM
XML Schema complexType eric.r.turner Programming 1 12-28-2003 05:01 AM


All times are GMT -5. The time now is 11:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration