Eu tenho alguns problemas com as pastas compartilhadas do Vagrant, meu sistema básico é o Windows 8.1 Pro . Minha versão do VirtualBox é 5.0.
A caixa vem do PuPHPet .
Eu não entendo porque eu tenho esse erro é algo que não está certo configurado?
Aqui está o vagrant up :
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'puphpet/ubuntu1404-x64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Preparing SMB shared folders...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 8057 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
GuestAdditions 5.0.0 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting SMB shared folders...
default: D:/Devs/Web => /var/www
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t cifs -o uid='id -u www-data',gid='getent group www-data | cut -d: -f3',
sec=ntlm,username=,password=PASSWORDHIDDEN ///d2c8055a93aac26cbde4bbf14822ca4c /
var/www
mount -t cifs -o uid='id -u www-data',gid='id -g www-data',sec=ntlm,username=,pa
ssword=PASSWORDHIDDEN ///d2c8055a93aac26cbde4bbf14822ca4c /var/www
The error output from the last command was:
stdin: is not a tty
mount: wrong fs type, bad option, bad superblock on ///d2c8055a93aac26cbde4bbf14
822ca4c,
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
Antes disso eu tive o erro comum que diz que a versão de adição de convidado não corresponde à versão do Virtual Box, mas eu instalei vb-guest e parece bem agora.
Agora parece que o protocolo SMB está falhando e não sei por quê.