1VFS_PREALLOC(8)           System Administration tools          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
34

EXAMPLES

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

CAVEATS

45       vfs_prealloc is not supported on all platforms and filesystems.
46       Currently only XFS filesystems on Linux and IRIX are supported.
47

VERSION

49       This man page is part of version 4.8.3 of the Samba suite.
50

AUTHOR

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