![삼바 공유 마운트 오류: CIFS VFS: 사용자 이름이 지정되지 않았습니다.](https://linux55.com/image/123933/%EC%82%BC%EB%B0%94%20%EA%B3%B5%EC%9C%A0%20%EB%A7%88%EC%9A%B4%ED%8A%B8%20%EC%98%A4%EB%A5%98%3A%20CIFS%20VFS%3A%20%EC%82%AC%EC%9A%A9%EC%9E%90%20%EC%9D%B4%EB%A6%84%EC%9D%B4%20%EC%A7%80%EC%A0%95%EB%90%98%EC%A7%80%20%EC%95%8A%EC%95%98%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
CentOS, Ubuntu 및 Debian에서 삼바 공유를 마운트하려고 시도했지만 모든 것이 괜찮아 보였지만 "CIFS VFS: 사용자 이름이 지정되지 않았습니다"라는 오류가 발생했습니다.
이것은 내 /etc/fstab입니다:
//1.2.3.4/share /mnt/share cifs rw,iocharset=utf8,uid=root,gid=root,credentials=/root/smbcredentials 0 0
내/루트/smbcredentials
username=...
password=...
내 결과는 다음과 같습니다.
# mount /mnt/backups
mount: wrong fs type, bad option, bad superblock on //10.13.37.5/backups,
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.
# dmesg | tail
[ 1308.670814] CIFS VFS: No username specified
답변1
다음을 설치해야 합니다 cifs-utils
.
yum install cifs-utils # centos/redhat/older fedora
dnf install cifs-utils # newer fedora
apt install cifs-utils # debian/ubuntu