Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vfs_prealloc(8) [osx man page]

VFS_PREALLOC(8) 														   VFS_PREALLOC(8)

NAME
vfs_prealloc - preallocate matching files to a predetermined size SYNOPSIS
vfs objects = prealloc DESCRIPTION
This VFS module is part of the samba(7) suite. The vfs_prealloc VFS 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. This module is stackable. OPTIONS
prealloc:EXT = BYTES Preallocate all files with the extension EXT to the size specified by BYTES. The following suffixes may be applied to BYTES: o K - BYTES is a number of kilobytes o M - BYTES is a number of megabytes o G - BYTES is a number of gigabytes EXAMPLES
A process writes TIFF files to a Samba share, and the is known these files will almost always be around 4 megabytes (4194304 bytes): [frames] path = /data/frames vfs objects = prealloc prealloc:tiff = 4M CAVEATS
vfs_prealloc is not supported on all platforms and filesystems. Currently only XFS filesystems on Linux and IRIX are supported. VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
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. VFS_PREALLOC(8)

Check Out this Related Man Page

VFS_PREALLOC(8) 					    System Administration tools 					   VFS_PREALLOC(8)

NAME
vfs_prealloc - preallocate matching files to a predetermined size SYNOPSIS
vfs objects = prealloc DESCRIPTION
This VFS module is part of the samba(7) suite. The vfs_prealloc VFS 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. This module is stackable. OPTIONS
prealloc:EXT = BYTES Preallocate all files with the extension EXT to the size specified by BYTES. The following suffixes may be applied to BYTES: o K - BYTES is a number of kilobytes o M - BYTES is a number of megabytes o G - BYTES is a number of gigabytes EXAMPLES
A process writes TIFF files to a Samba share, and the is known these files will almost always be around 4 megabytes (4194304 bytes): [frames] path = /data/frames vfs objects = prealloc prealloc:tiff = 4M CAVEATS
vfs_prealloc is not supported on all platforms and filesystems. Currently only XFS filesystems on Linux and IRIX are supported. VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
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. Samba 4.0 06/17/2014 VFS_PREALLOC(8)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Samba for IRIX 6.5.26

I am not new to unix as a user, but new in setting up a workstation/server. I need to connect to my PC network to share files. I have heard Samba is a good tool, but they do not have a compiled version to download for IRIX. Can someone help me out? Thanks, Orrbit (1 Reply)
Discussion started by: orrbit
1 Replies

2. Shell Programming and Scripting

Append Line From a File To Another File

Dear all, i have a problem... i have 2 files first one is A.txt 5268345674 ABCDEF1 ABC 10121 EXT 5265087087 ABCDEF3 ABC 10221 EXT 5268979998 ABCDEF4 ABC 10321 EXT second... (3 Replies)
Discussion started by: panknil
3 Replies

3. Linux

Facing problem in Samba share

Hi, I am facing problem while accessing samba share on Linux 5.1 from windows, though I have done the same configuration on Linux 4 (Update 2), on Red Hat 4.0 it is working but while on Linux 5.1 these configuration are not working, I have disabled the firewall also. Kindly suggest me... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. Red Hat

Checking File size

Hi Team, I am a new bie to unix and want to check a directory for a files with extension *.doc exceeding a specific file size limit,and will give me a buffer ooutput as below I used below command, find . -name \*.doc -size +3k -printf "|%p |%k KB" which resulted as, ./ABC_sw_high.doc ... (1 Reply)
Discussion started by: lisha.ahuja
1 Replies

5. Shell Programming and Scripting

Usage of prealloc command

hi please tell me the usage of prealloc command. (1 Reply)
Discussion started by: 2002anand
1 Replies

6. Shell Programming and Scripting

Count math using awk

Hi expert, I have log : TOTAL-TIME : 2125264636 DATA-BYTES-DOWN : 3766111307032 DATA-BYTES-UP : 455032157567 DL = (3766111307032/2125264636)/1024 = 1.73 UL = (455032157567/2125264636)/1024 = 0.21 I want the result : TOTAL = 1.94 ... (4 Replies)
Discussion started by: justbow
4 Replies

7. AIX

Samba on AIX, issues setting read-only flag on files?

(0 Replies)
Discussion started by: c3rb3rus
0 Replies

8. Windows & DOS: Issues & Discussions

Dreaded Win7 0x80070035 with Samba

I have a Win7 machine which is connected to a perfectly ordinary Samba share. Suddenly, it has started refusing to connect to it with error 0x80070035 -- "the network path was not found". Attempting to login with its IP address \\192.168.x.x does not work either. When I attempt to diagnose the... (8 Replies)
Discussion started by: Corona688
8 Replies