Mount the error code for mounting samba shares =-22

Source: Internet
Author: User
Tags dmesg

Today, samba is used to share a directory, and there is no problem with local mounting. The remote machine mounting reports the following error:
Mount: wrong fs type, bad option, bad superblock on // 192.168.1.33/share,
Missing codepage or helper program, or other error
(For several filesystems (e.g. nfs, cifs) you might
Need a/sbin/mount. <type> helper program)
In some cases useful info is found in syslog-try
Dmesg | tail or so
Then run dmesg | tail
[2242176.506491] smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs
[2, 2242176.506898] smb_fill_super: missing data argument
[2, 2242232.549770] cifs vfs: cifs_mount failed w/return code =-22
[2, 2242425.641177] cifs vfs: cifs_mount failed w/return code =-22
[2242445.510631] smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs
[2, 2242445.511037] smb_fill_super: missing data argument
[2, 2242925.558212] cifs vfs: cifs_mount failed w/return code =-22
[2, 2242937.319962] cifs vfs: cifs_mount failed w/return code =-22
[2, 2242946.396069] cifs vfs: cifs_mount failed w/return code =-22
[2, 2243134.145463] cifs vfs: cifs_mount failed w/return code =-22
Google searches for cifs vfs: cifs_mount failed w/return code =-22. On the internet, nfs-common is installed, but this is still the case. In combination with the above output information, the prompt should be not supported by the file system. Try to dress the smbfs File System
Apt-get install smbfs
The problem is solved perfectly!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.