Konstantinos Antoniou.

← Projects

Centralized Storage Solution with OpenMediaVault (OMV) NAS VM

OpenMediaVault (OMV) NAS VM

As part of my home lab infrastructure, I manage a dedicated virtual machine running OpenMediaVault (OMV) for centralized storage, file sharing, and backup services. This project highlights my capabilities in virtualization, NAS management, and secure file system provisioning.

  • VM Name: OMV
  • VM ID: 100
  • OS Type: Linux 2.x/3.x/4.x (ostype=l26)
  • CPU: 2 cores
  • Memory: 4096 MB
  • Boot Device: SCSI0
  • SCSI Controller: virtio-scsi-single
  • Sockets: 1
  • NUMA: Disabled
  • On Boot: Yes
  • VGA: QXL
  • SPICE Enhancements: Video streaming = all
  • USB Passthrough: 067b:2773
  • VM Generation ID: eaff701b-1989-4076-b3bb-c72ed69392da
  • UUID: 7e5dedc4-94d3-40d9-b831-23bf1f328381

The VM is optimized for virtualization with SSD storage, I/O threads, and QEMU Guest Agent enabled for improved management.


Storage

Screenshot 1: Storage


Network

Screenshot 2: Network


Users & Access

Screenshot 3: Users & Access

  • Root login via SSH: Disabled
  • Password authentication: Disabled
  • Public key authentication: Enabled

Security is prioritized by enforcing key-based SSH authentication and disabling root login, following best practices for remote access to storage VMs.


Shared Folders

Screenshot 4: Shared Folders


Services SSH

  • Enabled on port 22
  • Root login: Disabled
  • Password authentication: Disabled
  • Public key authentication: Enabled

NFS

Screenshot 5: NFS

  • Enabled (v2-v4.2)
  • Shares exported:
    • My-Data (rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)
    • Pictures (rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)
    • k8s-nfs (rw,sync,no_subtree_check,no_root_squash,no_all_squash,insecure)
    • youtube-dl (rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)

Highlights & Optimizations

  • VM is configured for high-performance virtualization with SSDs and iothreads
  • Backup disk separated on a dedicated QCOW2 storage pool
  • Fully versioned, secure, and automated access management
  • Serves as the backbone of my home lab storage, supporting media, backups, and productivity data

Conclusion

This OMV NAS VM represents a cornerstone of my home lab infrastructure. It demonstrates proficiency in virtualization, NAS management, file system organization, and secure access policies. Its design ensures reliability, performance, and maintainability while supporting multiple services and use cases.


My Cheatsheet