Code/nas

nas

Ansible role that deployss my nas configuration. It mostly handles nfs configurations and exports that are tailored to the hardware and service configuration.

yannick

README

NAS

NFS server, optional RAID, network bonding, and storage performance tuning.

Key Parameters

Variable Default Description
nas_nfs_enabled true Install and configure NFS server
nas_nfs_exports [] NFS export definitions (path, network, options)
nas_raid_enabled false Configure mdadm RAID array
nas_raid_level 5 RAID level (0/1/5/6/10)
nas_raid_devices [] Block devices for the array
nas_bonding_enabled false Configure network interface bonding
nas_performance_tuning_enabled true Apply network/filesystem performance tweaks
nas_runner_*_path various Storage paths exported for runner services

Workflow

  1. Install NFS packages (nfs-kernel-server, rpcbind)
  2. Configure network bonding via netplan (if enabled)
  3. Create storage directories with proper permissions
  4. Write /etc/exports and reload NFS
  5. Apply performance tuning (TCP buffers, NFS threads, readahead)

Quick Actions

Browse FilesView Commits
git clone https://rakys.xyz/git/nas.git

Repository Statistics

0
Stars
0
Forks
1
Watchers
0
Issues
Default Branch:main
Primary Language:Jinja
Created:August 31, 2025
Last Updated:February 23, 2026
Repository Size:0.05 KB