# MountVolume Error while migrating from ClassicFullstack to CloudNativeFullStack monitoring Mode Dynatrace in Kubernetes/Openshift cluster

**URL:** <https://community.dynatrace.com/t/mountvolume-error-while-migrating-from-classicfullstack-to-cloudnativefullstack-monitoring-mode-dynatrace-in-kubernetes-openshift-cluster/48554>\
**Category:** Troubleshooting\
**Tags:** openshift, dynatrace-operator, cloudnative, kubernetes\
**Created:** [October 30, 2024, 2:18pm UTC](https://community.dynatrace.com/t/mountvolume-error-while-migrating-from-classicfullstack-to-cloudnativefullstack-monitoring-mode-dynatrace-in-kubernetes-openshift-cluster/48554 "2024-10-30T14:18:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asmaa](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@Asmaa](https://community.dynatrace.com/u/Asmaa)\
**Post date:** [October 30, 2024, 2:18pm UTC](https://community.dynatrace.com/t/mountvolume-error-while-migrating-from-classicfullstack-to-cloudnativefullstack-monitoring-mode-dynatrace-in-kubernetes-openshift-cluster/48554/1 "2024-10-30T14:18:15Z")

</div>

# **Symptoms**

Application pods cannot start; facing MountVolume error after migrating from ClassicFullstack(CFS) to Cloudnative(CNF).

## **Error event**

```markup
MountVolume.MountDevice failed for volume "pvc-xxxxxxxxxxxxxx" : rpc error: code = Internal desc = failed to get disk format of disk /dev/rbd0: blkid returns invalid output: ERROR: ld.so: object '/opt/dynatrace/oneagent/agent/bin/current/linux-x86-64/liboneagentproc.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. DEVNAME=/dev/rbd0 TYPE=ext4

```

- Error persists even after removing Dynatrace components (Namespace, DynaKube, Operator, Webhook, OneAgent and ActiveGate) and restarting application pods.
- /etc/ld.so.preload is either empty or does not exist.
- The node still has the old reference of /opt/dynatrace/oneagent/agent/ CFS, which should be changed to /opt/dynatrace/oneagent-pass/ in CNF.

# &nbsp; **Resolution**

- Restart the Nodes where the application pods were deployed.
- Move forward with a clean CloudNativeFullStack Operator installation.

## Note

If you are running Kubernetes clusters utilizing a CRI-O container runtime and running OneAgent version 279 or earlier, there is an additional step needed.

- Run&nbsp; /opt/dynatrace/oneagent/agent/uninstall.sh&nbsp;script on each Node, otherwise the migration fails.  
See [documentation](https://docs.dynatrace.com/docs/setup-and-configuration/setup-on-k8s/guides/operation/migration/classic-to-app-monitoring#expand--show-step-by-step-instructions)
