Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkfs(1M_VXFS) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(4VXFS)

fsck(1M)

mkfs(1M)






       mkfs(1M_VXFS)                  (VXFS)                  mkfs(1M_VXFS)


       NAME
             mkfs (vxfs) - construct a vxfs file system

       SYNOPSIS
             mkfs [-F vxfs] [generic_options] [-o specific_options] special size

       DESCRIPTION
             mkfs constructs a file system.

             generic_options are options supported by the generic mkfs
             command.  specific_options are options supported by the vxfs-
             specific module of the mkfs command.

             mkfs constructs a file system by writing on the special file
             special unless the -o N flag has been specified.  The numeric
             size specifies the number of sectors in the file system.  mkfs
             builds a file system with a root directory and a lost+found
             directory [see fsck(1M)].  The number of inodes is calculated
             as a function of the file system size.  mkfs typically
             constructs file systems with any number of inodes, whether
             that number is the default (1/4 of the available blocks) or is
             specified by the ninode=num option.  However, some
             applications that pre-date System V Release 4 do not work on
             file systems with more than 64K inodes.  When the number of
             inodes for the file system to be built exceeds the 64K limit,
             mkfs prompts the user for confirmation that the file system
             should be built with the large number of inodes and offers the
             option of truncating the number to 64K.  The -o C and -o L
             options suppress this prompting.  No boot program is
             initialized by mkfs.

             The options are:

            -F vxfs
                    Specify the vxfs FSType.

            -o     Specify the vxfs file system specific options in a
                    comma-separated list. The following options are
                    available:

                   C      Limit the number of inodes to no more than
                           65,536.  Ensures compatibility with UNIX Systems
                           prior to System V Release 4. diskadd calls mkfs
                           with this option.  Use of this option suppresses
                           the confirmation prompting when the number of
                           inodes exceeds 65,536. Note that the C and L


                           Copyright 1994 Novell, Inc.               Page 1













      mkfs(1M_VXFS)                  (VXFS)                  mkfs(1M_VXFS)


                          options are mutually exclusive.

                  L      Do not limit the number of inodes to 65,536.  Use
                          of this option suppresses the confirmation
                          prompting when the number of inodes exceeds
                          65,536.  The L option forces the build of the
                          file system with the given number of inodes,
                          even if that number exceeds 65,536. Note that
                          the C and L options are mutually exclusive.

                  N      Do not write the file system to the special file.
                          This option gives all the information needed to
                          create a file system but does not create it.

                  version=n
                          n is the VxFS disk layout version number.  If n
                          is 1, the old layout (Version 1) is used.  If n
                          is 2, the new layout (Version 2) is used.  The
                          default is the Version 2 layout, which supports
                          filesets.

                  inosize=inosize
                          inosize is the on-disk inode structure size for
                          files on the file system. It must be a power of
                          2, selected from the range of 256 to 512 bytes.
                          The default is 256 bytes.

                  bsize=bsize
                          bsize is the block size for files on the file
                          system and represents the smallest amount of
                          disk space that will be allocated to a file.
                          bsize must be a power of 2 currently selected
                          from the range 1024 to 8192.  The default is
                          1024.

                  ninode=n
                          n is the number of inodes on the file system,
                          rounded down.  The default is the total number
                          of blocks in allocation units divided by 4.

                  nau=n  n is the number of allocation units on the file
                          system.  The number of allocation units should
                          not exceed 10 because some structures and
                          operations exist on a per-allocation basis.  No
                          more than 8 allocation units should be produced
                          by default.


                          Copyright 1994 Novell, Inc.               Page 2













       mkfs(1M_VXFS)                  (VXFS)                  mkfs(1M_VXFS)


                   ausize=n
                           n is the size, in blocks of size bsize, of an
                           allocation unit. This is an alternate way of
                           specifying the number of allocations units. This
                           option may not be used in conjunction with the
                           nau option. With this option, the last
                           allocation unit on the file system may be
                           shorter than the others. If the last allocation
                           unit on the file system is not long enough to
                           contain an entire allocation unit header, the
                           resulting size of the file system will be to the
                           end of the last complete allocation unit.

                   aufirst=n
                           n is the starting block number, in blocks of
                           size bsize, of the first allocation unit. This
                           option allows the allocation units to be aligned
                           to a particular boundary, such as a cylinder
                           boundary.

                   aupad=n
                           n is the size, in blocks of size bsize, to leave
                           between the end of the inode list and the first
                           data block in each allocation unit. This option
                           allows the data blocks of an allocation unit to
                           be aligned to a particular boundary, such as a
                           cylinder boundary.

                   logsize=n
                           n is the number of blocks to allocate for an
                           activity logging area.  n must be in the range
                           32 to 1024.  The default is 512 blocks.  If the
                           file system is less than 4 megabytes, logsize
                           will be reduced to avoid wasting space.  The log
                           size is 64 blocks for file systems less than 4
                           megabytes and 32 blocks for those less than 2
                           megabytes.

            special
                    mkfs constructs a file system by writing on the special
                    file.

            size   Specify the number of logical 512 byte sectors in the
                    file system.  The largest file size is a maximum of
                    4,194,304 512 byte sectors.



                           Copyright 1994 Novell, Inc.               Page 3













      mkfs(1M_VXFS)                  (VXFS)                  mkfs(1M_VXFS)


      REFERENCES
            vxfs-specific fs(4VXFS), fsck(1M), generic mkfs(1M)














































                          Copyright 1994 Novell, Inc.               Page 4








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026