Bootstrap FreeKB - Linux Commands - Resolve "mount: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program."
Linux Commands - Resolve "mount: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program."

Updated:   |  Linux Commands articles

Let's say something like this is being returned when attempted to mount a share.

mount: /tmp: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

 

I ran into this issue when attempting to mount a CIFS share on one of my Amazon Web Services (AWS) EC2 instances.

[ec2-user@ip-172-31-80-56 ~]$ sudo mount --types cifs //172.31.19.227/share /tmp

 

This occurred because I didn't have the CIFS Utilities package installed, thus the solution was to install the CIFS Utilities package.

[ec2-user@ip-172-31-80-56 ~]$ sudo yum install cifs-utils

 

If this were to happen with an NFS share, I would probably see if installing the NFS Utilities package would resolve the issue.

yum install nfs-utils

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter f99e1c in the box below so that we can be sure you are a human.