fsba(1M) fsba(1M)
NAME
fsba - file system block analyzer
SYNOPSIS
/usr/sbin/fsba [-b target_block_size] file-system1 [file-system2 . . .]
DESCRIPTION
The fsba command determines the disk space required to store
the data from an existing file system in a new file system
with the specified logical block size. Each file-system
listed on the command line refers to an existing file system
and should be specified by device name (for example,
/dev/rdsk/*, where the value of * is machine dependent).
The target_block_size specifies the logical block size in
bytes of the new file system. Valid target block sizes for
the S5 file system are 512, 1024, and 2048. The default
target block size for the S5 file system is 2048.
The fsba command prints information about how many 512-byte
disk sectors are allocated to store the data in the old
(existing) file system and how many would be required to store
the same data in a new file system with the specified logical
block size. It also prints the number of allocated and free
i-nodes for the existing file system.
If the number of free sectors listed for the new file system
is negative, the data will not fit in the new file system
unless the new file system is larger than the existing file
system. The new file system must be made at least as large as
the number of sectors listed by fsba as allocated for the new
file system. The maximum size of the new file system is
limited by the size of the disk partition used for the new
file system.
Note that it is possible to specify a target_block_size that
is smaller than the logical block size of the existing file
system. In this case the new file system would require fewer
sectors to store the data.
REFERENCES
mkfs(1M), prtvtoc(1M)
Copyright 1994 Novell, Inc. Page 1