LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2016, 01:50 PM   #1
yoav_by
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Rep: Reputation: 15
Problem mounting NAS drive using fstab


Hello,

I try to mount a NAS drive (WDMYCLOUD) at boot time using this entry in fstab:
Code:
//192.168.1.19/Public /mnt/wdmycloud cifs user=,passwd=,rw,file_mode=0777,dir_mode=0777 0 0
For some reason this doesn't work. The command:
Code:
sudo mount -va
respond with "successfully mounted", but I still acn't access the drive. However, this one works perfectly from console after boot:
Code:
sudo mount -t cifs -o user=,passwd=,rw,file_mode=0777,dir_mode=0777 //192.168.1.19/Public /mnt/wdmycloud/
My distro is raspberry pi jessie. What am I missing?

TIA
 
Old 04-24-2016, 06:15 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,124

Rep: Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726Reputation: 726
Just a guess - perhaps the network is not up when the mount is attempted.
 
Old 04-24-2016, 07:27 PM   #3
yoav_by
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Hello,

Thanks for answering. Yes, I did some digging and this it true, the network is still down when mount executes. It seems the way to mount a NAS drive is to write an upstart script that will execute when network is up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting to a nas drive perfectpc Linux - Server 1 03-20-2012 06:26 AM
Mounting a NAS Linear array with a desktop drive toaster QuintusDecius Linux - General 2 01-22-2012 07:54 AM
Mounting a remote NAS drive Seventh Linux - Newbie 1 09-26-2011 01:59 PM
Problems mounting Netgear NAS drive with CIFS, NFS. Cenobite Linux - Networking 1 07-07-2010 02:52 AM
/etc/fstab and mounting a Pen drive caps_phisto Linux - Newbie 1 09-02-2004 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration