How to install AVFS drivers on Centos
Warning: All commands listed in this tutorial must be executed as root user.
First step is to make sure that your Linux kernel version is supported by the latest AVFS drivers for Linux.
Kernel version 2.6.18, 2.6.32 and 3.10.0 are supported.
To check your kernel version please open a terminal window on your linux machine and enter the following command:
$ uname -r
Next step is to make sure that you’ve got iscsi-initiator-utils package already installed on your distribution by entering the following command:
$ rpm -qa | grep -i iscsi-initiator-utils
If any line is printed out after executing this command, it means the package is already installed.
Otherwise you will have to install it manually by entering the following command (internet connection required):
$ yum install iscsi-initiator-utils
Download the drivers corresponding to you DDP version from our reseller page.
Put the downloaded zip file to the linux client desktop and extract the archive.
In the terminal, go the drivers folder by entering the following command:
$ cd Desktop/v3\ linux\ avfs\ driver
Make sure the install script is executable: (replace "install-avfs" by "do-install" when install V4 drivers)
$ sudo chmod +x install-avfs
And finally run the script: (replace "install-avfs" by "do-install" when install V4 drivers)
$ sudo ./install-avfs
If an error message saying that your linux kernel is not supported, please contact us.
Alternatively you could try to use a kernel module that is close to your Linux kernel version.
This can be done by creating a symbolic link using the following command: (replace "kver-2.6.32-other-version" by the kernel module you want to try)
$ ln -s kver-2.6.32-other-version kver-`uname -r`
You will be asked to enter the IP address of DDP, please provide it as the following pattern:
Then specify a mount point from the root, for example:
Finally you will have to enter an IQN name for your client machine, please provide it as the following pattern:
After the installation completes please reboot your machine.
In order to check whether the AVFS module is correctly loaded or not please execute the following command:
$ dmesg | grep -i avfs
If the command doesn't return anything, you can try to load the module manually with the following command:
$ sudo modprobe avfs
There should not be any error message.
If you get an error message or nothing appears, please contact our team.
Important note: after connecting a DDP volume, the data might not be visible if selinux is enabled.
When encountering this problem, you need to disable selinux and reboot your machine.
Selinux can be disabled by editing the /etc/selinux/config file with the following command:
$ sudo nano /etc/selinux/config
The "SELINUX" field must be set to "disabled" as per the following example:
Once you make the change, save the file and reboot your Linux client.