Home > Veritas Storage Foundation™ File System Manual Pages
Table of contents
fsvoladm - VxFS volume administration utility
add mount_point volname size
remove mount_point volname
encapsulate pathname volname size
[ bias ]
resize mount_point volname newsize
utility performs administrative tasks,
such as adding,
and encapsulating volumes in a specified
VERITAS File System.
specifies the directory on which the file system is mounted.
specifies the volume within the volume set.
are specified in units of disk blocks
you can append
to the number to indicate that the value is in kilobytes,
For a cluster mounted file system,
you must run
from the primary node of the cluster,
and the primary must be mounted with read
and write access.
fails if run from one of the secondary mounts.
You can use the
fsclustadm showprimary mount_point
command to determine which cluster node is the primary before you run
Adds a volume to a file system with a size of
The new space is available for allocation.
Removes an encapsulated volume from a file system
and restores the original contents of the volume.
This operation can fail if there were significant
changes to a file's allocations on disk
A volume encapsulated with a bias cannot be deencapsulated.
Adds a volume to a file system,
making the contents of that volume,
starting from offset bias,
available as a file instead of free space.
The size of the encapsulated file is size - bias.
bias must be smaller than size,
and be a multiple of the file system block size.
The default value of bias is 0.
Displays the volumes in a file system.
Removes a volume from a file system.
Resizes one of the volumes in a file system to a size of
In some circumstances,
command cannot resize a 100% full file system due to lack of space for
updating structural information.
Check VxFS file systems on a regular basis;
increase their size if they approach 100% capacity. This problem can also
occur if the file system is very busy.
Free up space or reduce activity on the file system and try the resize again.
The following command adds the volume
that is 10 gigabytes in size,
to the file system
fsvoladm add /mnt0 vol1 10g
The following command removes the volume
from the file system
fsvoladm remove /mnt0 vol1
The following command resizes the volume
in the file system
from its current size to 20 GB:
fsvoladm resize /mnt0 vol1 20g
The following command displays the volumes in the file system
fsvoladm list /mnt0
The following command encapsulates the volume
The volume is ten gigabytes in size,
resides in the file system
and has the file name
fsvoladm encapsulate /mnt0/database_file vol1 10g
The following command de-encapsulates the volume
that was encapsulated in the previous example:
fsvoladm deencapsulate /mnt0/database_file
VERITAS File System Administrator's Guide
Last updated: 01 April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.