Re: Why can't I mount NFS ?

From: Clint Gilders (techservices_at_onlinehobbyist.com)
Date: 03/31/04

  • Next message: Artem Koutchine: "Installing 5.2-RC2 on HPT 374 (RocketRaid 404) with RAID5"
    Date: Wed, 31 Mar 2004 09:31:32 -0500
    To: Supote Leelasupphakorn <pjn0211@yahoo.com>, freebsd-questions@freebsd.org
    
    

    Supote Leelasupphakorn wrote:
    > Hi all,
    >
    > I want to export
    > 1. /mnt/xx/aa
    > 2. /mnt/xx/bb
    > 3. /mnt/xx/cc
    >
    > from machine:A to machine:B. On B I can mount /mnt/xx/aa and
    > /mnt/xx/bb successful except /mnt/xx/cc, why or I missed
    > something ? Below is some information may be useful.
    >
    > --- /etc/export on machine:A ---
    > /mnt/xx/aa -ro,quiet B
    > /mnt/xx/bb -ro,quiet B
    > /mnt/xx/cc -ro,quiet B
    >
    > --- output of `df -lh` on machine:A ---
    > /dev/ad1s1e 110G 29G 73G 28% /mnt/xx/aa
    > /dev/ad2s1e 110G 29G 72G 29% /mnt/xx/bb

    What do your logs say when you try to mount cc or restart mountd and
    nfsd? Looks like aa and bb are seperate drives. Is cc on the same
    partition as aa or bb (it's not in your df output)? If so, I think
    you'll need to specify it and the other on the same line in /etc/exports.

    `man exports` says:

    "In a mount entry, the first field(s) specify the directory path(s)
    within a server filesystem that can be mounted on by the corresponding
    client(s). There are two forms of this specification. The first is to
    list all mount points as absolute directory paths separated by
    whitespace. The second is to specify the pathname of the root of the
    filesystem followed by the -alldirs flag;"

    I had to put an entry like this when I wanted to update several machines
    from one set of src and ports:

    /usr/src /usr/obj /usr/ports -maproot=0

    So, you might need something like:

    /mnt/x/bb /mnt/x/cc -ro,quiet B

    -- 
    Clint Gilders <techservices@onlinehobbyist.com>
    Director of Technology Services
    OnlineHobbyist.com, Inc.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Artem Koutchine: "Installing 5.2-RC2 on HPT 374 (RocketRaid 404) with RAID5"

    Relevant Pages

    • [opensuse] share samba and pam_mount
      ... This server is a member of AD. ... Users' local configuration file (if there is none, ... Individual users may define additional volumes to mount if allowed by ... You can specify either absolute paths, or relative ones, in which case ...
      (SuSE)
    • Re: Identifying Jobs, Started, TSO address spaces
      ... Mount is a special start task that allows an operator to specify the volume to be placed on a specific tape or DASD drive. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
      (bit.listserv.ibm-main)
    • Re: [2.6 patch] remove smbfs
      ... samba-2.x.x) work only with smbfs on the client side. ... don't make it too easy to mount with insecure lanman (ie due to ... Today the user has to explicitly specify ... There are four common issues with mounting to these very old servers: ...
      (Linux-Kernel)
    • Re: checking whether partition mounted as ext3
      ... running "mount" will tell you how the FS is mounted. ... similar to the fstab entry because the fstab entry tells it how it should ... if you don't specify the root filesystem at boot ...
      (Debian-User)