samba tsmsm vfs module

koutsane

ADSM.ORG Member
Joined
Oct 31, 2006
Messages
27
Reaction score
0
Points
0
Hi

I was wondering if anyone has had any experience with the samba vfs module for tsm space managed files?

I have been looking for a man page however the only documentation i've been able to find is from the source code itself. see below

1. I was wondering how you implement the tsmsm vfs module in smb.conf?
2. Is a tsmsm: <HSM script> required when enabling this option in smb.conf

Appreciate the help

Evan

source code explanation:

/*
This VFS module accepts following options:
tsmsm: hsm script = <path to hsm script> (default does nothing)
hsm script should point to a shell script which accepts two arguments:
<operation> <filepath>
where <operation> is currently 'offline' to set offline status of the <filepath>

tsmsm: online ratio = ratio to check reported size against actual file size (0.5 by default)
tsmsm: attribute name = name of DMAPI attribute that is present when a file is offline.
Default is "IBMobj" (which is what GPFS uses)

The TSMSM VFS module 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 checks fail, we call DMAPI and ask for specific attribute which present for
offline (migrated) files. If this attribute presents, we consider file offline.
*/
 
Back
Top