- 论坛徽章:
- 0
|
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>; mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>; mtu 1500 index 2
inet 10.1.8.1 netmask ffff0000 broadcast 10.1.255.255
groupname mswitch
ether 0:3:ba:3a:69:ba
eri0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER>; mtu 1500 index 2
inet 10.1.8.4 netmask ffff0000 broadcast 10.1.255.255
eri1: flags=79040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY,INACTIVE>; mtu 1500 index 3
inet 10.1.8.5 netmask ffff0000 broadcast 10.1.255.255
groupname mswitch
ether 0:3:ba:3a:69:bb
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.2.0.0 10.1.8.254 UG 1 1
10.3.0.0 10.1.8.254 UG 1 0
10.1.0.0 10.1.8.1 U 1 13275 eri0
10.1.0.0 10.1.8.1 U 1 0 eri0:1
10.1.0.0 10.1.8.1 U 1 57789 eri1
10.1.0.0 10.1.8.254 UG 1 0
224.0.0.0 10.1.8.1 U 1 0 eri0
default 10.1.8.254 UG 1 2
127.0.0.1 127.0.0.1 UH 21 620909 lo0
# cd /etc/init.d
# ./nfs.server stop
# share
# ./nfs.server start
# share
- /opt/oracle/ora_backup rw "oracle hot backup"
# more /etc/dfs/dfstab
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>;"] <pathname>; [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o rw -d "oracle hot backup" /opt/oracle/ora_backup
# exit
Connection closed by foreign host.
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>; mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>; mtu 1500 index 2
inet 10.1.8.10 netmask ffff0000 broadcast 10.1.255.255
ether 0:3:ba:3d:ca:25
# mount -F nfs 10.1.8.1:/opt/oracle/ora_backup /mnt
NFS server 10.1.8.1 not responding still trying
but it may mount itself
# mount -F nfs 10.1.8.1:/opt/oracle/ora_backup /mnt
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d10 30709395 24793881 5608421 82% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 5212904 16 5212888 1% /var/run
swap 5212912 24 5212888 1% /tmp
10.1.8.1:/opt/oracle/ora_backup
30709395 24793881 5608421 82% /mnt |
|