NFS Setup on Solaris
NFS Server Setup
----------------
1) /etc/rc.d or /etc/init.d
/usr/sbin/portmap or rpc.portmap
2) /etc/dfs/dfstab
share -F nfs -o rw=nfsclient: /export/nfs
3) /etc/dfs/sharetab
/export/nfs - nfs rw=nfsclient
4) /etc/dfs/fstypes
nfs NFS Utilities
5) /etc/rmtab lists filesystems that are remotely mounted by clients.
6) mountd rpc.mountd
nfsd rpc.nfsd
7) /usr/sbin/share (and chomod a+rx)
#!/bin/sh
killall -HUP /usr/sbin/rpc.mountd
killall -HUP /usr/sbin/rpc.nfsd
echo re-exported file systems
(Run script after modifying /etc/exports)
8) rpcinfo -p (to check mountd and nfsd running)
NFS Client Setup
----------------
1) To make the system mount a nfs file system upon boot
/etc/vfstab
nfsserver:/export/nfs - /mnt/nfs nfs - yes -
2) /etc/mnttab lists filesystems which are currently mounted on
onto that client.
3) To mount:
Tuesday, June 29, 2010
Friday, June 25, 2010
ESX Server becomes disconnect and attempt to reconnect fail.
ESX Server becomes disconnect and attempt to reconnect fail.
One reason is the ESX services become hung.
Run the following to fix the issue:
service mgmt-vmware restart
service vmware-vpxa restart
If these don't correct the problem then run
service mgmt-vmware stop
service vmware-vpxa stop
ps -ef | grep hostd
kill -9
Further research required.
One reason is the ESX services become hung.
Run the following to fix the issue:
service mgmt-vmware restart
service vmware-vpxa restart
If these don't correct the problem then run
service mgmt-vmware stop
service vmware-vpxa stop
ps -ef | grep hostd
kill -9
Further research required.
Subscribe to:
Posts (Atom)
Welcome to the UNIX world