Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 15
Problem mounting NAS drive using fstab


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

Old 04-24-2016, 05:15 AM   #2
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,539

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

Original Poster
Rep: Reputation: 15

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.


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 05:26 AM
Mounting a NAS Linear array with a desktop drive toaster QuintusDecius Linux - General 2 01-22-2012 06:54 AM
Mounting a remote NAS drive Seventh Linux - Newbie 1 09-26-2011 12:59 PM
Problems mounting Netgear NAS drive with CIFS, NFS. Cenobite Linux - Networking 1 07-07-2010 01:52 AM
/etc/fstab and mounting a Pen drive caps_phisto Linux - Newbie 1 09-02-2004 01:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:04 AM.

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