Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

How to fix my fstab file when I try and mount my server with spaces in the name

$
0
0

I am running ubuntu 22.04 and I have the following server to mount:

//MARS/Students/2024/LastName, FirstName

I have gotten the following error after using sudo mount -a

mount error(22): Invalid argumentmy /etc/fstab file line looks like:

//MARS/Students/2024/LastName, Firstname    /media/windowsshare   cifs  credentials=/path/to/creds,iocharset=utf8 0 0

I have tried multiple things like:

//MARS/Students/2024/LastName,\040FirstName"//MARS/Students/2024/LastName, FirstName"\"//MARS/Students/2024/LastName, FirstName\"\"//MARS/Students/2024/LastName,\040FirstName\""//MARS/Students/2024/LastName,\040FirstName"

None of these work. Is there something I am missing?


Viewing all articles
Browse latest Browse all 699

Trending Articles