Advertisement
Guest User

Untitled

a guest
Jun 13th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1. s4 :: ~ » mkdir nfs_test
  2.  
  3. s4 :: ~ » ls -l nfs_test
  4. total 12
  5. drwxr-xr-x 4 root root 512 lip 14 2013 archlinux
  6. drwxr-xr-x 5 ato root 512 sie 8 2014 debian
  7. drwxr-xr-x 7 root root 512 lis 5 2008 fedora
  8. drwxr-xr-x 8 root root 512 paź 15 2014 freebsd
  9. drwxr-xr-x 2 root root 512 kwi 28 2008 solaris
  10. drwxr-xr-x 4 root root 512 kwi 19 2014 ubuntu
  11. s4 :: ~ » sudo umount ~/nfs_test
  12. s4 :: ~ » ls -l nfs_test
  13. total 0
  14.  
  15.  
  16. ========================================
  17. s4 :: ~ » smbclient -L vol 1 ↵
  18. WARNING: The "syslog" option is deprecated
  19. Enter rybickid's password:
  20. Domain=[ZETIS] OS=[Unix] Server=[Samba 3.6.24]
  21.  
  22. Sharename Type Comment
  23. --------- ---- -------
  24. pub Disk PUB
  25. C$ Disk ZETIS Samba
  26. IPC$ IPC IPC Service (Samba 3.6.24 na volcie)
  27. rybickid Disk Katalog domowy [rybickid@s4 (10.146.225.4) OS=Samba d=52040]
  28. Domain=[ZETIS] OS=[Unix] Server=[Samba 3.6.24]
  29.  
  30. Server Comment
  31. --------- -------
  32. AMP Samba 3.3.9
  33. BOL-O990 Lab. Komp. ZETiIS IETiSIP PW
  34. D0 Lab. Komp. ZETiIS IETiSIP PW
  35. D113 d113
  36. FAR-NEW
  37. HAM ham server (Samba, R.Szmurlo)
  38. L12 Lab. Komp. ZETiIS IETiSIP PW
  39. L31 Lab. Komp. ZETiIS IETiSIP PW
  40. MAC FreeNAS Server - mac
  41. NW6_W
  42. O18_W Open Enterprise Server 2018
  43. VAR Windows Server 2012 R2
  44. VOLT Samba 3.6.24 na volcie
  45. WAT Windows Server 2008 R2 Enterprise
  46.  
  47. Workgroup Master
  48. --------- -------
  49. DOM_LESZNO LAP-MIS-2017
  50. IETISIP ZETIIS
  51. WORKGROUP GAUS
  52. ZETIS VOLT
  53.  
  54.  
  55.  
  56. s4 :: ~ » _ mount -t cifs -o username=rybickid,uid=rybickid,gid=stud //volt/rybickid test_smb/
  57. Password for rybickid@//volt/rybickid: ********
  58. s4 :: ~ » df -h test_smb
  59. Filesystem Size Used Avail Use% Mounted on
  60. //volt/rybickid 68G 55G 7,9G 88% /home/stud/rybickid/test_smb
  61. s4 :: ~ » _ umount test_smb
  62. s4 :: ~ » df -h test_smb
  63. Filesystem Size Used Avail Use% Mounted on
  64. //vol/rybickid 68G 55G 7,9G 88% /home/stud/rybickid
  65. s4 :: ~ » df -h
  66. Filesystem Size Used Avail Use% Mounted on
  67. udev 3,8G 0 3,8G 0% /dev
  68. tmpfs 781M 9,6M 771M 2% /run
  69. /dev/shm 1,3G 1,2G 61M 96% /cdrom
  70. /dev/loop0 1,2G 1,2G 0 100% /rofs
  71. /cow 3,9G 297M 3,6G 8% /
  72. tmpfs 3,9G 244K 3,9G 1% /dev/shm
  73. tmpfs 5,0M 4,0K 5,0M 1% /run/lock
  74. tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
  75. tmpfs 6,1G 18M 6,1G 1% /tmp
  76. ftp:/tank/pub 1,7T 1,5T 216G 87% /pub
  77. //vol/rybickid 68G 55G 7,9G 88% /home/stud/rybickid
  78. tmpfs 781M 64K 780M 1% /run/user/7372
  79. vol:/ 125G 114G 924M 100% /net/vol
  80. ldap:/ 74G 25G 49G 34% /net/ldap
  81. s4 :: ~ » l test_smb
  82. total 0
  83. drwxr-xr-x 2 rybickid stud 0 cze 13 10:58 .
  84. drwx-----x 31 rybickid stud 0 cze 13 11:00 ..
  85.  
  86. =============================
  87.  
  88.  
  89. PS H:\> net view
  90. Server Name Remark
  91.  
  92. -------------------------------------------------------------------------------
  93. \\AMP Samba 3.3.9
  94. \\BOL-O990 Lab. Komp. ZETiIS IETiSIP PW
  95. \\D0 Lab. Komp. ZETiIS IETiSIP PW
  96. \\D113 d113
  97. \\FAR-NEW
  98. \\HAM ham server (Samba, R.Szmurlo)
  99. \\L12 Lab. Komp. ZETiIS IETiSIP PW
  100. \\L31 Lab. Komp. ZETiIS IETiSIP PW
  101. \\MAC FreeNAS Server - mac
  102. \\NW6_W
  103. \\O18_W Open Enterprise Server 2018
  104. \\VAR Windows Server 2012 R2
  105. \\VOLT Samba 3.6.24 na volcie
  106. \\WAT Windows Server 2008 R2 Enterprise
  107. The command completed successfully.
  108.  
  109. PS H:\> net view \\volt
  110. Shared resources at \\volt
  111.  
  112. Samba 3.6.24 na volcie
  113.  
  114. Share name Type Used as Comment
  115.  
  116. -------------------------------------------------------------------------------
  117. pub Disk PUB
  118. rybickid Disk Katalog domowy [rybickid@wat (194.29.146.8) OS=Vista d=53736]
  119. The command completed successfully.
  120.  
  121. PS H:\> net use g: \\volt\pub
  122. System error 53 has occurred.
  123.  
  124. The network path was not found.
  125.  
  126. PS H:\> net use g: \\vol\rybickid
  127. The command completed successfully.
  128.  
  129. PS H:\> dir g:
  130.  
  131.  
  132. Directory: g:\
  133.  
  134.  
  135. Mode LastWriteTime Length Name
  136. ---- ------------- ------ ----
  137. d----- 2018-03-07 12:54 Pulpit
  138. d----- 2018-03-19 09:25 WINDOWS
  139. d----- 2018-06-13 11:30 Downloads
  140. d----- 2018-03-07 12:54 Szablony
  141. d----- 2018-03-07 12:54 Publiczny
  142. d----- 2018-03-07 12:54 Dokumenty
  143. d----- 2018-03-07 12:54 Muzyka
  144. d----- 2018-04-25 12:52 Obrazy
  145. d----- 2018-03-07 12:54 Wideo
  146. d----- 2018-06-10 14:23 bin
  147. d----- 2018-05-22 17:12 VirtualBox VMs
  148. d----- 2018-03-11 00:31 kart
  149. d----- 2018-06-12 10:44 labsk
  150. d----- 2018-04-21 14:52 pomoce
  151. d----- 2018-06-08 17:36 securedir
  152. d----- 2018-06-09 16:57 test2
  153. d----- 2018-06-09 17:00 test3
  154. d----- 2018-06-13 10:58 test_smb
  155. d----- 2018-06-13 11:27 nfs_test
  156. ------ 2018-05-23 13:11 30 test
  157. ------ 2018-05-23 12:47 2700 przedWiFi
  158. ------ 2018-03-24 21:31 830 FreeBSD
  159. ------ 2018-05-23 13:08 32 test.old
  160. ------ 2018-05-23 13:20 987 wp.pl
  161. ------ 2018-05-23 13:16 890 wifitest
  162. ------ 2018-06-12 10:11 305 wpa.conf
  163. ------ 2018-04-11 11:05 575 plugin.sh
  164. ------ 2018-05-29 17:21 828 bl.sh
  165. ------ 2018-05-29 17:22 495 blockmachine.sh
  166. ------ 2018-05-09 13:36 97575 lab5.txt
  167. ------ 2018-05-18 16:41 39662 spr
  168. ------ 2018-05-24 19:38 0 logoutdziala
  169. ------ 2018-06-07 19:52 1959 sprawkowifi.txt
  170. ------ 2018-06-05 22:54 70 wsa_supplicant_help
  171. ------ 2018-06-09 08:34 305 sudo
  172. ------ 2018-06-11 23:10 4704 test_scriot
  173.  
  174.  
  175. PS H:\> net use g: /delete
  176. g: was deleted successfully.
  177.  
  178. PS H:\> dir g:
  179. dir : Cannot find drive. A drive with the name 'g' does not exist.
  180.  
  181. ==============================================================================
  182. C:\Users\TEMP>showmount -e vol
  183. Exports list on vol:
  184. /tmp/obj All Machines
  185. /home/stud ldap, fed.iem.pw.edu.pl, amp,
  186. fre.iem.pw.edu.pl, ubu.iem.pw.edu.pl,
  187. len.iem.pw.edu.pl, vxjac.iem.pw.edu.pl
  188. / All Machines
  189. /nfs lap
  190.  
  191. C:\Users\TEMP>mount \\vol:\nfs z:
  192. Network Error - 53
  193.  
  194. Type 'NET HELPMSG 53' for more information.
  195.  
  196.  
  197. C:\Users\TEMP>mount vol:\nfs z:
  198. ERROR - Invalid command line argument
  199. mount vol:\nfs z:
  200. ^^^^^^^^
  201.  
  202. C:\Users\TEMP>mount volt:/nfs z:
  203. z: is now successfully connected to volt:/nfs
  204.  
  205. The command completed successfully.
  206.  
  207. C:\Users\TEMP>dir z:
  208. Volume in drive Z has no label.
  209. Volume Serial Number is 0000-0043
  210.  
  211. Directory of Z:\
  212.  
  213. 2015-05-15 22:36 <DIR> .
  214. 2015-05-15 22:36 <DIR> ..
  215. 2014-10-15 17:00 <DIR> freebsd
  216. 2014-04-19 16:03 <DIR> ubuntu
  217. 2008-11-05 20:44 <DIR> fedora
  218. 2008-04-28 05:16 <DIR> solaris
  219. 2013-07-14 16:15 <DIR> archlinux
  220. 2015-05-15 22:36 183 .DUS
  221. 2014-08-08 17:49 <DIR> debian
  222. 1 File(s) 4 279 bytes
  223. 8 Dir(s) 11 690 622 976 bytes free
  224.  
  225. C:\Users\TEMP>umount z:
  226.  
  227. Disconnecting z: \\volt\nfs
  228. The command completed successfully.
  229.  
  230. C:\Users\TEMP>dir z:
  231. The system cannot find the path specified.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement