This topic provides information for starting a
Linux client.
Context
You can use the setupstclient command
or a series of manual steps to start a Linux client. The client driver is
automatically started by starting the operating system.
Steps
- If you are using the setupstclient command:
- Type setupstclient and press
Enter to start the setup guide.
- Enter the appropriate information, when prompted, to set up
the virtual client.
- To manually start the client:
- Create a directory to use as the
mount point (for example, mkdir /mnt/sansfs).
- Change to the base/client/bin directory, where base is
the base directory (for example, chdir /usr/tank/client/bin).
- Type insmod driver_file_name and
press Enter to load the kernel extension into Linux.
- Type ./stfsclient –create [client_name]
server_IP_address[:port] –converter 8859-1 [–devices=pat=pattern] and
press Enter to create an instance of the SAN File System client, called virtual
client, where
- client_name
- The name of the SAN File System client. The default is the host name of
the client machine.
- server_IP_address
- The IP address of the metadata server machine.
- port
- The port of the metadata server machine.
The default port is 1700.
- –devices=pat=pattern
- The candidate list is made up of those devices that have device-special
files whose file name matches the specified pattern. The default is –devices=pat=/dev/sd*[a-z],
where * represents any alphabetic characters (a-z).
- Type ./stfsmount client_name mount_point and
press Enter to mount the specified file system, where
- client_name
- The name of the client that you specified in step 2.d.
- mount_point
- The directory that you specified in step 2.a.