bad usage on attempting to mount

18,116

Solution 1

Several things I see:

  1. You give link to a tutorial on nfs (Network File System) and not CIFS (Common Internet File System).
  2. The format for cifs is:

    mount -t cifs //server-name/share-name /mnt/cifs -o username=USER,password=PASSWORD
    
    • No space as pointed out from previous answer, and
    • No : between IP address and share folder

So your mount command should be:

 sudo mount -t cifs -o username=USER,password=PASSWORD //IPADRRESS/homes /media/backups/

Solution 2

You have a space in your options. All of the -o options should not have any spaces between them.

Hope this helps

Share:
18,116
user550717
Author by

user550717

I like solving hard problems with statistics, machine learning, and python. Most of my work has been in social science. I am more machine now than man, twisted and evil. At least that's what I hope when I am able to transfer my consciousness into a robot body.

Updated on September 18, 2022

Comments