Turris offers the possibility to create virtual installations using LXC containers. It is useful for isolation of basic networking functionality of router from other functionalities or experiments. This simple tutorial describes, how to set installation of LXC containers on the mSATA disk, which is recommended for not to wear out the internal FLASH memory.
fdisk /dev/sdacommand using SSH console after the hardware disc installation follow this instruction partition a disk.
mkfs.ext4for creation of filesystem on the new partitions (for example
mkfs.ext4 /dev/sda1) follow this instruction format a partition.
Mount can be done on the command line or via the LuCI GUI interface.
/etc/config/fstabfile and insert new
config mountsection below the
config globalsection. The content of the new section should be:
config mount option uuid 'your-partition-uuid-number-here' option enabled '1' option target '/srv/lxc'
mountcommand. You should see your /dev/sdaX partition mounted on /srv/lxc, the place where router installs LXC containers by default. Also you should see it using LuCI under the menu System.