CLIENT AREACall Us 1-800-383-5193


Call Us 1-800-383-5193


Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Resolving cPanel CIFS-mounted Backup Drive Error

by | Oct 8, 2021

Is the cPanel CIFS-mounted backup drive error makign life difficult? Fortunately, we have a solution for this error. FInd out what the Support Team at Bobcares have to say.

Find out how you can avoid the pesky cPanel CIFS-mounted Backup Drive Error from the best in the industry. Our Support Team offers you an insight into resolving this issue with just a few simple steps. Read on to find out more.

All About cPanel CIFS-mounted backup drive error

An error while attempting to take a backup of a CIFS mounted drive is inevitable in some cases. Fortunately, our Support Engineers have plenty of experience helping our Clients resolve this specific issue. For instance, here is an example fo an error you may face:

/bin/cp: failed to preserve ownership for `': Permission denied /bin/cp: failed to preserve ownership for `': Permission denied

Furthermore, these errors are often caused as a result of missing extended attributes in the Common Internet File System (CIFS)-mounted drive.

How do I fix CIFS-mounted backup drive error?

  1. First, make changes to the /etc/fstab file to ensure that the CIFS-mounted drive includes the user_xattr option. For instance:
    /dev/mapper/centos_centos--7--clone-root /                       xfs     defaults        1 1
    UUID=01c6e08e-bbd1-4046-af48-beaf233746d4 /boot                  xfs     defaults        1 2
    /dev/mapper/centos_centos--7--clone-swap swap                    swap    defaults        0 0
    // /backup cifs user,uid=500,rw,suid,credentials=/root/.cifs,user_xattr 0 0

    In the above example, the IFS mounted drive entry can be seen in the last line. Moreover, the mounted files are owned by the local user and the access credentials of the CIF drive can be found in the /root/.cifs file.

    Our Support Engineers strongly recommend storing the CIF mounted drive’s access credentials is a secure, separate file.

  2. Next, run the command, remount mount to remount the CIFS-mounted drive.
  3. After that, run the command, lsattr /CIFS_mount to add the extended attributes. You need to remember that the extended attributes are not supported if the lsattr /CIFS_mount returns the error:
    Error means not available: lsattr: Inappropriate ioctl for device While reading flags on ...

    It is important to note that any mount that does not support extended attributes will not be able to function with WHM and cPanel backups.

[Require assistance with Server Management? Help is within reach.]


At the of the day, we learned how to resolve the cPanel CIFS-mounted Backup Drive Error without too much trouble. The Support Team at Bobcares demonstrated an easy way to overcome the problem once and for all.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.



Submit a Comment

Your email address will not be published. Required fields are marked *