如何让nfs和rsync哪个更安全.和 2个nfs 一起联通呢

搜索关键字
rsync+inotify实现nfs实时备份
本文作者: for Mark
文章链接:(转载请注明本文出处和本章链接)
一,rsync服务端配置
1,1配置rsyncd配置文件
[root@Rsync ~]# cat /etc/rsyncd.conf
#rsync server
uid = rsync
gid = rsync
use chroot = no
max connections = 2000
timeout = 600
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
lof file = /var/log/rsyncd.log
ignore errors
read only = false
list = false
hosts allow = 10.0.0.0/24
hosts deny = 0.0.0.0/32
auth users = rsync_backup
secrets file = /etc/rsync.password
###################################################
comment = bakcup by linuxea
path = /backup
1,2创建rsync用户并启动
[root@Rsync ~]# useradd rsync -M
[root@Rsync ~]# rsync --daemon
[root@Rsync ~]# ps -ef |grep rsync|grep -v grep
00:00:00 rsync --daemon
1,3创建备份文件目录并授权
[root@Rsync ~]# mkdir /backup
[root@Rsync ~]# chown -R rsync /backup
[root@Rsync ~]# ls -ld /backup/
drwxr-xr-x 2 rsync root 4096 Dec 19 03:51 /backup/
[root@Rsync ~]#
1,4创建连接密码文件
[root@Rsync ~]# echo &rsync_backup:linuxea& &/etc/rsync.password
[root@Rsync ~]# cat /etc/rsync.password
rsync_backup:linuxea
1,5开机启动
[root@Rsync ~]# echo &rsync --daemon& &&/etc/rc.local
二,配置NFS-server,在NFS-server上配置inotify-tools+rsync客户端
1,配置NFS-server
1,1安装nfs
[root@Rsync ~]# yum install nfs-utils rpcbind -y
1,2修改配置文件
[root@Rsync ~]# vim /etc/exports
10.0.0.0/24(rw,sync,all_sqiash)
1,3创建挂载目录
[root@Rsync ~]# mkdir /data
1,4修改属性
[root@Rsync ~]# chown -R nfsnobody /data/
[root@Rsync ~]# /etc/init.d/rpcbind start
Starting rpcbind:
[root@Rsync ~]# /etc/init.d/nfs start
Starting NFS quotas:
Starting NFS mountd:
Starting NFS daemon:
Starting RPC idmapd:
1,5开机挂载
[root@Rsync ~]# vim /etc/rc.local
/etc/init.d/rpcbind start
/etc/init.d/nfs start
/bin/sh /rsync/scripts/rsync-inotify.sh &
2,配置rsync+inotify-tools
安装,inotify-tools和nfs-server跑在同一个服务器上的
[root@rsync-nfs src]# wget http://nchc.dl.sourceforge.net/project/inotify-tools/inotify-tools/3.13/inotify-tools-3.13.tar.gz
2,1查看是否支持事件监控
[root@rsync-nfs src]# ls -l /proc/sys/fs/inotify/
-rw-r--r-- 1 root root 0 Dec 24 06:18 max_queued_events
-rw-r--r-- 1 root root 0 Dec 24 06:18 max_user_instances
-rw-r--r-- 1 root root 0 Dec 24 06:18 max_user_watches
2,2开始编译安装inotify
[root@rsync-nfs src]# tar xf inotify-tools-3.13.tar.gz
[root@rsync-nfs src]# cd inotify-tools-3.13
[root@rsync-nfs inotify-tools-3.13]# ./configure --prefix=/usr/local/inotify-tools-3.14
[root@rsync-nfs inotify-tools-3.13]# echo $?
[root@rsync-nfs inotify-tools-3.13]# make && make install
2,3为了方便软件升级,做一个软连接
[root@rsync-nfs inotify-tools-3.13]# ln -s /usr/local/inotify-tools-3.14/ /usr/local/inotify-tools
[root@rsync-nfs inotify-tools-3.13]# ls -l /usr/local/inotify-tools
lrwxrwxrwx 1 root root 30 Dec 24 06:23 /usr/local/inotify-tools -& /usr/local/inotify-tools-3.14/
[root@rsync-nfs inotify-tools-3.13]#
2,4其他介绍
2个工具inotifywait
inotifywatch
[root@rsync-nfs bin]# pwd
/usr/local/inotify-tools/bin
[root@rsync-nfs bin]# ll
-rwxr-xr-x 1 root root 38614 Dec 24 06:22 inotifywait
-rwxr-xr-x 1 root root 40377 Dec 24 06:22 inotifywatch
[root@rsync-nfs bin]#
inotifywait:在被监控的文件或目录上等待特定的文件系统事件发生,执行后处于阻塞状态
inotifywatch:收集被监控的文件系统使用统计数据,指文件系统事件发生的次数统计
2,5创建脚本目录文件
[root@rsync-nfs scripts]# mkdir /rsync/scripts/ -p && cd /rsync/scripts/
2,6推送data脚本
[root@rsync-nfs scripts]# vim rsync-inotify.sh
#!/bin/bash
inotify=/usr/local/inotify-tools/bin/inotifywait
$inotify -mrq --timefmt '%d/%m/%y %H:%M' --format '%T %w%f' -e create,close_write,delete /data \
|while read file
rsync -az ./data --delete rsync_backup@10.0.0.55::backup \
--password-file=/etc/rsync.password
2,7后台运行
[root@rsync-nfs scripts]# /bin/sh /rsync/scripts/rsync-inotify.sh &
[root@rsync-nfs scripts]#
三,web1和web2需要挂载/data目录,和配置rsync每天备份/var/www/html/以及其他的文件到rsync备份服务器上
1,web-nfs配置
yum install nfs-utils rpcbind -y
[root@NFS-WEB1 ~]# /etc/init.d/rpcbind start
Starting rpcbind:
[root@NFS-WEB1 ~]# chkconfig rpcbind on
[root@NFS-WEB1 backup]# showmount -e 10.0.0.30
Export list for 10.0.0.30:
/data 10.0.0.0/24
[root@NFS-WEB1 backup]# mount -t nfs 10.0.0.30:/data /mnt
[root@NFS-WEB1 backup]# df -h
Filesystem
Used Avail Use% Mounted on
0% /dev/shm
10.0.0.30:/data
[root@NFS-WEB1 backup]#
1,3开机挂载
[root@NFS-WEB1 backup]# vim /etc/rc.local
/etc/init.d/rpcbind start
mount -t nfs 10.0.0.30:/data /mnt
2,web-rsync配置
2,1创建推送密码文件
[root@NFS-WEB1 /]# echo &linuxea& &/etc/rsync.password
[root@NFS-WEB1 /]# chmod 600 /etc/rsync.password
2,2创建脚本文件
[root@NFS-WEB1 /]# mkdir /rsync/scripts/ && cd /rsync/scripts/
[root@NFS-WEB1
scripts]# ls
2,3推送文件脚本
[root@NFS-WEB1
scripts]# cat rsync.sh
path=/backup
dir=&`ifconfig eth1|awk -F '[ :]+' 'NR==2 {print $4}'`_$(date +%F-%T)&
mkdir $path/$dir -p &&\
/bin/cp -pr /var/www/html/
$path/web-$dir &&\
/bin/cp /etc/rc.local $path/$dir/rc.local-$(date +%F-%T) &&\
rsync -az $path/ rsync_backup@10.0.0.55::backup/ --password-file=/etc/rsync.password
2,4计划任务
计划任务:
每天晚上1点备份
[root@NFS-WEB1 ]# crontab -e
*/5 * * * *
/usr/sbin/ntpdate time.nist.gov &/dev/null 2&&1
00 01 * * * /bin/sh /rsync/scripts/rsync.sh &/dev/null 2&&1
本文作者: for Mark
文章链接: (转载请注明本文出处和本章链接)
您可以选择一种方式赞助本站
支付宝扫码赞助记一次rsync在nfs环境下错误处理 - 老A的自留地,欢迎加微信交流,微信号zhoul777 - ITeye技术网站
博客分类:
公司有一应用,即利用rsync开源工具从生产机拉归档日志至备份机,rsync命令从备份机发起,实现类似ftp下载的功能,但是近期发现rsync获取归档日志的时候,发现以下错误:
引用$ sudo rsync -av& --port=2008 hisdb02::mcdbra/archlog/orcl1/1_072.dbf /tmp
receiving incremental file list
rsync: send_files failed to open "/archlog/orcl1/1_072.dbf" (in mcdbra): Permission denied (13)
日志显示生产机无法open归档日志1_072.dbf,进一步检查得知该归档日志存放在nfs文件系统上。
引用root@hisdb02:/var/adm#df
Filesystem&&& 512-blocks&&&&& Free %Used&&& Iused %Iused Mounted on
/dev/hd4&&&&&&&& 2097152&& 1995896&&& 5%&&&& 2323&&&& 2% /
/dev/hd2&&&&&&&& 6815744&& 3685120&& 46%&&& 37222&&&& 9% /usr
/dev/hd9var&&&&& 2097152&&& 178200&& 92%&&&&& 443&&&& 3% /var
/dev/hd3&&&&&&& 460648&& 13%&&&& 1390&&&& 1% /tmp
/dev/hd1&&&&&&&& 2097152&& 1626432&& 23%&&&&& 488&&&& 1% /home
/proc&&&&&&&&&&&&&&&&& -&&&&&&&& -&&& -&&&&&&&& -&&&& -& /proc
/dev/hd10opt&&&& 2097152&& 1917288&&& 9%&&&& 2745&&&& 2% /opt
/dev/lvoracle&& 519376&& 57%&&& 76569&&&& 3% /oracle
/dev/fslv00&&
&& 65%&&&&& 382&&&& 1% /rman
/dev/lvdbra&&&& 608608&&& 7%&&& 25150&&&& 1% /dbra
/dev/lvarch&&& & && 28%&&&&& 370&&&& 1% /archlog/orcl2
hisdb01:/archlog/orcl1& 0979864&& 22%&&&& 4995&&&& 1% /archlog/orcl1
但是在hisdb02主机上对目录/archlog/orcl1有读写权限,但没有赋权或者更改文件属主的权限。
引用root@hisdb02:/archlog/orcl1#chown oracle:dba lll
chown: lll: Operation not permitted.
在hisdb02上检查/etc/filesystems配置文件,似乎也没有明显错误:
引用/archlog/orcl1:
&&&& dev= "/archlog/orcl1"
&&&& vfs= nfs
&&&& nodename= hisdb01
&&&& mount= true
&&&& type= nfs
&&&& options= rw,bg,hard,intr,vers=3,rsize=32768,wsize=32768,timeo=600,proto=tcp,biods=32
&&&& account= false
直觉告诉我,rsync出现这个错误,应该和nfs特定的权限有关,于是进一步在hisdb01上检查nfs配置文件/etc/exports,可以看到配置文件中并没有显示赋予root访问权限。
引用root@hisdb01:/#cat /etc/exports
/archlog/orcl1 -rw,access=hisdb02
于是添加root显示访问权限
引用root@hisdb01:/#cat /etc/exports
/archlog/orcl1 -rw,root=hisdb02,access=hisdb02
AIX对于选项的解释如下:
引用rw = Client [:Client]
Exports the directory with read-write permission to the specified Clients. Exports the directory read-only to Clients not in the list. A read-write list cannot be specified if a read-only list has been specified.
&&&&&&&&&&&&&&&&&&
access = Client[:Client,...]
Gives mount access to each Client listed. If not specified, any Client is allowed to mount the specified directory
&&&&&&&&&&&&&&&&&&
root=Client[:Client]
Allows root access from the specified Clients. Clients not in the list are not allowed root access.
为保险起见在hisdb01重新exportfs -a,然后在hisdb02重新umount,mount nfs文件系统之后,问题解决。
附:
在aix上修改配置文件/etc/exports除了手工编辑之外,aix还提供smitty 接口用于修改
引用root@hisdb01:/#smit chnfsexp
* Pathname of directory to export&&&&&&&&&&&&&&&&&&&& /archlog/orcl1
& Anonymous UID&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& [-2]
& Public filesystem?&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& [no]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
* Change export now, system restart or both&&&&&&&&&& both&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
& Pathname of alternate exports file&&&&&&&&&&&&&&&& []
& Allow access by NFS versions&&&&&&&&&&&&&&&&&&&&&& []
& External name of directory (NFS V4 access only)&&& []
& Referral locations (NFS V4 access only)&&&&&&&&&&& []
& Replica locations&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []
& Ensure primary hostname in replica list&&&&&&&&&&&& yes&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
& Allow delegations?&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []
& Security method 1&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& [sys,none]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& [read-write]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Hostname list. If exported read-mostly&&&&&&&& []
&&&&& Hosts & netgroups allowed client access&&&&&&& [hisdb02]
&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& [hisdb02]
& Security method 2&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Hostname list. If exported read-mostly&&&&&&&& []
&&&&& Hosts & netgroups allowed client access&&&&&&& []
&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& []
& Security method 3&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Hostname list. If exported read-mostly&&&&&&&& []
&&&&& Hosts & netgroups allowed client access&&&&&&& []
&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& []
& Security method 4&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +
&&&&& Hostname list. If exported read-mostly&&&&&&&& []
&&&&& Hosts & netgroups allowed client access&&&&&&& []
&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& []
或者通过chnfsexp命令进行修改&&&&&
引用/usr/sbin/chnfsexp -d '/archlog/orcl1' '-B' -S 'sys,none' -t 'rw' -c 'hisdb02' -r 'hisdb02'
浏览: 633655 次
来自: 杭州
好熟悉的数据库字段啊, 上家公司做的项目每天都跟这些字段打招呼 ...
quxiaoyong 写道遇到个问题,网上一搜,全他妈这篇文章 ...
遇到个问题,网上一搜,全他妈这篇文章。你转来转去的有意思吗?
关于version count过高的问题,不知博主是否看过ey ...
invalid 写道写的不错,我根据这个来安装,有点理解错误了 ...serverxx0 的BLOG
用户名:serverxx0
文章数:258
评论数:30
访问量:68344
注册日期:
阅读量:5863
阅读量:12276
阅读量:402820
阅读量:1092184
51CTO推荐博文
条件:存在匿名访问NFS目录列举方法1:nmap -script=nfs-ls.nse 127.0.0.1方法2.&挂载到本地&mount&-t&nfs&192.168.0.1:/export/home &/tmp/badperms&为了mount一个NFS共享需要首先在本地系统上创建一个目录,切换目录到/tmp/badperms然后你会看到位于IP地址为192.168.0.1上的export/home目录的内容。Rsync目录列举方法1:nmap -script=rsync-list-modules 127.0.0.1方法2.&&列举整个同步目录或指定目录:& &rsync 10.0.0.12::& &rsync 10.0.0.12::www/下载文件或目录到本地:& &rsync -avz 10.0.0.12::www/test.php /root& &rsync -avz 10.0.0.12::www//var/tmp上传本地文件到服务端:& rsync -avz webshell.php 10.0.0.12::www/本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)记一次rsync在nfs环境上异常处理 - 操作系统当前位置:& &&&记一次rsync在nfs环境上异常处理记一次rsync在nfs环境上异常处理&&网友分享于:&&浏览:41次记一次rsync在nfs环境下错误处理
公司有一应用,即利用rsync开源工具从生产机拉归档日志至备份机,rsync命令从备份机发起,实现类似ftp下载的功能,但是近期发现rsync获取归档日志的时候,发现以下错误:引用$ sudo rsync -av& --port=2008 hisdb02::mcdbra/archlog/orcl1/1_072.dbf /tmpreceiving incremental file listrsync: send_files failed to open "/archlog/orcl1/1_072.dbf" (in mcdbra): Permission denied (13)日志显示生产机无法open归档日志1_072.dbf,进一步检查得知该归档日志存放在nfs文件系统上。引用:/var/adm#dfFilesystem&&& 512-blocks&&&&& Free %Used&&& Iused %Iused Mounted on/dev/hd4&&&&&&&& 2097152&& 1995896&&& 5%&&&& 2323&&&& 2% //dev/hd2&&&&&&&& 6815744&& 3685120&& 46%&&& 37222&&&& 9% /usr/dev/hd9var&&&&& 2097152&&& 178200&& 92%&&&&& 443&&&& 3% /var/dev/hd3&&&&&&& 460648&& 13%&&&& 1390&&&& 1% /tmp/dev/hd1&&&&&&&& 2097152&& 1626432&& 23%&&&&& 488&&&& 1% /home/proc&&&&&&&&&&&&&&&&& -&&&&&&&& -&&& -&&&&&&&& -&&&& -& /proc/dev/hd10opt&&&& 2097152&& 1917288&&& 9%&&&& 2745&&&& 2% /opt/dev/lvoracle&& 519376&& 57%&&& 76569&&&& 3% /oracle/dev/fslv00&&
&& 65%&&&&& 382&&&& 1% /rman/dev/lvdbra&&&& 608608&&& 7%&&& 25150&&&& 1% /dbra/dev/lvarch&&& & && 28%&&&&& 370&&&& 1% /archlog/orcl2hisdb01:/archlog/orcl1& 0979864&& 22%&&&& 4995&&&& 1% /archlog/orcl1但是在hisdb02主机上对目录/archlog/orcl1有读写权限,但没有赋权或者更改文件属主的权限。引用:/archlog/orcl1#chown oracle:dba lllchown: lll: Operation not permitted.在hisdb02上检查/etc/filesystems配置文件,似乎也没有明显错误:引用/archlog/orcl1:&&&& dev= "/archlog/orcl1"&&&& vfs= nfs&&&& nodename= hisdb01&&&& mount= true&&&& type= nfs&&&& options= rw,bg,hard,intr,vers=3,rsize=32768,wsize=32768,timeo=600,proto=tcp,biods=32&&&& account= false直觉告诉我,rsync出现这个错误,应该和nfs特定的权限有关,于是进一步在hisdb01上检查nfs配置文件/etc/exports,可以看到配置文件中并没有显示赋予root访问权限。引用:/#cat /etc/exports/archlog/orcl1 -rw,access=hisdb02于是添加root显示访问权限引用:/#cat /etc/exports/archlog/orcl1 -rw,root=hisdb02,access=hisdb02AIX对于选项的解释如下:引用rw = Client [:Client]Exports the directory with read-write permission to the specified Clients. Exports the directory read-only to Clients not in the list. A read-write list cannot be specified if a read-only list has been specified.&&&&&&&&&&&&&&&&&& access = Client[:Client,...]Gives mount access to each Client listed. If not specified, any Client is allowed to mount the specified directory&&&&&&&&&&&&&&&&&& root=Client[:Client]Allows root access from the specified Clients. Clients not in the list are not allowed root access.为保险起见在hisdb01重新exportfs -a,然后在hisdb02重新umount,mount nfs文件系统之后,问题解决。附:在aix上修改配置文件/etc/exports除了手工编辑之外,aix还提供smitty 接口用于修改引用:/#smit chnfsexp* Pathname of directory to export&&&&&&&&&&&&&&&&&&&& /archlog/orcl1& Anonymous UID&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& [-2]& Public filesystem?&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& [no]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +* Change export now, system restart or both&&&&&&&&&& both&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +& Pathname of alternate exports file&&&&&&&&&&&&&&&& []& Allow access by NFS versions&&&&&&&&&&&&&&&&&&&&&& []& External name of directory (NFS V4 access only)&&& []& Referral locations (NFS V4 access only)&&&&&&&&&&& []& Replica locations&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []& Ensure primary hostname in replica list&&&&&&&&&&&& yes&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +& Allow delegations?&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []& Security method 1&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& [sys,none]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& [read-write]&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Hostname list. If exported read-mostly&&&&&&&& []&&&&& Hosts & netgroups allowed client access&&&&&&& [hisdb02]&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& [hisdb02]& Security method 2&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Hostname list. If exported read-mostly&&&&&&&& []&&&&& Hosts & netgroups allowed client access&&&&&&& []&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& []& Security method 3&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Hostname list. If exported read-mostly&&&&&&&& []&&&&& Hosts & netgroups allowed client access&&&&&&& []&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& []& Security method 4&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Mode to export directory&&&&&&&&&&&&&&&&&&&&&& []&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& +&&&&& Hostname list. If exported read-mostly&&&&&&&& []&&&&& Hosts & netgroups allowed client access&&&&&&& []&&&&& Hosts allowed root access&&&&&&&&&&&&&&&&&&&&& []或者通过chnfsexp命令进行修改&&&&& 引用/usr/sbin/chnfsexp -d '/archlog/orcl1' '-B' -S 'sys,none' -t 'rw' -c 'hisdb02' -r 'hisdb02'
12345678910
12345678910
12345678910 上一篇:下一篇:文章评论相关解决方案 12345678910 Copyright & &&版权所有}

我要回帖

更多关于 ganymed ssh 2 rsync 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信