# LXC / refuge

<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Alpine_Linux.svg/1280px-Alpine_Linux.svg.png" class="machine" />

## Description

LXC container for running Samba to make network shares available to the LAN.

## Configuration

### Resources
| Hostname | CPU | Memory |
|----------|-----|--------|
| refuge | 2 vCPU | 256MB |

### Storage

| Mount Point | Source | Mount Path | Size | Options |
|-------------|--------|------------|------|---------|
| rootfs | zpool10_storage-zfs:subvol-110-disk-0 | / | 2GB | noatime |
| mp1 | /storage/zpool10/backups/storage | /storage/backups | - | - |
| mp2 | /storage/fpool/services/mayanedms/watch-moveoncomplete | /storage/mayan/watch | - | - |
| mp3 | /storage/fpool/services/mayanedms/stage-moveoncomplete | /storage/mayan/stage | - | - |
| mp4 | /storage/zpool10/public | /storage/scanned | - | - |
| mp5 | /storage/zpool10/media | /storage/media | - | - |
| mp6 | /storage/zpool10/downloads | /storage/downloads | - | - |
| lxc.mount.entry | /storage/zpool10/backups/timemachine | /storage/timemachine | - | rbind,create=dir |

<p class="callout info"><code>lxc.mount.entry</code> is used in place of a <code>mpX</code> entry because it allows recursive mounting of datasets through the <code>rbind</code> mount option.</p>

### Networking

### Interfaces

| ID   | Name | Bridge | IP Address | Description |
|------|------|--------|------------|-------------|
| net0 | eth0 | vmbr1  | dhcp       | LAN |

### Installed Software

- [Samba](https://www.samba.org)