LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-02-2005, 11:31 PM   #1
dabenavidesd
LQ Newbie
 
Registered: Sep 2005
Distribution: SuSE
Posts: 3

Rep: Reputation: 0
How to optimize the partitions of a HD


Hello all:
This is the situation of my hard disk where i have installed SuSE 9.1, and where I'm going to install SuSE 9.3. The HD has two partitions:
1 primary, where resides the OS Windows C (40G).
1 extended, that has 3 logic units inside (80G):
- 1 data of Windows D (40G)
- 1 swap Linux (1G)
- 1 Reiser Linux (39G)
The partition utility of SuSE 9.3 cant to modify the proportion of the extended partition (in order to host only the Windows data D), so if i want to make another primary in this disk (for Linux or Win) its not possible because there is not more space , then, i want to rebuild the partitions to be like :
-> 1 primary Windows C (40G)
-> 1 primary Windows D (40G)
-> 1 primary linux Swap(1G)
-> 1 extended within (39G):
- 1 logical /boot
- 1 logical /home
- 1 logical /
- 1 logic FAT (to share the write form Linux and Win)
is it possible to change from extended to logical?
What is your opinion of the above partitions? What is the difference in terms of performance of extended vs logical partitions?
Please suggest me the way to have the best performance with my SuSE because my goal is compile the kernel from the sources and i don't want burn my CPU in the process , and preserve the actual C partition.


The Fdisk Linux of my current system, shows in the bottom message:
-------------------_-
linux:/home/benavides # fdisk -l


Disk /dev/hde: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Device Boot Start End Blocks Id System
/dev/hde1 * 1 5099 40957686 7 HPFS/NTFS
/dev/hde2 5100 14592 76252522+ f W95 Ext'd (LBA)
/dev/hde5 5100 10198 40957686 7 HPFS/NTFS
/dev/hde6 10199 10325 1020096 82 Linux swap
/dev/hde7 10326 14591 34266613+ 83 Linux
 
Old 09-03-2005, 12:40 AM   #2
aldimeneira
Member
 
Registered: Jun 2005
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
"is it possible to change from extended to logical?"

There's virtually only two types of partitions: primary and logical. Extended is a primary partition that enables the use of logical partitions (which acts like partitions logically but are only "sub-partitions" of an extended p.). There's only possible to make 4 primary p. maximum, extended p. are used to "tweak" the hard drive to accept more than 4 p. (again it's only logical, but it's possible to use different formats "inside" an extended p.).

The only way to enhance performance in the hard drive is to use RAID (redundant) partitions. To do this you can:

your hd:

1 primary, where resides the OS Windows C (40G).
1 extended, that has 3 logic units inside (80G):
- 1 data of Windows D (40G)
- 1 swap Linux (1G)
- 1 Reiser Linux (39G)

1) delete the extended partition:

1 primary, where resides the OS Windows C (40G).
//you may prefer to use FAT32 so you don't need a partition to exchange files between OSs
free space (80G)

2) make a new a primary swap partition:

1 primary, where resides the OS Windows C (40G).
1 primary swap (1 GB) //using reiser
free space (79G)

3) make a D: partition (this is not necesary if you reformat C: as FAT32):

1 primary, where resides the OS Windows C (40G).
1 primary swap (1 GB) //using reiser
1 primary FAT32 D: (9G)
free space (70G)

4) make an extended partition:

1 primary, where resides the OS Windows C (40G).
1 primary swap (1 GB) //using reiser
1 primary FAT32 D: (9G)
1 extended
- 1 logical reizer (10G) //for /home/
- 1 logical reizer (10G) //for /home/
- 1 logical reizer (25G) //for /
- 1 logical reizer (25G) //for /

5) I don't know how to do this in SuSE but you have to:
- make a new RAID1 partition using the two (10G) logical partitions and label it /home
- make a new RAID1 partition using the two (25G) logical partitions and label it /

Note that this RAID1 partitions are actually 2 logical partitions for each label and that the virtual size is half. This is reduncancy and is the only way to improve performance in an hd that I'm aware.

If you want to recompile a kernel (haven't done it myself) you may prefer to get more RAM to improve performance.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can I optimize this kushalkoolwal Programming 5 10-21-2005 10:05 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 07:42 PM
How can I optimize VNC Wynand1 Linux - Networking 4 05-17-2005 02:05 AM
Optimize/Prefix rogk Linux - Software 1 07-25-2004 06:04 AM
how could I optimize bittorrent? rcerrillo General 0 07-04-2004 07:52 AM


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