SnapCenter Plug-in for Oracle fails to mount backup on AIX
Applies to
- SnapCenter Plug-in for Oracle
- SnapCenter for AIX
Issue
SnapCenter Plug-in for Oracle fails to mount the backup during the filesystem clone step on an AIX host. From the spl.log we see the following errors
021-11-10T14:40:17.0354701-07:00 INFO: SCUPlugin: SCU::Utils::MetadataHelper::get_lv_custom_naming_map_file(): File name to store custom lv name details is: SCU_111_lvfilename
2021-11-10T14:40:17.0448558-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::_create_and_add_config_file_for_lv_custom_naming_scheme(): Generated the cloned lv naming config file: '/var/opt/snapcenter/scu///metadata/SCU_111_lvfilename'
2021-11-10T14:40:17.0551896-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::_add_entry_to_lv_naming_config_file(): Added the clone LV name 'lv name' to naming file
2021-11-10T14:40:17.0646008-07:00 INFO: SCUPlugin: SCU::Utils::MetadataHelper::get_lv_custom_naming_map_file(): File name to store custom lv name details is: SCU_111_lvfilename
2021-11-10T14:40:17.0741613-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::_run_recreate_vg(): Reading contents of the lv naming config file: '/var/opt/snapcenter/scu///metadata/SCU_111_lvfilename'
2021-11-10T14:40:17.0837164-07:00 DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command_using_system(): Running the command 'recreatevg -y vgname -L / -l /var/opt/snapcenter/scu///metadata/SCU_111_lvfilename hdisk4'
2021-11-10T14:40:29.0138542-07:00 DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command_using_system(): command exited with value 256
2021-11-10T14:40:29.0232321-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::get_cloned_lv_path(): Finding cloned logical volume path for its corresponding source logical volume path: '/dev/datadb' with source uuid '00f6630600004c000000012f03c21586.1'
2021-11-10T14:40:29.0322914-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::get_cloned_lv_path(): Creating lv path to lv number map for source vg 'vgname'.
2021-11-10T14:40:29.0413568-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::get_cloned_lv_path(): Adding '/dev/datadb' : '1' in source vg map
2021-11-10T14:40:29.0504347-07:00 DEBUG: SCUPlugin: SCU::HostStorage::LVM::AIXLVM::get_lv_on_vg(): Detect all Logical Volumes on VG 'vgname'
2021-11-10T14:40:29.0596930-07:00 DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Running command 'lsvg -l vgname' with timeout 600
2021-11-10T14:40:29.0783964-07:00 DEBUG: SCUPlugin: 137: SCU::Utils::Logger::set_error_and_log_with_level(): Failed to execute the command 'lsvg -l vgname', command exited with value 1.
2021-11-10T14:40:29.0877583-07:00 DEBUG: SCUPlugin: SCU::Utils::CommandHelper::execute_command(): Messages in command error stream: 0516-306 : Unable to find volume group vgname in the Device
Configuration Database.
2021-11-10T14:40:29.0967996-07:00 ERROR: SCUPlugin: 188: SCU::Utils::Logger::set_and_log_error(): Failed to find logical volumes of the volume group 'vgname': Failed to execute the command 'lsvg -l vgname'', command exited with value 1..