1

I am trying to understand mount points and shared volumes in a system. What does the following mean? Could you give links to understanding this if possible?

1d% pwd
/company/apps/run/prod
1d% df -h shared
Filesystem            Size  Used Avail Use% Mounted on  sanpr-pov:/vol/prod/run/share
                      1.6T  402G  1.2T  26% /company/run/prod/shared
1d% pwd
/company/execute/prod
1d% df -h shared
Filesystem            Size  Used Avail Use% Mounted on  sanpr-pov:/vol/prod/prod/share
                      1.6T  402G  1.2T  26% /company/execute/prod/shared
2

A volume can have multiple mount points. So, if for example, you do:

mount /dev/sda1 dir1
mount /dev/sda1 dir2

Then sda1 will be mounted both to dir1 and dir2. The contents of the directories will be identical.

  • 1
    Or probably mount --bind as well. – derobert Oct 13 '15 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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