Jump to content

Hey everyone,

 

I am pretty new to Linux, having only been using it the last couple of months. I am using Ubuntu 18.04 LTS on my HTPC, mostly just as a Plex Server and media box.

 

I have a NAS (Qnap TS210) which houses all the media and this has been 'mounted' to the HTPC fine for the last few months; but the other day I had to switch out my router, as the old one was broke. This meant the IP address of the NAS changed.

 

I changed the NAS IP address in the FSTAB, but now when I type "sudo mount -a" into the terminal...nothing happens. Terminal appears frozen, but if I try and close it it says it is still executing a command. But the drives never become mounted.

 

Can anyone offer any idea as to what has gone wrong?

 

Thanks in advance.

Link to comment
https://linustechtips.com/topic/1167937-mount-a-is-not-working/
Share on other sites

Link to post
Share on other sites

Can you post your fstab file? Are you sure your new router doesn't have some sort of firewall running by default?

 

Also could you not just assign the same static IP to your NAS as before?

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
https://linustechtips.com/topic/1167937-mount-a-is-not-working/#findComment-13398816
Share on other sites

Link to post
Share on other sites

Fstab is as follows:

 

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=0fd3ef7d-26fd-4657-831e-450512c31c9b /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

#Network Shares
//192.168.1.9/Multimedia /home/foster/Media/Multimedia cifs credentials=/home/foster/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
//192.168.1.9/4K\040Movies /home/foster/Media/4K\040Movies cifs credentials=/home/foster/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
//192.168.1.9/HTPC\040Backup /home/foster/Media/HTPC\040Backup cifs credentials=/home/foster/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
//192.168.1.9/Datashare /home/foster/Media/Datashare cifs credentials=/home/foster/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

 

I didn try to set the NAS as the old IP, but the router claims that IP is already in use; despite it not showing it assigned to any devices. And I can't see anyway to reallocate, since it is my ISP's router, it is fairly limited in functionailty.

Link to comment
https://linustechtips.com/topic/1167937-mount-a-is-not-working/#findComment-13398843
Share on other sites

Link to post
Share on other sites

Can you try to mount one of those shares manually and post the error (if any)?

 

For example:

mount -v -t cifs -o credentials=/home/foster/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777  //192.168.1.9/Multimedia /home/foster/Media/Multimedia

 

Edited by scupostreake
Added verbose flag to make the output more useful for troubleshooting
Link to comment
https://linustechtips.com/topic/1167937-mount-a-is-not-working/#findComment-13402807
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×