1

I'm trying to mount a remote Windows share on a VPS using the following command:

sudo mount -t CIFS //cifs.example.com/sharename -o username=blah

But this throws a wrong FS type error. If I substitute cifs.example.com with my IP address, then it mounts fine.

How can I get around this issue?

  • I presume an nslookup on cifs.example.com returns the same IP address? – mt025 Aug 13 '16 at 17:37
  • It does, yeah. I think my VPS looks at cifs.example.com and jut decides it's a local hostname, and gives up. – MacKirby Aug 13 '16 at 17:54
1

FINALLY.

Installed cifs-utils for starters, which didn't resolve the issue but has certainly paved the way. Once I specified vers=3.0, the drive mounted without issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.