1VFS_PREALLOC(8)                                                VFS_PREALLOC(8)
2
3
4

NAME

6       vfs_prealloc - preallocate matching files to a predetermined size
7

SYNOPSIS

9       vfs objects = prealloc
10

DESCRIPTION

12       This VFS module is part of the samba(7) suite.
13
14       The vfs_prealloc VFS module preallocates files to a specified size each
15       time a new file is created. This is useful in environments where  files
16       are  of  a predetermined size will be written to a disk subsystem where
17       extending file allocations is expensive.
18
19       This module is stackable.
20

OPTIONS

22       prealloc:EXT = BYTES
23          Preallocate all files with the extension EXT to the  size  specified
24          by BYTES.
25
26          The following suffixes may be applied to BYTES:
27
28             ·  K - BYTES is a number of kilobytes
29
30             ·  M - BYTES is a number of megabytes
31
32             ·  G - BYTES is a number of gigabytes
33

EXAMPLES

35       A  process  writes  TIFF files to a Samba share, and the is known these
36       files will almost always be around 4 megabytes (4194304 bytes):
37
38
39               [frames]
40            path = /data/frames
41            vfs objects = prealloc
42            prealloc:tiff = 4M
43
44

CAVEATS

46       vfs_prealloc is not supported on all platforms  and  filesystems.  Cur‐
47       rently only XFS filesystems on Linux and IRIX are supported.
48

VERSION

50       This man page is correct for version 3.0.25 of the Samba suite.
51

AUTHOR

53       The  original  Samba  software  and  related  utilities were created by
54       Andrew Tridgell. Samba is now developed by the Samba Team  as  an  Open
55       Source project similar to the way the Linux kernel is developed.
56
57
58
59
60                                                               VFS_PREALLOC(8)
Impressum