After mounting /yesh onto a new volume, I cannot see the sub directory /yesh/data001 which was existing before mounting.

If the sub directory is existing where can I find it?

  • Can you elaborate a bit more? Are you saying that the directory /yesh/data001 was present before mounting a new volume onto /yesh? – Mr Shunz Sep 17 '18 at 8:06
  • 4
    That's how it is supposed to work. Always mount on an empty directory. – Soren A Sep 17 '18 at 8:10
  • @Mr Shunz yes /yesh/data001 was present before mounting – yeswanth Sep 17 '18 at 9:14

You can use mount --bind for seeing old mount you have on same mount point.

Create any directory in your filesystem, ex: /mnt/data001, then

command: mount --bind /yesh/data001 /mnt/data001

This is tricky case, you cannot see old mount and you cant umount your old mount. Generally restart is kind of solution but with out restart if you want to access /yesh/data001 I believe you can achieve via above command.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.