Automaticke pripojeni nfs svazku

Roman Neuhauser neuhauser at bellavista.cz
Thu Feb 19 16:59:00 CET 2004


# zbynh at seznam.cz / 2004-02-19 15:10:09 +0100:
> On Thu, Feb 19, 2004 at 12:56:10PM +0100, Roman Neuhauser wrote:

> >     email postrada zakladni informace nutne pro diagnostiku, a
> >     pochybuju, ze se nekomu bude chtit tahat to z vas jako z chlupate
> >     deky.
> /etc/rc.conf: (server)
> 
> portmap_enable="YES"
> nfs_server_enable="YES"
> nfs_server_flags="-u -t -n 4"
> mountd_flags="-r"
> 
> 
> /etc/rc.conf (klient)
> 
> nfs_client_enable="YES"
> nfs_client_flags="-n 4"
> nfs_reserved_port_only="YES"
> 
> /etc/exports 
> 
> /usr/local/www/data     -maproot=zhouska 192.168.100.1
> 
> /etc/fstab (client)
> 
> 192.168.100.2:/usr/local/www/data               /home/mnt  nfs     rw      0   0
> 
> Opet rikam, vse funguje pri rucnim namountovani.

    ok, co vidite pri bootu na obrazovce mezi
    "Mounting NFS file systems:" a teckou, ktera pak nasleduje, kdyz
    pred tim v /etc/rc misto

    case "`mount -d -a -t nfs 2> /dev/null`" in

    nechate

    case "`mount -d -a -t nfs`" in

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html



More information about the Users-l mailing list