Home > Veritas Storage Foundation™ Cluster File System Manual Pages
ODMMKFILE (1) |
|
User Commands |
Table of contents
odmmkfile - create a VxFS ODM file
odmmkfile
[
-h
[
headersize
]]
-s
size
Symantec Veritas Editions products.
odmmkfile
creates a file with preallocated, contiguous disk space to improve the
efficiency of referencing the file contents, and to increase sequential
I/O performance.
Use the
-h
headersize
option to create Oracle-specific datafiles. If the size of file
including the header is not a multiple of the file system block size,
it is rounded to a multiple of the file system block size before
preallocation.
-
-h headersize
-
Creates a file
file
with additional space allocated for the Oracle header.
headersize
can be in units of bytes, kilobytes, megabytes, gigabytes, terabytes,
or sectors by entering the appropriate suffix (k, K, m, M, g, G, t, T,
b or B). The default is bytes. Oracle files require additional space
equal to one Oracle block to store header information, so
headersize
should be equal to the Oracle block size. 32K is the default if
headersize
is omitted.
-
-s size
-
Preallocates space
size
for a file.
size
can be in units of bytes, kilobytes, megabytes, gigabytes, terabytes,
or sectors by entering the appropriate suffix (k, K, m, M, g, G, t, T,
b or B). The default is bytes.
Create a file named
foo
of 1M:
odmmkfile -s 1M foo
Create a file named
dbf
of 1M as an Oracle datafile:
odmmkfile -h -s 1M dbf
The following example shows the result after running the above commands:
ls -oa
total 204802
drwxr-xr-x 3 oracle 96 Nov 23 14:05 .
drwxr-xr-x 38 root 1024 Nov 9 18:42 ..
-rw-r--r-- 1 oracle 1081344 Nov 23 14:16 dbf
-rw-r--r-- 1 oracle 1048576 Nov 23 14:05 foo
getext(1),
odmstat(1),
qiomkfile(1),
setext(1),
vxfsio(7)
Last updated: 25 Mar 2002
Copyright ©2009 Symantec Corporation
All rights reserved.