Ubuntu Preseed Raid 1 with multiple partitions

Liam Proven lproven at gmail.com
Mon Jun 3 21:18:29 UTC 2013


On 3 June 2013 21:59, Camilo Vieira <camilo.vieira at gmail.com> wrote:
> Hi Liam,
>
> Thanks for your collaboration.
>
> This is a server machine. I usually use the /boot to help me fix partitions
> issues when something wrong happens.

A boot CD is much easier and gives a much richer environment.

Just having /boot separate is not much help - it only contains the
kernel. You also need the stuff in /bin and /sbin which are of course
under /.

Seriously, don't bother. There has been no reason for /boot since EIDE
started working reliably with arbitrary-sized disks, i.e., roughly a
decade ago. :¬)

> The applications will be installed on /opt

Most apps go into /usr somewhere on their own. It is not a good idea
to override this.

Only monolithic binaries that do not really understand your distro go
in /opt - it is somewhat historical now, too.

Anyway, it's not binaries that are the problem normally. On a server,
if they are *very* paranoid, some sysadmins move /var onto a different
filesystem so that there is no chance that a huge log file can fill up
/ - but with terabyte-class disks, this is not much of a threat.


> and I want to separate the
> partitions to avoid space problems.

See above.

Seriously, I suggest that you start your troubleshooting with a much
simpler partitioning scheme. Since a well-specified modern PC should
have lots of RAM, it does not really need swap at all. If you are
really paranoid, you could install "swapspace" which will give you
on-demand swapfiles if they are needed, which normally, they should
not be. It is not compatible with hibernation but that is not an issue
on a server. It has no performance impact on modern kernels.

Try with just a mirrored / and nothing else and see if it works. Then,
if you are really worried, you can split off /opt - but it should not
be large. Data files, files that are changing regularly, should not be
in /opt, they should be in /var or /home as a rule. If they're in /opt
then I would say there was something wrong with your config.

I cannot advise regarding "d-i partman-md/" because I am not familiar
with this tool. Sorry.

--
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Tel: +44 20-8685-0498 • Cell: +44 7939-087884




More information about the ubuntu-users mailing list