TrueNAS Scale SMB 「Purpose」の挙動

Summary

TrueNAS Scale の SMB 共有設定にハマったので備忘録

これね

ドキュメントは下記なんですが、説明になってなくハマりもうした

SettingDescription
No presetsSelect to retain control over all Advanced Options settings.
Default parameters for cluster shareSelect when setting up an SMB cluster share.
Default share parametersThe default option when you open the Add SMB screen and to use for any basic SMB share.
Basic time machine shareSelect to set up a basic time machine share.
Multi-User time machineSelect to set up a multi-user time machine share.
Multi-Protocol (NFSv3/SMB) sharesSelect for multi-protocol (NFSv3/SMB) shares.
Private SMB Datasets and SharesSelect to use private SMB datasets and shares.
SMB WORM. Files become read-only via SMB after 5 minutesThe SMB WORM preset only impacts writes over the SMB protocol. Before deploying this option in a production environment, the user should determine whether the feature meets their requirements.

No presets

プリセットは使わずにすべてマニュアル(手)で設定する

Default share parameters

通常のフォルダー共有のように、直接フォルダーが見える状態

1
2
3
4
/mnt/DataVol1
└── Backup
    └── UrBackup           <== SMB で共有するとそのままファイルが置ける
        └── exsample.png   <== 共有された Windows で置いたファイル

Private SMB Datasets and Shares

共有フォルダーの下にユーザーフォルダーを切って各ユーザーのプライベートなフォルダーにする
例えば「user1」が「exsample.png」を共有越しに配置するとユーザー専用のフォルダーが切られてファイルが配置される。つまり各ユーザー以外に非公開で表示名も共有名になるドライブが作れる

1
2
3
4
5
/mnt/DataVol1
└── Backup
    └── UrBackup           <== SMB で共有するとそのままファイルが置ける
        └── user1          <== user1 がファイルを置くと作成される
            └── exsample.png   <== 共有された Windows で置いたファイル
Built with Hugo
テーマ StackJimmy によって設計されています。