Last updated：2021-11-15 20:30:32
This topic describes how to use a KFS file system in Linux.
You must install the NFS tool before you mount a file system of the NFS type.
In CentOS, run the following command to install the NFS tool:
sudo yum install nfs-utils
In Ubuntu, run the following command to install the NFS tool:
sudo apt-get install nfs-common
Run the following command:
mkdir <Directory name>
KFS supports only NFS 3.0. Run the following command to mount the file system. You can view the command on the Details page of the file system.
sudo mount -t nfs -o vers=3,nolock,proto=tcp,noresvport <IP address of the mount target>:/<FSID> <Directory name>
After the file system is mounted, run the
mount -l or
df -h command to view the mounted file system.
To unmount a file system, run the following command:
umount <Directory name>
If the “device is busy” message appears, run the
fuser -mv <dir> command to query the PIDs of the processes that are accessing the file system, run the
kill -9 process PID command to kill the processes, and then unmount the file system again.
After the file system is deleted, resources cannot be restored. We recommend that you back up your resources before you delete the file system.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.