thank you Volker! I did compile samba with "--with-shared-modules=vfs_tsmsm".
Is it sufficient to copy the tsmsm.so to /usr/lib64/samba/vfs/ on the productiv 
system?

I could not found a documentation of this VFS module, just in the source code 
itself:


/*
  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.
 */




Is anybody using this module? I would be very grateful for an example of the 
hsm-script.



Thanks
Alex



Volker Lendecke schrieb:
On Wed, Feb 17, 2010 at 01:43:09PM +0100, Alexander Födisch wrote:
were can I get this vfs module? I could not find any
donwload link or documentation.

It comes with Samba 3.4 automatically. You might have to
enable compiling it explicitly with

--with-shared-modules=vfs_tsmsm

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to