The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
The LXC template scripts assume that containers are created in
/container
. You must edit the script if
your system's configuration differs from this assumption.
To set up the /container
file system:
Create a btrfs file system on a suitably sized device such as
/dev/sdb
, and create the/container
mount point.[root@host ~]#
mkfs.btrfs /dev/sdb
[root@host ~]#mkdir /container
Mount the
/container
file system.[root@host ~]#
mount /dev/sdb /container
Add an entry for
/container
to the/etc/fstab
file./dev/sdb /container btrfs defaults 0 0