vfs_tsmsm — Tivoli Storage Manager Space Management を使うオフラインファイルの操作用 VFS モジュール
vfs objects = tsmsm
この VFS モジュールは samba(7)システムの一部である。
tsmsm
VFS モジュールは、
Tivoli Storage Manager Space Management と共にオフラインファイルを
操作するための拡張である。
これは、オンライン(マイグレートされていない)ファイル用の実際のサイズの 'オンラインレシオ'よりも、512のn倍で計算したファイルサイズで報告された ブロックの数が大きいという事実に基づいた、ヒューリスティックな手法を使う、 高価なDMAP 呼び出しを行う事を防ごうとする。もしもヒューリスティックな チェックが失敗した場合、このモジュールはDMAPIを呼び出し、オフライン (マイグレードされた)ファイルがあるかどうかの特定の属性を問い合わせる。 もしも、この属性が存在した場合、ファイルはオフラインであると推測される。
It tries to avoid calling expensive DMAPI calls with some heuristics based on the fact that number of blocks reported of a file multiplied by 512 will be bigger than 'online ratio' of actual size for online (non-migrated) files. If heuristic check fails, the module calls DMAPI and asks for a specific attribute which is present for offline (migrated) files. If this attribute presents, the file is considered offline.
このモジュールはスタック可能ではない。
hsm スクリプトには、2つの引数: operationとfilepathを取る シェルスクリプトを指定する。tsmsmモジュールは、ファイルに filepath offline であると設定するため、"offline"のみを 使用する。
hsm script should point to a shell script which accepts two arguments: operation and filepath. the tsmsm module only uses "offline" for operation to set the file under filepath offline.
実際のファイルサイズに対して報告されたサイズをチェックするための割合。 既定値は 0.5 である。
Ratio to check reported size against actual file size. The default value is 0.5.
ファイルがオフラインの時存在する DMAPI 属性の名前。 既定値は "IBMobj"(GPFSが使うものである)。
ファイルがオフラインであると推測されるために 持っているべきDMAPI 属性の値。既定値は空(値は要求されない)。
以下のようにすることで、TSMサポート付きのGPFSマウントは、Samba経由でエクスポートできる:
[gpfs_tsm_share]
vfs objects = tsmsm gpfs
path = /test/gpfs_mount