Technical article 114844

How can I see what my filesystem block size settings are on an existing filesystem?

OpenServer 6.0.0UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

Problem

How can I see what my filesystem block size settings are on an existing filesystem?

Solution

Information on the block size can be seen from the man pages disksetup(1M) and mkfs_vxfs(1M).

Run the command "mkfs" on the appropriate disk.

For example, the disk slice information for /u3 can be found in:

/etc/vfstab
/dev/dsk/c0b0t6d0s1     /dev/rdsk/c0b0t6d0s1    /u3     vxfs    1
yes     mincache=closesync      SYS_RANGE_MAX
Run the command:
mkfs -m /dev/dsk/c0b0t6d0s1

(The same is also true of OpenServer6 eg. /dev/root)

mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,
logsize=1024,nolargefiles /dev/dsk/c0b0t6d0s1 2007040
NOTE:     The same command can be used on devices controlled by the On-Line
          Disk Manager (ODM).
NOTE:     On a vxfs filesystem (v4 layout which is default with UW7/OU8) you
          get unlimited inodes (the fs has the ability to grow the inode table)
          unless you specify -o C (or set ninode=) at mkfs time to limit to 64k
          inodes (or other specified with ninode=).

See also

disk(7); diskadd(1M); disksetup(1M); mkfs(1M); mkfs_vxfs(1M)

TA105247, "Practical examples of disk names used by SCO operating systems."

TA112921, "I want to improve the performance of a filesystem on UnixWare 7."

From the Xinuos technical article database, record 114844. Reproduced with permission. The original is at www.sco.com/ta/114844, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.