<p>I have installed OpenEBS with replica count 3 in a 3-node k8s cluster. I need to find where the files are being stored.</p>

Vibhor Kumar
<p>The location of the data depends on the type of the OpenEBS Volume. The device location/path can be determined by querying the storage pool information. It is either hostPath (for jiva volumes) or a device path (for cstor volumes). </p>

<p>OpenEBS Jiva Volumes: The path can be also obtained by describing the replica pod/deployment. </p>

<pre><code>kubectl get deployment &lt;volumename-name&gt;-rep -n &lt;pvc-namespace&gt; -o yaml
</code></pre>

<p>OpenEBS cStor Volumes: The path depends on the disks used by the Storage Pool. Find the disks associated with the cStor Storage Pool and then get the device information by obtaining the details on the "disk" object. Commands to be used:</p>

<pre><code>kubectl get storageclass &lt;pvc-storage-class&gt; -o yaml
#get the storage pool claim name 
kubectl get storagepool &lt;storage-pool-claim-name&gt;-&lt;uid&gt; -o yaml
#get disk name under disk list
kubectl get disk &lt;disk-name&gt; -o yaml
</code></pre>
