Loading and unloading the file system module

On Solaris 9 and 10, the vxfs file system module automatically loads on the first reference to a VxFS file system. This occurs when a user tries to mount a VxFS disk layout. In some instances, you may want to load the file system module manually. To do this, first load vxfs, then vxportal. vxportal is a pseudo device driver that enables VxFS commands to issue ioctls to the VxFS modules even when there are no file systems mounted on the system.

# modload /kernel/fs/vxfs
# modload /kernel/drv/vxportal

If you have a license for the Veritas Quick I/O feature, you can load its kernel modules:

# modload /usr/kernel/drv/sparcv9/fdd

To determine if the modules successfully loaded, enter:

# modinfo | grep vxportal
# modinfo | grep vxfs

The above commands provide information about the modules. The first field in the output is the module ID.

You can unload the module by entering:

# modunload -i portal_module_id
# modunload -i vxfs_module_id

The modunload command fails if any mounted VxFS file systems exist. To determine if any VxFS file systems are mounted, enter:

# df -F vxfs