Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vfs_prealloc(8) [suse 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 3.5 06/18/2010 VFS_PREALLOC(8)

Check Out this Related Man Page

VFS_COMMIT(8)						    System Administration tools 					     VFS_COMMIT(8)

NAME
vfs_commit - flush dirty data at specified intervals SYNOPSIS
vfs objects = commit DESCRIPTION
This VFS module is part of the samba(7) suite. The vfs_commit VFS module keeps track of the amount of data written to a file and synchronizes it to disk when a specified amount accumulates. vfs_commit is useful in two circumstances. First, if you have very precious data, the impact of unexpected power loss can be minimized by a small commit:dthresh value. Secondly, write performance can be improved on some systems by flushing file data early and at regular intervals. This module is stackable. OPTIONS
commit:dthresh = BYTES Synchronize file data each time the specified number of bytes has been written. 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
Synchronize the file data on the [precious] share after every 512 kilobytes (524288 bytes) of data is written: [precious] path = /data/precious vfs objects = commit commit:dthresh = 512K CAVEATS
On some systems, the data synchronization performed by commit may reduce performance. 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 3.5 06/18/2010 VFS_COMMIT(8)
Man Page

10 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. 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

5. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

6. Proxy Server

Samba kill the locked files from a useraccount by multiple smbd pids

Details Samba server: Release: 5.10 Kernel architecture: sun4u Application architecture: sparc Hardware provider: Sun_Microsystems Kernel version: SunOS 5.10 Generic_142909-17 Samba version: Samba version 3.5.6 Smb.conf file section Global: # smb.conf for Airbus Industries fuer... (0 Replies)
Discussion started by: Jean-Guillaume
0 Replies

7. Ubuntu

Unable to access Samba share with Ubuntu on Win7

(3 Replies)
Discussion started by: crmpicco
3 Replies

8. 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

9. AIX

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

(0 Replies)
Discussion started by: c3rb3rus
0 Replies

10. 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