# Index directory

**URL:** <https://forum.opensearch.org/t/index-directory/19329>\
**Category:** OpenSearch\
**Created:** [May 13, 2024, 7:56am UTC](https://forum.opensearch.org/t/index-directory/19329 "2024-05-13T07:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_pahlevanzadeh](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/m_pahlevanzadeh/32/7468_2.png) [@m\_pahlevanzadeh](https://forum.opensearch.org/u/m_pahlevanzadeh)\
**Post date:** [May 13, 2024, 7:56am UTC](https://forum.opensearch.org/t/index-directory/19329/1 "2024-05-13T07:56:35Z")

</div>

I received data from logstash and store them into index via opensearch. and I could get query via discover.  
I created a new disk and mount it (ext4)  
the following line is my fstab line:  
`/dev/sda1 /mnt/opensearch-db ext4 rw,user=opensearch 0 0 `  
then `chown opensearch:opensearch /mnt/opensearch-db ;mount -a`

then `mkdir /mnt/opensearch-db/opensearch-db ; cp -rp /var/lib/opensearch/* /mnt/opensearch-db/opensearch-db `

then change `path.data /mnt/opensearch-db/opensearch-db`  
After restart opensearch, I can see with `df` and /mnt/opensearch-db is increased.  
Even I can see list of my index in web UI.  
But when I click on discover, It mentioned to I have to create `index pattern`

How can i access to my data?

---

<div class="post-metadata">

**Author:** ![hailong](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@hailong](https://forum.opensearch.org/u/hailong)\
**Post date:** [May 13, 2024, 10:06am UTC](https://forum.opensearch.org/t/index-directory/19329/2 "2024-05-13T10:06:00Z")

</div>

can you still see `.kibana` index? do you have multi tenant enabled for OSD and what’s the curretn tenant?

---

<div class="post-metadata">

**Author:** ![m\_pahlevanzadeh](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/m_pahlevanzadeh/32/7468_2.png) [@m\_pahlevanzadeh](https://forum.opensearch.org/u/m_pahlevanzadeh)\
**Post date:** [May 13, 2024, 10:38am UTC](https://forum.opensearch.org/t/index-directory/19329/3 "2024-05-13T10:38:08Z")

</div>

I solved. I deleted my files and stop opensearch, then cp -rvp from old files to new location then remove node.lock file then start opensearch.
