Skip to content

hangs on windows host while booting centos guest after "Checking mount" #69

@henning-flmnn

Description

@henning-flmnn

Hello,

I'm, trying to set up an sshfs mounted folder in a Centos 7 guest from a windows 7 host.

I configure it like this

...
  config.vm.synced_folder ".", "/vagrant", disabled: true
  config.vm.synced_folder "../..", "/windata_home", type: "sshfs"
...

(the first entry to disable the nonworking default mount, the second for the sshfs mount)

What I get is:

$ vagrant up
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'centos/7' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (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: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: No guest additions were detected on the base box for this VM! Guest
    default: additions are required for forwarded ports, shared folders, host only
    default: networking, and more. If SSH fails on this machine, please install
    default: the guest additions and repackage the box to continue.
    default:
    default: This is not an error message; everything may continue to work properly,
    default: in which case you may ignore this message.
==> default: Mounting SSHFS shared folder...
==> default: Mounting folder via SSHFS: C:/Users/myname/some/path => /windata
==> default: Checking Mount..

And from here ths boot hangs.
After waiting for ~10 minutes I entered CTRL-C, the machine was running, but the mountpoint exists and is empty.

Logfile vagrant_sshfs_sftp_server_stderr.txt is empty, vagrant_sshfs_ssh_stderr.txt just contains the warning Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.

sftp-server is installed via cygwin/openssh - before I did that, I ran into another error message, so as this went away after the installation I assume that's not the issue.

I'm not very proficient on windows, merely forced to work with it(and therefore setup a Linux VM to be able to actually do work), so I don't know much in terms of getting information from the Windows host and Virtualbox install to debug the situation.
If you need .

I searched for similar problems anywhere but did not find a solution or a hint on what to do to get the sshfs plugin working on windows, some people seem to have it running, though.

If theres anything I can add to this report to help solving it, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions