From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 From: =?koi8-r?b?98zBxMnNydI=?= To: ALT Linux Community general discussions Date: Sun, 30 Mar 2008 08:15:38 +0300 User-Agent: KMail/1.9.9 References: <20080324061208.GC7240@jamun.localdomain> <20080329210923.GR21709@osdn.org.ua> <200803300830.49651.haw@inbox.ru> In-Reply-To: <200803300830.49651.haw@inbox.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200803300915.38780.haw@inbox.ru> X-Spam: Not detected Subject: Re: [Comm] =?koi8-r?b?8NLPwszFzcEg0yBORlM=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 05:15:40 -0000 Archived-At: List-Archive: List-Post: у меня так получается #по мативам http://www.crazysquirrel.com/computing/debian/servers/setting-up-nfs4.jspx #сеть 192.168.13.0/24, NFS сервер 192.168.13.5, хотим, что бы клиентские /home были на сервере, авоторизация в сети LDAP apt-get install nfs-server nfs-utils nfs-clients portmap #В /etc/sysconfig/portmap #Изменить #PORTMAP_ARGS="-l" на PORTMAP_ARGS=" " mkdir /export chmod a+rwxt /export mkdir -m 1777 /export/home mount --bind /home /export/home echo "/export 192.168.13.0/24(ro,sync,insecure,root_squash,no_subtree_check,fsid=0)" >> /etc/exports echo "/export/home 192.168.13.0/24(rw,nohide,sync,insecure,root_squash,no_subtree_check)" >> /etc/exports service portmap restart; service nfs restart exportfs -rv echo "/home /export/home none rw,bind 0 0" >> /etc/fstab ######## #На клиенте ######## apt-get install nfs-clients #если /home уже монтируется отдельным разделом, добавляем sed -i '/home/d' /etc/fstab mount -t nfs4 192.168.13.5:/home /home #посмотреть как примонтировалось df #посмотреть, что там с правами ls -ln /home #добавляем запись в /etc/fstab, что бы монтировалось само при загрузке. echo "192.168.13.5:/home /home nfs4 rw 0 0" >> /etc/fstab