Advertisement
Guest User

Untitled

a guest
May 7th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. root@tofo2 ~]# df -ha
  2. Filesystem Size Used Avail Use% Mounted on
  3. /dev/sda1 7.6G 4.8G 2.5G 67% /
  4. proc 0 0 0 - /proc
  5. sysfs 0 0 0 - /sys
  6. devpts 0 0 0 - /dev/pts
  7. tmpfs 125M 0 125M 0% /dev/shm
  8. none 0 0 0 - /proc/sys/fs/binfmt_misc
  9. sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
  10.  
  11. [root@tofo2 ~]# echo 1 > /proc/fs/cifs/MultiuserMount
  12. [root@tofo2 ~]# dmesg
  13. [root@tofo2 ~]# mount -t cifs -o user=tom //tofo1/home1 /mnt/1
  14. Password:
  15.  
  16. [root@tofo2 ~]# df -ha
  17. Filesystem Size Used Avail Use% Mounted on
  18. /dev/sda1 7.6G 4.8G 2.5G 67% /
  19. proc 0 0 0 - /proc
  20. sysfs 0 0 0 - /sys
  21. devpts 0 0 0 - /dev/pts
  22. tmpfs 125M 0 125M 0% /dev/shm
  23. none 0 0 0 - /proc/sys/fs/binfmt_misc
  24. sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
  25. //tofo1/home1 7.6G 2.5G 4.7G 35% /mnt/1
  26. [root@tofo2 ~]# mount -t cifs -o user=max //tofo1/home2 /mnt/2
  27. Password: #falsches password
  28. mount error 13 = Permission denied
  29. Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
  30.  
  31. [root@tofo2 ~]# df -ha
  32. Filesystem Size Used Avail Use% Mounted on
  33. /dev/sda1 7.6G 4.8G 2.5G 67% /
  34. proc 0 0 0 - /proc
  35. sysfs 0 0 0 - /sys
  36. devpts 0 0 0 - /dev/pts
  37. tmpfs 125M 0 125M 0% /dev/shm
  38. none 0 0 0 - /proc/sys/fs/binfmt_misc
  39. sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
  40. //tofo1/home1 0.0K 0.0K 0.0K - /mnt/1
  41. [root@tofo2 ~]# stat /mnt/1
  42. stat: cannot stat `/mnt/1': Input/output error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement