This topic provides information about stopping an AIX® client.
Context
You can use the rmstclient command
or a series of manual steps to stop the AIX client. The client driver is automatically
stopped by stopping the operating system.
Steps
- If you are using the rmstclient command:
- Type rmstclient and press Enter
to unmount SAN File System, remove the SAN File System virtual client, and
unload the SAN File System driver from the client system.
- If you are manually stopping the client:
- Type stfsclient –query –kmname <PATH to kernel extension> and press Enter to display a list of installed
clients.
- Type stfsumount mount_point and press Enter
to unmount the global namespace, where
- mount_point
- The directory that you created to mount to the global namespace.
An example would be: # /usr/tank/client/bin/stfsumount /mnt/tank
HSTUM0007I Unmounted the file system image with vfsnumber 14
- Type ./stfsclient –destroy [client_name] –kmname <PATH
to kernel extension that was given to stfsdriver command> and
press Enter to remove the client instance, where
- client_name
- The name of the SAN File System client. The default is the host name of
the client machine.
- client_IP_address
- The IP address of the client machine.
An example would be:# /usr/tank/client/bin/stfsclient -destroy fvt4-c3-aix.2 -kmname /usr/tank/client/bin/stfs
HSTCL0042I Client fvt4-c3-aix.2 destroyed.
- Type stfsdriver –unload <PATH to kernel
extension that was given to stfsdriver -load command> and press Enter
to unload the kernel module.
An example would
be:# /usr/tank/client/bin/stfsdriver -unload /usr/tank/client/bin/stfs
unloadmsg=HSTDR0033I SAN File System driver shut down successfully.
HSTDR0035I The kernel extension 9434d3c was unloaded successfully.