# After restarting the master node, data and client nodes cannot discover the master

**URL:** <https://discuss.elastic.co/t/after-restarting-the-master-node-data-and-client-nodes-cannot-discover-the-master/334804>\
**Category:** Elasticsearch\
**Created:** [May 31, 2023, 12:55pm UTC](https://discuss.elastic.co/t/after-restarting-the-master-node-data-and-client-nodes-cannot-discover-the-master/334804 "2023-05-31T12:55:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![daniela09](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniela09/32/120636_2.png) [@daniela09](https://discuss.elastic.co/u/daniela09)\
**Post date:** [May 31, 2023, 1:16pm UTC](https://discuss.elastic.co/t/after-restarting-the-master-node-data-and-client-nodes-cannot-discover-the-master/334804/3 "2023-05-31T13:16:16Z")

</div>

Yes, they are.

This is in the deployment of my master node:

```auto
volumeMounts:
...
 - mountPath: /data
          name: elasticsearch-master-pvc
...

volumes:
...
      - name: elasticsearch-master-pvc
        persistentVolumeClaim:
          claimName: elasticsearch-master-pvc
...

```

And this is in the statefulset of my data nodes:

```auto
volumeMounts:
...
        - mountPath: /data/db
          name: elasticsearch-data
...

  volumeClaimTemplates:
  - apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      creationTimestamp: null
      name: elasticsearch-data
    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 20Gi
      storageClassName: glusterfs-replication-none
      volumeMode: Filesystem

```

Is this okay?

---

_[View the full topic](https://discuss.elastic.co/t/after-restarting-the-master-node-data-and-client-nodes-cannot-discover-the-master/334804)._
