Guest User

Untitled

a guest
Apr 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.70 KB | None | 0 0
  1. SERVER ubuntu 11.04
  2.  
  3. /etc/exports
  4.  
  5.  
  6. # /etc/exports: the access control list for filesystems which may be exported
  7. #               to NFS clients.  See exports(5).
  8. #
  9.  
  10. /tank/rootbin 192.168.44.0/24(fsid=100,rw,no_subtree_check,no_root_squash)
  11. /tank/mig_passwd 192.168.44.0/24(fsid=101,ro,no_subtree_check,no_root_squash)
  12. /tank/web 192.168.44.0/24(fsid=102,rw,no_subtree_check,no_root_squash)
  13. /tank/logs 192.168.44.0/24(fsid=103,rw,no_subtree_check,no_root_squash)
  14. /tank/jbossbin 192.168.44.0/24(fsid=104,rw,no_subtree_check,no_root_squash)
  15. /tank/rootconfig 192.168.44.0/24(fsid=105,rw,no_subtree_check,no_root_squash)
  16. /tank/backup_ears 192.168.44.0/24(fsid=106,rw,no_subtree_check,no_root_squash)
  17. /tank/getcarebin 192.168.44.0/24(fsid=107,rw,no_subtree_check,no_root_squash)
  18. /tank/getcare_backups 192.168.44.0/24(fsid=108,rw,no_subtree_check,no_root_squash)
  19. /tank/fdsbin 192.168.44.0/24(fsid=109,rw,no_subtree_check,no_root_squash)
  20. /tank/fds_backups 192.168.44.0/24(fsid=110,rw,no_subtree_check,no_root_squash)
  21. /tank/push 192.168.44.0/24(fsid=111,rw,no_subtree_check,no_root_squash)
  22. /tank/web_backups 192.168.44.0/24(fsid=112,rw,no_subtree_check,no_root_squash)
  23. /tank/db 192.168.44.0/24(fsid=113,rw,no_subtree_check,no_root_squash)
  24. /tank/vm 192.168.44.0/24(fsid=114,rw,no_subtree_check,no_root_squash)
  25. /tank/mysql_db 192.168.44.0/24(fsid=115,rw,no_subtree_check,no_root_squash)
  26.  
  27. # Example for NFSv2 and NFSv3:
  28. # /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
  29. #
  30. # Example for NFSv4:
  31. # /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
  32. # /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
  33. #
  34.  
  35.  
  36. /etc/fstab
  37. proc            /proc           proc    nodev,noexec,nosuid 0       0
  38. /dev/mapper/isw_ebhbcfdgac_Volume0 /               ext4    errors=remount-ro 0       1
  39. /dev/mapper/isw_ebhbcfdgac_Volume0p5 none            swap    sw              0       0
  40. fileserverz:/tanked /mnt/fileserverz        nfs     rw,hard,intr        0 0
  41. thrift:/home/jboss/jboss/server/default /home/jboss/server/thrift       nfs     rw,hard,intr        0 0
  42. thrift:/home/jboss/jboss/server/default/log /home/jboss/logs/thrift        nfs     rw,hard,intr        0 0
  43. capp:/home/jboss/jboss/server/default /home/jboss/server/capp        nfs     rw,hard,intr        0 0
  44. capp:/home/jboss/jboss/server/default/log /home/jboss/logs/capp        nfs     rw,hard,intr        0 0
  45. sunset:/home/jboss/jboss/server/default /home/jboss/server/sunset        nfs     rw,hard,intr        0 0
  46. sunset:/home/jboss/jboss/server/default/log /home/jboss/logs/sunset nfs     rw,hard,intr        0 0
  47. vermont:/home/jboss/jboss/server/default /home/jboss/server/vermont        nfs     rw,hard,intr        0 0
  48. vermont:/home/jboss/jboss/server/default/log /home/jboss/logs/vermont nfs     rw,hard,intr        0 0
  49. hayes:/home/jboss/jboss/server/default /home/jboss/server/hayes        nfs     rw,hard,intr        0 0
  50. hayes:/home/jboss/jboss/server/default/log /home/jboss/logs/hayes nfs     rw,hard,intr        0 0
  51. baker:/home/jboss/jboss/server/default /home/jboss/server/baker        nfs     rw,hard,intr        0 0
  52. baker:/home/jboss/jboss/server/default/log /home/jboss/logs/baker nfs     rw,hard,intr        0 0
  53.  
  54. chkconfig --lost | grep "3:on"
  55.  
  56. peter@flood:~$ chkconfig --lost | grep "3:on"
  57. The program 'chkconfig' is currently not installed.  You can install it by typing:
  58. sudo apt-get install chkconfig
  59.  
  60.  
  61.  
  62. Client - Centos 5.2
  63.  
  64. [Wed Dec 07 12:20:13 root@avery:/home/peter ] $ cat /etc/exports
  65. [Wed Dec 07 12:20:20 root@avery:/home/peter ] $ cat /etc/fstab
  66. none    /       none    defaults
  67.  
  68. [Wed Dec 07 12:20:29 root@avery:/home/peter ] $ chkconfig --lost | grep "3:on"
  69. bash: chkconfig: command not found
Add Comment
Please, Sign In to add comment