Optimal partition layout.

techguy

Verified User
Joined
Dec 29, 2004
Messages
9
Hello

I have a server with 2x 20GB(RAID1) hard drives. I'm trying to figure out whats the best way to partition the drive.



# fdisk -l

Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 131 1052226 83 Linux
/dev/hda2 132 2434 18498847+ fd Linux raid autodetect

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 131 1052226 82 Linux swap
/dev/hdb2 132 2434 18498847+ fd Linux raid autodetect

I'm thinking that /var & /temp needs to be on a separate partition.

Can anyone offer guidance as to what partition layout to follow

-John
 
I'm sure I've posted on this subject a few times or more; search the archives for the word "partition" (without the quotes) for posts from jlasman, and I think you'll find some.

Of course with only 20G to work with you'll have to make some compromises.

Jeff
 
Back
Top