TrueNAS CORE
Links
- Official: https://www.truenas.com/
- Doc: https://www.truenas.com/docs/
GUI
Text Console 啟用登入密碼 (預設: 關閉)
System > Advanced > Unset Show Text Console without Password Prompt
Create Pool
- Name: mypool1
- Data VDevs: Disk da1
- Force: Check (NOTE: 本例的磁碟已經有設置硬體式磁碟陣列,所以這裡要勾選)
Create Dataset
Select the pool: mypool1
- Name: dataset1
- Inherit (non-encrypted): Check
- Share Type: Generic
Sharing Data
- Path: /mnt/mypool1/dataset1
- Description: DB Backup
- Enabled: Check
Services
- NFS: Running + Start Automatically
NOTE: 預設 NFS 分享目錄允許任一主機都可以掛載。如果要限制可掛載的遠端主機,繼續下面的步驟。
Sharing > NFS > Select: /mnt/mypool/dataset1 > Edit > ADVANCED OPTIONS
CLI
TIP: 除了透過 SSH 或本機 Console 可以進入命令模式,還能使用 Web Shell。
/etc/netcli