Bobcares

For every $500 you spend, we will provide you with a $500 credit on your account*

BLACK FRIDAY SPECIAL

*The maximum is $4000 in credits, Offer valid till December 6th, 2024, New Customers Only, Credit will be applied after purchase and expires after six (6) months

For every $500 you spend, we will provide you with a $500 credit on your account*

BLACK FRIDAY SPECIAL

*The maximum is $4000 in credits, Offer valid till December 6th, 2024, New Customers Only, Credit will be applied after purchase and expires after six (6) months

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
    //192.0.2.0/mybackup /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.]

Conclusion

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.

PREVENT YOUR SERVER FROM CRASHING!

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.

GET STARTED

0 Comments

Submit a Comment

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

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