
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