2014-02-27 14:12:52Linux媛媛
--第五步,拷贝文件
#serv01
[root@serv01 share]# cp /boot/* 。 -rvf
[root@serv02 /]# cd /data
[root@serv02 data]# ll
total 18592
-rw-r--r--。 1 4294967294 4294967294 100182 Aug 12 21:45config-2.6.32-131.0.15.el6.x86_64
drwxr-xr-x. 3 4294967294 4294967294 4096Aug 12 21:45 efi
drwxr-xr-x. 2 4294967294 4294967294 4096 Aug 12 21:45 grub
-rw-r--r--。 1 4294967294 4294967294 12587318Aug 12 21:45 initramfs-2.6.32-131.0.15.el6.x86_64.img
drwx------。 2 4294967294 4294967294 4096 Aug 12 21:45 lost+found
-rw-r--r--。 1 4294967294 4294967294 165812 Aug 12 21:45symvers-2.6.32-131.0.15.el6.x86_64.gz
-rw-r--r--。 1 4294967294 4294967294 2278446 Aug 12 21:45System.map-2.6.32-131.0.15.el6.x86_64
-rwxr-xr-x. 1 4294967294 4294967294 3881120 Aug 12 21:45 vmlinuz-2.6.32-131.0.15.el6.x86_64
[root@serv02 data]# cpvmlinuz-2.6.32-131.0.15.el6.x86_64 /root -rvf
`vmlinuz-2.6.32-131.0.15.el6.x86_64‘ -》`/root/vmlinuz-2.6.32-131.0.15.el6.x86_64’
#不能创建文件,修改配置文件
[root@serv02 data]# touch aa01.txt
touch: cannot touch `aa01.txt‘: Read-onlyfile system
[root@serv01 share]# vim /etc/exports
[root@serv01 share]# cat /etc/exports
/share *(rw)
#重启服务
[root@serv01 share]# /etc/init.d/nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
2021-07-20
2014-02-27
2020-12-24
2021-03-01
2022-01-24