source: trunk/server/docs/manpages/vfs_prealloc.8@ 596

Last change on this file since 596 was 596, checked in by Herwig Bauernfeind, 14 years ago

Samba 3.5: Update trunk to 3.5.8

File size: 2.7 KB
RevLine 
[596]1'\" t
[429]2.\" Title: vfs_prealloc
3.\" Author: [see the "AUTHOR" section]
[596]4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 03/06/2011
[429]6.\" Manual: System Administration tools
7.\" Source: Samba 3.5
8.\" Language: English
9.\"
[596]10.TH "VFS_PREALLOC" "8" "03/06/2011" "Samba 3\&.5" "System Administration tools"
[429]11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
[596]21.SH "NAME"
[429]22vfs_prealloc \- preallocate matching files to a predetermined size
[596]23.SH "SYNOPSIS"
[429]24.HP \w'\ 'u
[596]25vfs objects = prealloc
[429]26.SH "DESCRIPTION"
27.PP
28This VFS module is part of the
29\fBsamba\fR(7)
30suite\&.
31.PP
32The
[596]33vfs_prealloc
[429]34VFS module preallocates files to a specified size each time a new file is created\&. This is useful in environments where files are of a predetermined size will be written to a disk subsystem where extending file allocations is expensive\&.
35.PP
36This module is stackable\&.
37.SH "OPTIONS"
38.PP
39prealloc:EXT = BYTES
40.RS 4
41Preallocate all files with the extension EXT to the size specified by BYTES\&.
42.sp
43The following suffixes may be applied to BYTES:
44.sp
45.RS 4
46.ie n \{\
47\h'-04'\(bu\h'+03'\c
48.\}
49.el \{\
50.sp -1
51.IP \(bu 2.3
52.\}
[596]53K
[429]54\- BYTES is a number of kilobytes
55.RE
56.sp
57.RS 4
58.ie n \{\
59\h'-04'\(bu\h'+03'\c
60.\}
61.el \{\
62.sp -1
63.IP \(bu 2.3
64.\}
[596]65M
[429]66\- BYTES is a number of megabytes
67.RE
68.sp
69.RS 4
70.ie n \{\
71\h'-04'\(bu\h'+03'\c
72.\}
73.el \{\
74.sp -1
75.IP \(bu 2.3
76.\}
[596]77G
[429]78\- BYTES is a number of gigabytes
79.sp
80.RE
81.RE
82.SH "EXAMPLES"
83.PP
84A process writes TIFF files to a Samba share, and the is known these files will almost always be around 4 megabytes (4194304 bytes):
85.sp
86.if n \{\
87.RS 4
88.\}
89.nf
90 \fI[frames]\fR
91 \m[blue]\fBpath = /data/frames\fR\m[]
92 \m[blue]\fBvfs objects = prealloc\fR\m[]
93 \m[blue]\fBprealloc:tiff = 4M\fR\m[]
94.fi
95.if n \{\
96.RE
97.\}
98.SH "CAVEATS"
99.PP
[596]100vfs_prealloc
[429]101is not supported on all platforms and filesystems\&. Currently only XFS filesystems on Linux and IRIX are supported\&.
102.SH "VERSION"
103.PP
104This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
105.SH "AUTHOR"
106.PP
107The 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\&.
Note: See TracBrowser for help on using the repository browser.