[clug] partitioning
Kim Holburn
kim.holburn at gmail.com
Thu Aug 23 07:33:00 GMT 2007
I read an interesting book a while ago. I forget it's name but it
was something like "Optimising Linux servers" by someone from IBM.
They said that that start of the disk - cylinder 0 was around the
outside of the disk and had the fastest access and so on until the
centre of the disk which has the slowest access. If you are
partitioning a single disk then (as opposed to a raid) to make best
use of that info you would partition like this so things that need
that fast access get it, and things that virtually never change go
near the end of the disk.
/dev/hda1 2Gig swap swap
/dev/hda2 16G ext3 /var
/dev/hda4 >200G ext3 /home
/dev/hda5 16G ext3 /
/dev/hda6 64M ext2 /boot
On 2007/Aug/23, at 5:11 AM, Michael James wrote:
> This partitioning system has served me well for years.
> Is there any reason to look at LVM or something else?
>
> /dev/hda1 64M ext2 /boot
> /dev/hda2 64M ext2 /altOS/boot
> /dev/hda3 2Gig swap swap
>
> /dev/hda5 16G reiserfs /
> /dev/hda6 16G reiserfs /altOS
>
> /dev/hda7 >200G reiserfs /home
>
> Considering that a 750G disk can be got for $320 at the computer
> markets
> the /home partition that mops up the rest of the disk can still be
> huge.
> And it's a trivial sacrifice to put 16Gig aside
> to have space for a non-destructive OS upgrade.
> So when I upgrade I install into hda2 and hda6,
> and boot with them as /boot and / respectively.
> Then I mount the old system as /altOS and pick through it
> when I'm configuring the new system.
>
> Having a separate /boot partition used to be a necessity
> in the days of buggy BIOSes, but still seems worthwhile.
> It obviated a slow return from hibernation probelm a while ago.
> It's also a good way to build a dual boot system,
> put Windows into hda3 and slide GRUB in underneath it.
>
> I've done much the same thing using RAID,
> either hardware RAID5 or soft mirroring.
>
> michaelj
>
> --
> Konqueror has gotten so clever for its own boots
> that it has forgotten what a web browser is for.
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
--
Kim Holburn
IT Network & Security Consultant
Ph: +39 06 855 4294 M: +39 3494957443
mailto:kim at holburn.net aim://kimholburn
skype://kholburn - PGP Public Key on request
Democracy imposed from without is the severest form of tyranny.
-- Lloyd Biggle, Jr. Analog, Apr 1961
More information about the linux
mailing list