Unable to mount cifs share with vers=1.0 or vers=2.0

Solution Verified - Updated -

Issue

  • Getting the below error while mounting cifs share with vers=1.0 or vers=2.0
# mount /test
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • cifs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content