Introduction
This page describes the installation of stortini, which is my main NFS server hosting:
- home directories
- “public” multimedia
Hardware
- KVM VM (not an LXC container, because LXC containers can’t run kernel NFS server, which is more performant than unfsd)
- 4 x CPU
- 8 GB RAM
- standard OS disk
- 1TB homes disk
- 10TB pub disk
- 1 NIC on public network (192.168.1.0/24)
- 1 NIC on short-cut VM-to-storage network (192.168.10.0/24 – virbr0)
Procedure
- Make note of the following volume creation commands:
create-perfect-drbd-vol -v --name=stortini --size=21G \ --name1=pici --ip1=192.168.3.10 --name2=ziti --ip2=192.168.3.13 create-perfect-drbd-vol -v --name=stortini_home --size=1T \ --name1=pici --ip1=192.168.3.10 --name2=ziti --ip2=192.168.3.13 create-perfect-drbd-vol -v --name=stortini_pub --size=10T \ --name1=pici --ip1=192.168.3.10 --name2=ziti --ip2=192.168.3.13
Note the absence of
--remote=ziti
as, at the time I was preparing this VM, ziti was not available. - Make note of the following container recreation commands:
create-perfect-kvm-vm --name=stortini \ --release=bookworm \ --mem=8G \ --cpus=4 \ --disk=block:/dev/drbd_stortini \ --disk=block:/dev/drbd_stortini_home \ --disk=block:/dev/drbd_stortini_pub \ --nic=bridge:br0 \ --nic=network:192.168.10.0
- Complete Installing Debian 12 on a PM or KVM VM.
- Complete Configuring NAS services (revision 2.2).
- Complete Finalising a Linux installation.