two mounted directories with the same name ?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Mar 26 15:26:04 UTC 2007


Frank Bonnet <f.bonnet at esiee.fr> writes:

> Hello
>
> A strange thing happened to my 6.2-R amd64 machine
>
> it has the following disk partitionning configuration
>
>
> Filesystem    1K-blocks    Used     Avail Capacity  Mounted on
> /dev/aacd0s1a   5077038   66764   4604112     1%    /
> devfs                 1       1         0   100%    /dev
> /dev/aacd0s1g 302097610       4 277929798     0%    /user
> /dev/aacd0s1d  30462636 2085826  25939800     7%    /usr
> /dev/aacd0s1e  10154158   30862   9310964     0%    /var
> /dev/aacd0s1f 203114302      14 186865144     0%    /var/mail
>
>
> OK, now I want to NFS mount a Netapp filer volume on the /user partition
> look below what happened ...
>
> mail2# mount_nfs yfiler:/vol/imap /user
> mail2# df
> Filesystem       1K-blocks      Used     Avail Capacity  Mounted on
> /dev/aacd0s1a      5077038     66764   4604112     1%    /
> devfs                    1         1         0   100%    /dev
> /dev/aacd0s1g    302097610         4 277929798     0%    /user
> /dev/aacd0s1d     30462636   2085826  25939800     7%    /usr
> /dev/aacd0s1e     10154158     30864   9310962     0%    /var
> /dev/aacd0s1f    203114302        14 186865144     0%    /var/mail
> yfiler:/vol/imap 209715200 111015364  98699836    53%    /user
>
> It seems there are two partitions (one local and one NFS mounted)
> with the *same* name ...

Yes, and the local one will be hidden until you unmount the NFS one.


More information about the freebsd-questions mailing list