ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N.Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Проблема с NFS
Date: Mon, 31 Mar 2008 09:07:31 +0300
Message-ID: <op.t8u9yt1hmb8vzs@oc.peooc.net> (raw)
In-Reply-To: <200803300915.38780.haw@inbox.ru>

Вот за это множетственные благодарности,
и думаю не только от меня лично.
:)

On Sun, 30 Mar 2008 08:15:38 +0300, Владимир wrote:

> у меня так получается
> #по мативам  
> 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
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community




      reply	other threads:[~2008-03-31  6:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24  6:12 sh0ckfile
2008-03-24  6:52 ` Alexey Borisenkov
2008-03-24  7:07   ` sh0ckfile
2008-03-29 18:26     ` Michael Shigorin
2008-03-29 18:33       ` Владимир
2008-03-29 18:51         ` Aleksander N.Gorohovski
2008-03-29 21:10           ` Michael Shigorin
2008-03-29 21:09         ` Michael Shigorin
2008-03-30  4:30           ` Владимир
2008-03-30  5:15             ` Владимир
2008-03-31  6:07               ` Aleksander N.Gorohovski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.t8u9yt1hmb8vzs@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git