Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
120 views

Commands

The m_mkfs command is used to create a multifile system by specifying a control file URL and one or more partition URLs. It has options to set permissions, use vfiles for partitions, and set the maximum vfile segment size. In the example, m_mkfs creates a 5-way partitioned multifile system with the control file in one directory and data partitions in five subdirectories.

Uploaded by

JagannathSahoo
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views

Commands

The m_mkfs command is used to create a multifile system by specifying a control file URL and one or more partition URLs. It has options to set permissions, use vfiles for partitions, and set the maximum vfile segment size. In the example, m_mkfs creates a 5-way partitioned multifile system with the control file in one directory and data partitions in five subdirectories.

Uploaded by

JagannathSahoo
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

m_mkfs

Purpose:
This command is used to create a multifile system. Multifile system consists
of Control file directory along with the partitions directory. Control file
resides in the $APPL_DATA/mdata directory and data files in partitions
directories. Depending upon number of partitions multifile system will be
created.
Syntax:
m_mkfs [ options ] control_url partition_url [ partition_url ... ]
Following are the m_mkfs options:
-m mode or
-mode mode

Set the protection for the created multifile system. The


mode option is one of the symbols accepted by the Unix
chmod command.

-mvfile

Specify that all multifiles in a multi-directory (and in all


its multi-subdirectories) will have vfiles (segmented
files) as their partitions. (By default, the multifiles in a
multi-directory have standard files as their partitions.)

-max bytes or
Specify the maximum segment size for vfile partitions.
-max-segment-size byt (The default is a system-specific value.) Note that the
es
value supplied serves only as an approximation of the
maximum segment size. It is advisable to use a value
somewhat smaller than the actual desired value. This
option is only meaningful when -mvfile is also specified.
Examples:
This command will create a multifile system with 5 way partitions.
m_mkfs $/EXPORT/HOME/TEST/DATA/mdata \
$/EXPORT/HOME/TEST/DATA/partitions/0
$/EXPORT/HOME/TEST/DATA/partitions/1
$/EXPORT/HOME/TEST/DATA/partitions/2
$/EXPORT/HOME/TEST/DATA/partitions/3
$/EXPORT/HOME/TEST/DATA/partitions/4

\
\
\
\

Note: Before executing the above command create mkdir


$/EXPORT/HOME/TEST/DATA/partitions

You might also like