Re: Mount order for directories

From: Paul Howarth (paul_at_city-fan.org)
Date: 10/18/04

  • Next message: Thornton: "linux image compression"
    Date: Mon, 18 Oct 2004 10:22:32 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Nick Pierpoint wrote:
    > Hello all.
    >
    > If I have a disk mounted on /opt:
    >
    > mount /dev/hdb1 /opt
    >
    > but then also have another disk mounted on /opt/thensome
    >
    > mount /dev/hdb2 /opt/thensome
    >
    > In /etc/fstab I'd have something like:
    >
    > LABEL=/opt /opt ext3 defaults 1 2
    > LABEL=/opt/thensome /opt/thensome ext3 defaults 1 2
    >
    > My question is will this always work? When directory mounts have a
    > degree of inter-dependence how do you specify the mount order? Does the
    > mount process religiously follow through the order in fstab?

    "man 8 mount" suggests that mount does choose the correct order to use,
    because if you look at the -F option to fork a separate mount process for each
    filesystem, it says "This will do the mounts on different devices or different
      NFS servers in parallel. This has the advantage that it is faster; also NFS
    timeouts go in parallel. A disadvantage is that the mounts are done in
    undefined order. Thus, you cannot use this option if you want to mount both
    /usr and /usr/spool." The implication is therefore that if you don't use the
    -F option, mount will get the order right.

    Paul.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Thornton: "linux image compression"

    Relevant Pages

    • problem with NFS timeout options
      ... I have great problem understanding the NFS mount options, ... I have a set of NFS servers, some up and running, others down, but I ...
      (comp.os.linux.networking)
    • Re: Mount order for directories
      ... > Nick Pierpoint wrote: ... > because if you look at the -F option to fork a separate mount process for each ... > NFS servers in parallel. ...
      (Fedora)
    • Re: NFS on 2.6.0-test9
      ... > data to and from NFS servers. ... > nfs warning: mount version older than kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [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)