Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s4 :: ~ » mkdir nfs_test
- s4 :: ~ » ls -l nfs_test
- total 12
- drwxr-xr-x 4 root root 512 lip 14 2013 archlinux
- drwxr-xr-x 5 ato root 512 sie 8 2014 debian
- drwxr-xr-x 7 root root 512 lis 5 2008 fedora
- drwxr-xr-x 8 root root 512 paź 15 2014 freebsd
- drwxr-xr-x 2 root root 512 kwi 28 2008 solaris
- drwxr-xr-x 4 root root 512 kwi 19 2014 ubuntu
- s4 :: ~ » sudo umount ~/nfs_test
- s4 :: ~ » ls -l nfs_test
- total 0
- ========================================
- s4 :: ~ » smbclient -L vol 1 ↵
- WARNING: The "syslog" option is deprecated
- Enter rybickid's password:
- Domain=[ZETIS] OS=[Unix] Server=[Samba 3.6.24]
- Sharename Type Comment
- --------- ---- -------
- pub Disk PUB
- C$ Disk ZETIS Samba
- IPC$ IPC IPC Service (Samba 3.6.24 na volcie)
- rybickid Disk Katalog domowy [rybickid@s4 (10.146.225.4) OS=Samba d=52040]
- Domain=[ZETIS] OS=[Unix] Server=[Samba 3.6.24]
- Server Comment
- --------- -------
- AMP Samba 3.3.9
- BOL-O990 Lab. Komp. ZETiIS IETiSIP PW
- D0 Lab. Komp. ZETiIS IETiSIP PW
- D113 d113
- FAR-NEW
- HAM ham server (Samba, R.Szmurlo)
- L12 Lab. Komp. ZETiIS IETiSIP PW
- L31 Lab. Komp. ZETiIS IETiSIP PW
- MAC FreeNAS Server - mac
- NW6_W
- O18_W Open Enterprise Server 2018
- VAR Windows Server 2012 R2
- VOLT Samba 3.6.24 na volcie
- WAT Windows Server 2008 R2 Enterprise
- Workgroup Master
- --------- -------
- DOM_LESZNO LAP-MIS-2017
- IETISIP ZETIIS
- WORKGROUP GAUS
- ZETIS VOLT
- s4 :: ~ » _ mount -t cifs -o username=rybickid,uid=rybickid,gid=stud //volt/rybickid test_smb/
- Password for rybickid@//volt/rybickid: ********
- s4 :: ~ » df -h test_smb
- Filesystem Size Used Avail Use% Mounted on
- //volt/rybickid 68G 55G 7,9G 88% /home/stud/rybickid/test_smb
- s4 :: ~ » _ umount test_smb
- s4 :: ~ » df -h test_smb
- Filesystem Size Used Avail Use% Mounted on
- //vol/rybickid 68G 55G 7,9G 88% /home/stud/rybickid
- s4 :: ~ » df -h
- Filesystem Size Used Avail Use% Mounted on
- udev 3,8G 0 3,8G 0% /dev
- tmpfs 781M 9,6M 771M 2% /run
- /dev/shm 1,3G 1,2G 61M 96% /cdrom
- /dev/loop0 1,2G 1,2G 0 100% /rofs
- /cow 3,9G 297M 3,6G 8% /
- tmpfs 3,9G 244K 3,9G 1% /dev/shm
- tmpfs 5,0M 4,0K 5,0M 1% /run/lock
- tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
- tmpfs 6,1G 18M 6,1G 1% /tmp
- ftp:/tank/pub 1,7T 1,5T 216G 87% /pub
- //vol/rybickid 68G 55G 7,9G 88% /home/stud/rybickid
- tmpfs 781M 64K 780M 1% /run/user/7372
- vol:/ 125G 114G 924M 100% /net/vol
- ldap:/ 74G 25G 49G 34% /net/ldap
- s4 :: ~ » l test_smb
- total 0
- drwxr-xr-x 2 rybickid stud 0 cze 13 10:58 .
- drwx-----x 31 rybickid stud 0 cze 13 11:00 ..
- =============================
- PS H:\> net view
- Server Name Remark
- -------------------------------------------------------------------------------
- \\AMP Samba 3.3.9
- \\BOL-O990 Lab. Komp. ZETiIS IETiSIP PW
- \\D0 Lab. Komp. ZETiIS IETiSIP PW
- \\D113 d113
- \\FAR-NEW
- \\HAM ham server (Samba, R.Szmurlo)
- \\L12 Lab. Komp. ZETiIS IETiSIP PW
- \\L31 Lab. Komp. ZETiIS IETiSIP PW
- \\MAC FreeNAS Server - mac
- \\NW6_W
- \\O18_W Open Enterprise Server 2018
- \\VAR Windows Server 2012 R2
- \\VOLT Samba 3.6.24 na volcie
- \\WAT Windows Server 2008 R2 Enterprise
- The command completed successfully.
- PS H:\> net view \\volt
- Shared resources at \\volt
- Samba 3.6.24 na volcie
- Share name Type Used as Comment
- -------------------------------------------------------------------------------
- pub Disk PUB
- rybickid Disk Katalog domowy [rybickid@wat (194.29.146.8) OS=Vista d=53736]
- The command completed successfully.
- PS H:\> net use g: \\volt\pub
- System error 53 has occurred.
- The network path was not found.
- PS H:\> net use g: \\vol\rybickid
- The command completed successfully.
- PS H:\> dir g:
- Directory: g:\
- Mode LastWriteTime Length Name
- ---- ------------- ------ ----
- d----- 2018-03-07 12:54 Pulpit
- d----- 2018-03-19 09:25 WINDOWS
- d----- 2018-06-13 11:30 Downloads
- d----- 2018-03-07 12:54 Szablony
- d----- 2018-03-07 12:54 Publiczny
- d----- 2018-03-07 12:54 Dokumenty
- d----- 2018-03-07 12:54 Muzyka
- d----- 2018-04-25 12:52 Obrazy
- d----- 2018-03-07 12:54 Wideo
- d----- 2018-06-10 14:23 bin
- d----- 2018-05-22 17:12 VirtualBox VMs
- d----- 2018-03-11 00:31 kart
- d----- 2018-06-12 10:44 labsk
- d----- 2018-04-21 14:52 pomoce
- d----- 2018-06-08 17:36 securedir
- d----- 2018-06-09 16:57 test2
- d----- 2018-06-09 17:00 test3
- d----- 2018-06-13 10:58 test_smb
- d----- 2018-06-13 11:27 nfs_test
- ------ 2018-05-23 13:11 30 test
- ------ 2018-05-23 12:47 2700 przedWiFi
- ------ 2018-03-24 21:31 830 FreeBSD
- ------ 2018-05-23 13:08 32 test.old
- ------ 2018-05-23 13:20 987 wp.pl
- ------ 2018-05-23 13:16 890 wifitest
- ------ 2018-06-12 10:11 305 wpa.conf
- ------ 2018-04-11 11:05 575 plugin.sh
- ------ 2018-05-29 17:21 828 bl.sh
- ------ 2018-05-29 17:22 495 blockmachine.sh
- ------ 2018-05-09 13:36 97575 lab5.txt
- ------ 2018-05-18 16:41 39662 spr
- ------ 2018-05-24 19:38 0 logoutdziala
- ------ 2018-06-07 19:52 1959 sprawkowifi.txt
- ------ 2018-06-05 22:54 70 wsa_supplicant_help
- ------ 2018-06-09 08:34 305 sudo
- ------ 2018-06-11 23:10 4704 test_scriot
- PS H:\> net use g: /delete
- g: was deleted successfully.
- PS H:\> dir g:
- dir : Cannot find drive. A drive with the name 'g' does not exist.
- ==============================================================================
- C:\Users\TEMP>showmount -e vol
- Exports list on vol:
- /tmp/obj All Machines
- /home/stud ldap, fed.iem.pw.edu.pl, amp,
- fre.iem.pw.edu.pl, ubu.iem.pw.edu.pl,
- len.iem.pw.edu.pl, vxjac.iem.pw.edu.pl
- / All Machines
- /nfs lap
- C:\Users\TEMP>mount \\vol:\nfs z:
- Network Error - 53
- Type 'NET HELPMSG 53' for more information.
- C:\Users\TEMP>mount vol:\nfs z:
- ERROR - Invalid command line argument
- mount vol:\nfs z:
- ^^^^^^^^
- C:\Users\TEMP>mount volt:/nfs z:
- z: is now successfully connected to volt:/nfs
- The command completed successfully.
- C:\Users\TEMP>dir z:
- Volume in drive Z has no label.
- Volume Serial Number is 0000-0043
- Directory of Z:\
- 2015-05-15 22:36 <DIR> .
- 2015-05-15 22:36 <DIR> ..
- 2014-10-15 17:00 <DIR> freebsd
- 2014-04-19 16:03 <DIR> ubuntu
- 2008-11-05 20:44 <DIR> fedora
- 2008-04-28 05:16 <DIR> solaris
- 2013-07-14 16:15 <DIR> archlinux
- 2015-05-15 22:36 183 .DUS
- 2014-08-08 17:49 <DIR> debian
- 1 File(s) 4 279 bytes
- 8 Dir(s) 11 690 622 976 bytes free
- C:\Users\TEMP>umount z:
- Disconnecting z: \\volt\nfs
- The command completed successfully.
- C:\Users\TEMP>dir z:
- The system cannot find the path specified.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement