Last updated：2021-11-15 20:30:27
This topic describes how to configure a Linux or Windows client to automatically mount a KFS file system after the client is restarted.
Connect to the Linux client by using VNC or remote login.
Run the following command to open the fstab file. Your account must have the root privileges to run this command.
After the /etc/fstab file is opened, press I to go to the Insert mode and add the mount command to the file.
Mount a file system by using NFS 3.0:
<IP address of the mount target>:/<FSID> <Directory name> nfs nfsvers=3,nolock,proto=tcp,hard,timeo=600,retrans=2,_netdev,noresvport 0 0
10.10.19.12:/cfs-agYqTBKwTt /mnt nfs nfsvers=3,nolock,proto=tcp,hard,timeo=600,retrans=2,_netdev,noresvport 0 0
Press Esc and run the :wq command to save the modification. After you restart the client, the file system is automatically mounted to the client.
If an auto mount command is added to the fstab file but the file system to be mounted does not work normally, the Linux client may fail to start due to a mount failure. To resolve this issue, you can enter the single-user mode during system startup, delete the auto mount command from the fstab file, and then restart the Linux client.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.