The CIFS module enables asynchronous I/O, and it increases archiving speed when combined with a version of archivepi that uses sendfile. (This is not necessary on Ubuntu 12.04 and later, which already supports asynchronous I/O.)
To upgrade the CIFS module, complete the following steps:
- Disable all archive targets and unmount any cifs/smb share.
- Remove the CIFS module using rmmod cifs. If you see “Module cifs is in use,” make sure all cifs/smb shares are unmounted. Use the mount | grep cifs command to list all mounted shares.
- Download the attached cifs.tar.gz file.
- Compile and install the new CIFS module:
tar zxvf cifs.tar.gz
cd cifs
make install
modprobe cifs
- Enable the archive targets from step 1.