15_1_nfs_automount

download 15_1_nfs_automount

of 14

Transcript of 15_1_nfs_automount

  • 7/26/2019 15_1_nfs_automount

    1/14

    15 1/1

    NFS automountThis work is licensed under the Creatie Commons !ttri"ution#Noncommercial#No $eriatie %orks &'()icense' To iew a co*+ o, this license- isit htt*.//creatiecommons'or/licenses/"+#nc#nd/&'(/ or send a

    letter to Creatie Commons- 101 Second Street- Suite &((- San Francisco- Cali,ornia- 21(5- 3S!'

  • 7/26/2019 15_1_nfs_automount

    2/14

    467686

    9:;< NFS

    9=:688=>

  • 7/26/2019 15_1_nfs_automount

    3/14

    (c) 2007, 3

    D :;< NFS

    Network File !"te# $ NF %&' *+ -.%/ 1 icro"!"te#"

    45. .%/6 %-/ &%8/9/8/: NF,'; &'/.

    9' &''. ?1i@>&/&'.AB

    CD

  • 7/26/2019 15_1_nfs_automount

    4/14

    (c) 2007, +

    9=:688=> ?8? =6

  • 7/26/2019 15_1_nfs_automount

    5/14

    (c) 2007, Q

    9=:688=> =R *ortma* E111 :JP8(2 ud*/tc* E4 Fedora tc* B IP?8Q

    rpcinfo -p [ ] BU =B=

    :66 B=R

    =B=>?686I 3V$ 8? =6

  • 7/26/2019 15_1_nfs_automount

    6/14

    (c) 2007, R

    D8WX

  • 7/26/2019 15_1_nfs_automount

    7/14

    (c) 2007, 7

    9B@ NFS

    9B@ B IP?8Q (ro,sync,root_squash)

    root =B=>?R6>=R nfsnobodyEZ55&2 root_squash

    [6>?U8J6 =I' man

    exports

    ro rw

    soft hard intr

    nolock

    rsize= wsize=

    secure insecure

  • 7/26/2019 15_1_nfs_automount

    8/14

    (c) 2007, *

    GB

  • 7/26/2019 15_1_nfs_automount

    9/14

    (c) 2007,

    s+stem#con,i#n,s

  • 7/26/2019 15_1_nfs_automount

    10/14

    (c) 2007, 0

    NFS 8? =>?

    \=R portmap

    /etc/fstab

    /etc/rc.d/init.d/netfs

    mount server:/path/to/directory

    /mount/point

  • 7/26/2019 15_1_nfs_automount

    11/14

    (c) 2007,

    NFS 2

    ]=BU;6>=R B IP?8Q 6= 8?=>

  • 7/26/2019 15_1_nfs_automount

    12/14

    (c) 2007, 2

    O_`D\]bLD` _`9\`

    G=>?8? NFS#=6

  • 7/26/2019 15_1_nfs_automount

    13/14

    (c) 2007, 3

    !utomount

    fg#B?6> auto,s#'r*m

    /etc/rc'd/init'd/auto,s

    /etc/auto'master

    /etc/auto'net

  • 7/26/2019 15_1_nfs_automount

    14/14

    (c) 2007, +

    O_`D\]bLD` _`9\`

    O7QP686

    7