()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 05-11-30 19:46
linux - solaris nfs .(2)
 ۾ :
ȸ : 23,956  
1. .
....⼭ Ŭ̾Ʈ ÿ ڽϴ.

linux  ----
[root@zzz etc]#vi /etc/exports

/test    192.168.0.*(rw,no_root_squash)
wq!

[root@zzz etc]#
[root@zzz etc]#/etc/rc.d/init.d/nfs start


solaris -----

(file>root)/# vi /etc/dfs/dfstab
share -F nfs -o rw /data

(file>root)/#/etc/init.d/nfs.server start


2.Ŭ̾Ʈ .....

linux .....

[root@zzz etc]#/etc/rc.d/init.d/portmap start

solaris ....

(file>root)/#/etc/init.d/nfs.client start

3. nfs 丮  mount.....

linux ....

[root@zzz etc]#mkdir /public
[root@zzz etc]#mount -t nfs 192.168.0.10:/devices /public

solaris ....

(file>root)/#mkdir /ccc
(file>root)/#mount -F nfs 192.168.0.212:/test /ccc

4.Ʈ 丮 Ȯ.....

linux ....

[root@zzz public]# df -k
Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/hda2            15116868  3065388  11283576  22% /
/dev/hda1              101089      5006    90864  6% /boot
/dev/hda5              3881984    63080  3621708  2% /data
none                    127464        0    127464  0% /dev/shm
192.168.0.10:/data    20165785  10219708  9744420  52% /public
192.168.0.10:/devices
                      20165785  10219708  9744420  52% /public
[root@zzz public]#

solaris ....

(file>root)/# df -k
Ͻý          KƮ          뷮    ġ
/dev/dsk/c0t0d0s0    20165785 10219709 9744419    52%    /
/proc                      0      0      0    0%    /proc
fd                        0      0      0    0%    /dev/fd
mnttab                    0      0      0    0%    /etc/mnttab
swap                2063440      24 2063416    1%    /var/run
swap                2063432      16 2063416    1%    /tmp
/dev/dsk/c0t0d0s5    54760503 7704084 46508814    15%    /data
192.168.0.212:/test  15116868 3065388 11283576    22%    /ccc
(file>root)/#

5. nfs ϰ ....

linux ....

[root@zzz public]#vi /etc/fstab

LABEL=/          /                  ext2      defaults        1 1
LABEL=/boot    /boot            ext2      defaults        1 2
LABEL=/data    /data            ext2      defaults        1 2
none                /dev/pts      devpts    gid=5,mode=620  0 0
none                /proc            proc      defaults        0 0
none                /dev/shm    tmpfs    defaults        0 0
/dev/hda3            swap        swap    defaults        0 0
/dev/cdrom      /mnt/cdrom  udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0            /mnt/floppy  auto      noauto,owner,kudzu 0 0
192.168.0.10:/devices /public        nfs        rw                0 0  --->fstab ߰
wq!

solaris ...

(file>root)/# vi /etc/vfstab
#device        device          mount          FS      fsck    mount  mount
#to mount      to fsck        point          type    pass    at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr          ufs    1      yes    -
fd      -      /dev/fd fd      -      no      -
/proc  -      /proc  proc    -      no      -
/dev/dsk/c0t0d0s1      -      -      swap    -      no      -
/dev/dsk/c0t0d0s0      /dev/rdsk/c0t0d0s0      /      ufs    1      no      -
/dev/dsk/c0t0d0s5      /dev/rdsk/c0t0d0s5      /data  ufs    2      yes    -
swap    -      /tmp    tmpfs  -      yes    -
192.168.0.212:/test - /ccc nfs - yes -
wq!

 
 

Total 106
ȣ     ۾ ¥ ȸ
16 ssh 񽺰 ʵɶ....
2005/12/26 12098
15 ھ ϱ
2005/12/26 12121
14 HP DL380 (smart array 5300) ̵ ũ
2005/12/23 10033
13 ̵尡 Ƽ .... HP DL380 sm
2005/12/23 19705
12 solaris (1) linux (2) .
2005/12/07 4389
11 bind 9.2.3 ġ.
2005/12/07 8215
10 chkconfig
2005/12/07 4024
9 linux Ʈũ .
2005/12/07 6397
8 LVM . (Logical Volume Manager) (2)
2005/12/07 5816
7 Linux root password нǽ
2005/12/06 7547
6 [L I N U X] disk spacing management - view partion table
2005/12/06 4137
5 LVM . (Logical Volume Manager) (1)
2005/12/06 18741
4 rsync .....
2005/12/01 5756
3 linux - solaris nfs .(2)
2005/11/30 23957
2 linux nfs (1)
2005/11/30 17623
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login