Handling Additional FSS created during OL8 Upgrade
If you are unable to retrieve the provisioned environment details after upgrade,
        check the Terraform Apply job log. If the log indicates that the
            oci_file_storage_file_system, oci_file_storage_export,
            oci_file_storage_export_set resources were created, it indicates that a
        new file system has been provisioned. To restore the environment data from the old SCM file
        system, execute the following steps on the newly created OL8 instance:
- Verify that the mount is
                    empty:ls -lrt /home/opc/cmappIf the directory has no files or directories, continue with the subsequent steps. 
- Create a temporary directory to mount the old file
                system:mkdir /home/opc/tmp_fs
- Mount the old file
                system:sudo mount -t nfs <Mount_Target_IP>:/<Old_Export_Path> /home/opc/tmp_fs -o nolock
- Copy data from the old file system to the new file
                system:sudo cp -r /home/opc/tmp_fs/<SCM_RESOURCE_PREFIX>/ /home/opc/cmapp/
- Retrieve the provisioned environment
                    details:curl --location --request GET 'https://<CM_Instance_IP>:<port_num>/scm/api/v1.0/environment/<env_id>' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic <Base 64 encoded user name and api_key>'If the command output displays valid environment details, it indicates that the SCM service is operating as expected. 
- Unmount and delete the old file system that is mounted on tmp_fsif the data has been retrieved.