Solved

MongoDB backup failure

  • 21 February 2022
  • 2 replies
  • 619 views

Userlevel 4
Badge +12

Good day 

I’m setting up a MongoDB cluster backup for testing/demo purposes.
It’s all a new installation.
Mongo is running V5.0.6

OS of the three nodes is Ubuntu 20.04
Commvault version is V11.25.19

I get the below error on backup initiation and can’t find much info on this.

I have admin to the two paths noted.

 

 

Description: Failed to create the snapshot. : [Couldn't attach device /dev/sdb: 0xECCC0002:{CvBfDriver::attachDevice(77)} + {CvBfDriver::open(50)/ErrNo.2.(No such file or directory)-Couldn't open /dev/cvbf/admin}]
Source: Secondary Node, Process: MongoDBCtrl

 

Thanks,
Mauro

icon

Best answer by Abdullah 22 February 2022, 01:39

View original

If you have a question or comment, please create a topic

2 replies

Badge +3

Hi Mauro,

Please check and  confirm the system requirements : https://documentation.commvault.com/11.22/expert/99537_system_requirements_for_mongodb.html

 

What OS platform is it on? Please note : we do not have support for Ubuntu for CVBF.

The reason why Ubuntu is not supported is because they don’t pay attention to maintaining kernel driver binary interface compatibility between minor security updates and they make way too many of these updates. As a result, we physically cannot supply built drivers for every single kernel version they release.Other distributions are more conservative in that regard, and we can release prebuilt drivers only for major Service Packs sometimes even skipping some because we are not affected by the changes.

 

Also confirm if the LVM’s are configured as Native snaps CVBF is not supported for raw devices as MongoDB data path. Looking at the device name it look like a raw pysical disk and not an LVM.

Requirement for this solution is for DB to reside on snappable LVM volume: https://documentation.commvault.com/commvault/v11/article?p=99616.htm

 

Note: To select a native snapshot engine, verify that the LVM is configured on MongoDB data paths.

Userlevel 4
Badge +12

Hi Mauro,

Please check and  confirm the system requirements : https://documentation.commvault.com/11.22/expert/99537_system_requirements_for_mongodb.html

 

What OS platform is it on? Please note : we do not have support for Ubuntu for CVBF.

The reason why Ubuntu is not supported is because they don’t pay attention to maintaining kernel driver binary interface compatibility between minor security updates and they make way too many of these updates. As a result, we physically cannot supply built drivers for every single kernel version they release.Other distributions are more conservative in that regard, and we can release prebuilt drivers only for major Service Packs sometimes even skipping some because we are not affected by the changes.

 

Also confirm if the LVM’s are configured as Native snaps CVBF is not supported for raw devices as MongoDB data path. Looking at the device name it look like a raw pysical disk and not an LVM.

Requirement for this solution is for DB to reside on snappable LVM volume: https://documentation.commvault.com/commvault/v11/article?p=99616.htm

 

Note: To select a native snapshot engine, verify that the LVM is configured on MongoDB data paths.

Thanks so much for clarifying this for me.
I went the Ubuntu route as it does show as supported platform in the documentation. I changed to CentOS and everything is working as required.
We also did configure the LVM’s during the reconfiguration and we have everything working now.

Thanks again.
Regards,
Mauro