Some Bits: Nelson's log

OpenMediaVault setup notes

Setting up a little NAS with OpenMediaVault. First time user, my notes on what I did. This guide helped.

VM configuration

  • Make a Proxmox VM with 4GB RAM, 8GB of disk, and 2 CPUs. Legacy DOS BIOS.
  • Add a USB passthrough by device ID for an external disk that’s plugged into the machine
  • Enable qemu-guest-agent (note qemu-ga won’t start and gives a confusing error in the VM without this.)

OMV Installer

Basic Debian installer, mostly just take defaults.

OMV Configuration

Configuration mostly done via OMV’s web UI. Note at first it’s only available via http:, not https:. Default login is admin / openmediavault

  • Apply system updates
  • Change time zone to UTC
  • Change the admin login password
  • ssh: add myself to ~root/.ssh/authorized_keys
  • ssh: Install Tailscale
  • Reboot OMV from the web console

That’s a basic setup. After reboot....

And configuring the storage disk, mostly steps in the Web GUI

  • Storage > Disks: Wipe the disk in the Web UI: I aborted this when it started doing dd if=/dev/zero. But it did something with GPT to the partition table first, so probably a good idea.
  • Storage > Smart: Set up SMART for the external hard drive on USB
  • SSH: apt install hdparm so I can test disk speed (39 MB/s for a slow external drive.)
  • Storage > File Systems: Created an ext4 filesystem on the USB disk. This took a very long time!
  • Storage > File Systems: Mounted the filesystem. It ended up under /srv
  • Storage > Shared Folders: create a shared folder named “test”. Admin and Users are read/write, Others are no access
  • Users: Create a user “nelson” with a password
  • Services > SMB/CIFS > Settings: Enable service, set Workgroup
  • Services > SMB/CIFS > Shares: add the test shared folder I created

And using the disk from a client:

  • On Windows, open \\192.168.3.37\ and type in credentials (after a long pause)
  • On Linux, see the share with smbclient -L //192.168.3.37/
  • On Linux, mount the share
    apt install cifs-utils
    sudo mount -t cifs //server_ip/share_name /mnt/smb_share -o username=your_username,password=your_password
  • The name \\omv\ also works using the hostname omv. Also omv.local resolves as a hostname, Avahi is running.