NAS OS

最後更新: 2022-05-25

 


NAS OS 介紹

 

TrueNAS Core(https://www.truenas.com/)

它前身係 FreeNAS (@2020)

TrueNAS CORE = FreeNAS
TrueNAS Enterprise = TrueNAS

它相當大食

Memory: 8 GB (recommends)

  • Based on FreeBSD
  • PHP
  • 支援 OpenZFS

 

XigmaNAS(https://xigmanas.com)

它前身係 NAS4Free

  • Based on FreeBSD
  • PHP
  • 支援 OpenZFS
  • VirtualBox  + phpVirtualBox

 

OpenMediaVault(https://www.openmediavault.org/)

Memory: 1G (500M 會安裝失敗)

  • Based on Debian Linux
  • Web based administration(PHP)

Plugin

  • openmediavault-filebrowser (port: 3670)
  • openmediavault WeTTY (Web + TTY) plugin (port: 2222)
  • openmediavault-diskstats
  • ...

Default Login

admin / openmediavault

Version

6 -> Debian 11 (bullseye) [php7.4]

Notes

不可以用 logical_block_size 及 physical_block_size, 否則 grub 會 boot 唔起

<blockio logical_block_size='4096' physical_block_size='4096'/>

 * By default 第一隻 HDD 是不會拿來使用, 除非安了 plugin (openmediavault-sharerootfs)

Services

SSH

 * 沒有 chroot 效果

 * Users must be assigned to the ssh group to be able to log in via SSH.

 * To use sudo for root operations add the user to the sudo group.

Samba

 * Privileges: authentication layer(not act in the file system layer)

[xxx]
...
guest ok = no
valid users = "john"
read list =
write list = "john"

 * Enable "Inherit"

  • Inherit ACLs
  • Inherit permissions

The permissions on new files and directories are normally governed by create mask and directory mask

but the inherit permissions parameter overrides this.

非官方額外的 plugin

  • OMVExtras

 

 


 

Creative Commons license icon Creative Commons license icon