Mount points with the same name? - HP UX

This is a discussion on Mount points with the same name? - HP UX ; Is the following correct in regards to naming mount points? df -kl | grep usr /usr/local/stage (/dev/vg00/lvol10 ) : 16637390 ... kb /usr (/dev/vg00/lvol7 ) : 2243383 ... kb If I cd /usr which mountpoint am I on? It doesn't ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Mount points with the same name?

  1. Mount points with the same name?

    Is the following correct in regards to naming mount points?

    df -kl | grep usr
    /usr/local/stage (/dev/vg00/lvol10 ) : 16637390 ... kb
    /usr (/dev/vg00/lvol7 ) : 2243383 ... kb

    If I

    cd /usr

    which mountpoint am I on?

    It doesn't seem correct to me?

  2. Re: Mount points with the same name?

    DG problem wrote:
    > Is the following correct in regards to naming mount points?
    >
    > df -kl | grep usr
    > /usr/local/stage (/dev/vg00/lvol10 ) : 16637390 ... kb
    > /usr (/dev/vg00/lvol7 ) : 2243383 ... kb
    >
    > If I
    >
    > cd /usr
    >
    > which mountpoint am I on?
    >
    > It doesn't seem correct to me?


    DG,

    It is correct

    first:
    cd /usr
    will bring you to /dev/vg00/lvol7

    then:
    cd local/stage
    will bring you to /dev/vg00/lvol10

    The order of mounting the filesystems is very important in these
    combinations.

    So first mount /usr and after that /usr/local/stage

    Other wish you will only be able to access /dev/vg00/lvol7 and
    /dev/vg00/lvol10 might not mount at all.


    Kind regards,


    Jan Gerrit Kootstra

  3. Re: Mount points with the same name?

    DG problem writes:

    > Is the following correct in regards to naming mount points?
    >
    > df -kl | grep usr
    > /usr/local/stage (/dev/vg00/lvol10 ) : 16637390 ... kb
    > /usr (/dev/vg00/lvol7 ) : 2243383 ... kb
    >
    > If I
    >
    > cd /usr
    >
    > which mountpoint am I on?


    Try "cd /usr; bdf ."; easy, isn't it?

    >
    > It doesn't seem correct to me?


  4. Re: Mount points with the same name?

    On Dec 6, 7:17 pm, Ulrich Windl
    wrote:
    > DG problem writes:
    > > Is the following correct in regards to namingmountpoints?

    >
    > > df -kl | grep usr
    > > /usr/local/stage (/dev/vg00/lvol10 ) : 16637390 ... kb
    > > /usr (/dev/vg00/lvol7 ) : 2243383 ... kb

    >
    > > If I

    >
    > > cd /usr

    >
    > > which mountpoint am I on?

    >
    > Try "cd /usr; bdf ."; easy, isn't it?
    >


    Thanks, that was what I was looking for.

  5. Re: Mount points with the same name?

    On Dec 6, 4:56 pm, Jan Gerrit Kootstra
    wrote:
    > DG problem wrote:
    > > Is the following correct in regards to namingmountpoints?

    >
    > > df -kl | grep usr
    > > /usr/local/stage (/dev/vg00/lvol10 ) : 16637390 ... kb
    > > /usr (/dev/vg00/lvol7 ) : 2243383 ... kb

    >
    > > If I

    >
    > > cd /usr

    >
    > > which mountpoint am I on?

    >
    > > It doesn't seem correct to me?

    >
    > DG,
    >
    > It is correct
    >
    > first:
    > cd /usr
    > will bring you to /dev/vg00/lvol7
    >
    > then:
    > cd local/stage
    > will bring you to /dev/vg00/lvol10
    >
    > The order of mounting the filesystems is very important in these
    > combinations.
    >
    > So firstmount/usr and after that /usr/local/stage
    >
    > Other wish you will only be able to access /dev/vg00/lvol7 and
    > /dev/vg00/lvol10 might notmountat all.
    >
    > Kind regards,
    >
    > Jan Gerrit Kootstra



    Thanks

+ Reply to Thread