# QS + SMB issues

**URL:** <https://forums.serverbuilds.net/t/qs-smb-issues/9464>\
**Category:** Tech Support\
**Created:** [April 9, 2021, 4:40pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464 "2021-04-09T16:40:37Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 9, 2021, 4:40pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/1 "2021-04-09T16:40:37Z")

</div>

finished setting up plex on my new prodesk, but im having trouble finding and mounting the drives from my windows 10 machine. also, my plex server is showing multiple servers with the same name, is this due to the sever still running on the windows machine in the background while i finish the setup on the prodesk. any help would be appreciated

---

<div class="post-metadata">

**Author:** ![LivePono](https://serverbuilds.b-cdn.net/letter_avatar_proxy/v4/letter/l/e9c0ed/32.png) [@LivePono](https://forums.serverbuilds.net/u/LivePono)\
**Post date:** [April 9, 2021, 5:08pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/2 "2021-04-09T17:08:24Z")

</div>

Great guide posted by Lava57 further above to get you started:

[https://forums.serverbuilds.net/t/guide-hardware-transcoding-the-jdm-way-quicksync-and-nvenc/1408/432](https://forums.serverbuilds.net/t/guide-hardware-transcoding-the-jdm-way-quicksync-and-nvenc/1408/432)

---

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 9, 2021, 6:49pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/3 "2021-04-09T18:49:45Z")

</div>

been trying to follow this, but i keep getting confused. not sure what i’m doing wrong. i get them mounted, but then get confused on automounting. i had finished the first half, the folders populated in the mnt directory, but after a restart, everything disappeared.

---

<div class="post-metadata">

**Author:** ![JDM\_WAAAT](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/jdm_waaat/32/5415_2.png) [@JDM\_WAAAT](https://forums.serverbuilds.net/u/JDM_WAAAT)\
**Post date:** [April 9, 2021, 8:17pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/4 "2021-04-09T20:17:33Z")

</div>

Can you share what your mounts config(s) look like?

---

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 9, 2021, 8:22pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/5 "2021-04-09T20:22:46Z")

</div>

I followed the post above, and used “winshare” as a mount location, with the drives folders populating in that location. How do i share what my config looks like? Have little experience with linux, its been a while.

---

<div class="post-metadata">

**Author:** ![JDM\_WAAAT](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/jdm_waaat/32/5415_2.png) [@JDM\_WAAAT](https://forums.serverbuilds.net/u/JDM_WAAAT)\
**Post date:** [April 9, 2021, 8:29pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/6 "2021-04-09T20:29:52Z")

</div>

A clear picture with your phone would be fine.

---

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 10, 2021, 8:44pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/8 "2021-04-10T20:44:26Z")

</div>

these are the initial steps i use;

sudo mkdir /mnt/nfs  
sudo mkrir /mnt/nfs/TV  
sudo mkdir /mnt/Movies  
sudo chown -R nobody:nogroup /mnt/nfs  
sudo chmod -R 0755 /mnt/nfs

sudo mount -t cifs -o username=XXXX,password=XXXX [//10.0.0.77/TV1](https://10.0.0.77/TV1) /mnt/nfs/TV/TV1  
(+ all the other directories, ie: TV1, TV2, Anime1, etc)

folders populate, but disappear on restart. not sure what to do next.  
also, any help on how to move the metadata folders from windows to ubuntu would be a great help. would rather not have my library rebuild

---

<div class="post-metadata">

**Author:** ![dwell](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/dwell/32/868_2.png) [@dwell](https://forums.serverbuilds.net/u/dwell)\
**Post date:** [April 10, 2021, 9:09pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/9 "2021-04-10T21:09:02Z")

</div>

> [@ncapps](#):
>
> sudo mount -t cifs -o username=XXXX,password=XXXX [//10.0.0.77/TV1](https://10.0.0.77/TV1) /mnt/nfs/TV/TV1

That command would need to run every time the QS box restarted. Did you follow the guide for automounting in Linux here? I’m super familiar, but using the commands you posted, there is no automatic mounting occuring.

> [@\[Guide\] Auto-Mounting Filesystems in Linux](https://forums.serverbuilds.net/t/guide-auto-mounting-filesystems-in-linux/1761):
>
> If you’re like me and use NFS to share files between multiple servers, you may occasionally run into a connection issue when you reboot - if the client comes up before the server, it won’t mount the NFS filesystems automatically. If you’re around, you can just remount them manually, but if it happens when you’re away you could be out of luck. One way to make sure this doesn’t happen is to use autofs for your NFS mounts. It’s super easy to set up, and once it’s configured the filesystems will mou…

---

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 10, 2021, 9:13pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/10 "2021-04-10T21:13:20Z")

</div>

i’ve been trying to get it working all day. im new to linux, i’m on the autofs step in the tutorial, that replaced step 4. that’s where i get confused, because the guide seems like is not set up for a windwos 10 machine, so i’ve been trying to piece it together

---

<div class="post-metadata">

**Author:** ![dwell](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/dwell/32/868_2.png) [@dwell](https://forums.serverbuilds.net/u/dwell)\
**Post date:** [April 10, 2021, 9:15pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/11 "2021-04-10T21:15:21Z")

</div>

Do some reading on fstab. Basically autofs and fstab write mappings to a configuration file, and automount those directories at startup. That guide on our forums is written using NFS instead of CIFS/SMB.

---

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 10, 2021, 9:20pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/12 "2021-04-10T21:20:38Z")

</div>

i have been reading up on both, which is why i’m confused. at this moment, i’m editing the auto.master and adding /mnt/nfs /etc/auto.nfsdb --timeout=0 --browse. do i enter it just like that, because in my mnt/nfs, i have my dir setup in this manner; /mnt/nfs/tv/ with sub directories for tv, cartoons, anime etc, and same thing for my /mnt/nfs/movies/ with subdirectories for movies, anime, kids movies, etc

---

<div class="post-metadata">

**Author:** ![dwell](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/dwell/32/868_2.png) [@dwell](https://forums.serverbuilds.net/u/dwell)\
**Post date:** [April 10, 2021, 9:24pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/13 "2021-04-10T21:24:08Z")

</div>

I don’t think changing the file /etc/auto.nfsdb file is doing anything at all, since that would be NFS specific.

Take a look here ([Quick guide to autofs for SMB and NFS shares on Ubuntu | Anteru's Blog](https://anteru.net/blog/2014/quick-guide-to-autofs-for-smb-and-nfs-shares-on-ubuntu/)). I would not recommend using the /mnt/nfs directory for CIFS shares, I would make everything consistent.

The other alternative with this is to attempt to run the NFS server on the Windows machine, and then the guide I originally linked should work 100%.

---

<div class="post-metadata">

**Author:** ![ncapps](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/ncapps/32/9064_2.png) [@ncapps](https://forums.serverbuilds.net/u/ncapps)\
**Post date:** [April 10, 2021, 9:34pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/14 "2021-04-10T21:34:51Z")

</div>

i decided to start from scratch, haven’t created any /mnt directories yet, only thing done is i created the shares on windows 10 using this guide, [How to Create Full Access Shares in Windows 10 - Geek Rewind](https://websiteforstudents.com/create-shares-everyone-full-access-windows-10-server/)

on the autofs portion, and trying to follow the guide you posted, have both autofs and cifs installed. trying to figure out what to to next

should i change the auto.master to /mnt/smb /etc/auto.cifs-shares --timeout=0 –browse

---

<div class="post-metadata">

**Author:** ![dwell](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/dwell/32/868_2.png) [@dwell](https://forums.serverbuilds.net/u/dwell)\
**Post date:** [April 10, 2021, 9:50pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/15 "2021-04-10T21:50:08Z")

</div>

> [@ncapps](#):
>
> on the autofs portion, and trying to follow the guide you posted, have both autofs and cifs installed. trying to figure out what to to next

Yes. Do that. Autofs is for automounting the shares, CIFS in the protocol by which to do it.

For any other questions/concerns, lets go ahead and make a new thread to not fill this guide (H/W transcoding) with off-topic discussion.

---

<div class="post-metadata">

**Author:** ![Lava57](https://serverbuilds.b-cdn.net/user_avatar/forums.serverbuilds.net/lava57/32/8991_2.png) [@Lava57](https://forums.serverbuilds.net/u/Lava57)\
**Post date:** [April 15, 2021, 6:01pm UTC](https://forums.serverbuilds.net/t/qs-smb-issues/9464/16 "2021-04-15T18:01:30Z")

</div>

@ncapps Did you ever get this working? I just came across this thread, I may be able to help.
