summaryrefslogtreecommitdiff
path: root/docs-xml/manpages/vfs_tsmsm.8.xml
blob: f45b03c47b5164bdb68cfe7fcda5898e56f2f0e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id="vfs_tsmsm.8">

<refmeta>
	<refentrytitle>vfs_tsmsm</refentrytitle>
	<manvolnum>8</manvolnum>
	<refmiscinfo class="source">Samba</refmiscinfo>
	<refmiscinfo class="manual">System Administration tools</refmiscinfo>
	<refmiscinfo class="version">4.1</refmiscinfo>
</refmeta>


<refnamediv>
	<refname>vfs_tsmsm</refname>
	<refpurpose>VFS module for handling offline files with Tivoli Storage Manager Space Management</refpurpose>
</refnamediv>

<refsynopsisdiv>
	<cmdsynopsis>
		<command>vfs objects = tsmsm</command>
	</cmdsynopsis>
</refsynopsisdiv>

<refsect1>
	<title>DESCRIPTION</title>

	<para>This VFS module is part of the
	<citerefentry><refentrytitle>samba</refentrytitle>
	<manvolnum>7</manvolnum></citerefentry> suite.</para>

	<para>The <command>tsmsm</command> VFS module is an
	extension for handling offline files with Tivoli
	Storage Manager Space Management.
	</para>

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

	<para>This module is not stackable.</para>

</refsect1>


<refsect1>
	<title>OPTIONS</title>

	<variablelist>

		<varlistentry>

		<term>tsmsm:hsm script = [ path to hsm script ]</term>
		<listitem>
		<para>
			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.
		</para>
		</listitem>

		</varlistentry>
		<varlistentry>

		<term>tsmsm:online ratio = [ number ]</term>
		<listitem>
		<para>
		Ratio to check reported size against actual file size.
		The default value is 0.5.
		</para>
		</listitem>

		</varlistentry>

		<varlistentry>

		<term>tsmsm:dmapi attribute = [ attribute-name ]</term>
		<listitem>
		<para>
		Name of a DMAPI attribute that is present when a file is offline.
		The default is "IBMobj" (which is what GPFS uses).
		</para>
		</listitem>

		</varlistentry>
		<varlistentry>

		<term>tsmsm:dmapi value = [ value for the DMAPI attribute ]</term>
		<listitem>
		<para>
		Value that the DMAPI attribute should have for the file to
		be considered offline. The default is empty (no value required).
		</para>
		</listitem>

		</varlistentry>

	</variablelist>
</refsect1>

<refsect1>
	<title>EXAMPLES</title>

	<para>A GPFS mount with TSM support can be exported via Samba as follows:</para>

<programlisting>
        <smbconfsection name="[gpfs_tsm_share]"/>
	<smbconfoption name="vfs objects">tsmsm gpfs</smbconfoption>
	<smbconfoption name="path">/test/gpfs_mount</smbconfoption>
</programlisting>
</refsect1>

<refsect1>
	<title>VERSION</title>
	<para>This man page is correct for version 4.0 of the Samba suite.
	</para>
</refsect1>

<refsect1>
	<title>AUTHOR</title>

	<para>The original Samba software and related utilities
	were created by Andrew Tridgell. Samba is now developed
	by the Samba Team as an Open Source project similar
	to the way the Linux kernel is developed.</para>
</refsect1>

</refentry>