

Mdadm setup is not included in this guide. Note: lvm2 must already be in the iso, and we install mdadm if you want to use a linux software RAID stack. # apt-get update & apt-get install -y mdadm lvm2 bcache-tools

Now we will install the necessary tools for our setup: # echo ‘Acquire::http::Proxy “” ’ > /etc/apt//01Proxy Select 'Try Ubuntu', then when you access the desktop, open a terminal (search for gnome-terminal). * One big partition for /srv (Will store data for user and services)įor setting the bcache root, it is easier for now to start with a live dvd desktop and debootstrap our server installation.ĭownload a live Ubuntu 15.04 Desktop AMD64 iso ( Ubuntu Download Page), then boot your server with it. * One big partition for root (will get containers and vms, so need some space) Then on LVM we will create those logical volumes: * RAID1 (/dev/sda2 here): the rest is for LVM2 * RAID1 (/dev/sda1 here): 1GiB for /boot, This server setup has two hardware RAIDs and one SSD:įor this guide we will setup disks like this: With this how-to we will install ubuntu server on a bcached rootfs.

You can read a little bit more about bcache there Bcache Summary
#UBUNTU WIPEFS HOW TO#
How to install Ubuntu Server on a bcached rootfs
