[Gllug] What are the best practices for Linux partitioning & Mount points for Production systems

James Courtier-Dutton james.dutton at gmail.com
Fri Mar 2 12:21:03 UTC 2012


On 2 March 2012 09:45, Tethys <sta296 at astradyne.co.uk> wrote:
>
> nk oorda writes:
>
>>What are the best practices for Linux partitioning & Mount points for
>>Production systems
>
> I generally go for:
>
> - /boot (ext3, about 1GB)
> - /boot2 (ext3, about 1GB)
> - LVM for the rest of the "disk" (which is usually an array
>  rather than a single disk)
>
> The two /boot filesystems allow distribution upgrades with rollback.

As a sub note, if you need the rollback feature, you only need the
/boot2 on Redhat based installations.
Debian and Ubuntu do not need it.
This is because during an upgrade, Redhat deletes the old kernel and
replaces it with a new one.
Ubuntu just adds the new kernel to the grub menu, without deleting the
old kernel.
In Ubuntu you then manually uninstall the old kernel once the new one
is up and running.
I think the Ubuntu/Debian method is safer than the Redhat method.
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list