Score:0

how to mount root of shared folders or how to mount all shared folders with cifs

lc flag

I am trying to mount the root of a nas server. We have many shared folders and mounting one by one is a bit tedious.

I am looking for a way to not have to place the folder to be mounted, if not all in one line.

When I try I get the following error

CIFS: attempting to mount \\x.x.x.8\
CIFS: VFS: cfis mount failed w/return code = -22

in my fstab i have the next lines

//x.x.x.38/produc /home/desarrollo/prodshare cifs credentials=/etc/ca-certificates/.cr,file_mode=0777,dir_mode=0777,iocharset=utf8 0 0
//x.x.x.85/share /home/desarrollo/servidor cifs credentials=/etc/ca-certificates/.cr,file_mode=0777,dir_mode=0777,iocharset=utf8 0 0
//x.x.x.81/temp /home/desarrollo/pruebas81 cifs credentials=/etc/ca-certificates/.cr,file_mode=0777,dir_mode=0777,iocharset=utf8 0 0
//x.x.x.8/ /home/desarrollo/server8 cifs credentials=/etc/ca-certificates/.cr,file_mode=0777,dir_mode=0777,iocharset=utf8 0 0

has anyone dealt with this?

guiverc avatar
cn flag
You've not provided release details; as Microsoft need to make changes to CIFS on occasion, and it thus can matter. Have you tried mounting files outside of $HOME?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.