LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
network share drives me mad
#5
My question is (I think) a continuation or subtlety of this question so I will add it here.

I am trying to mount a network drive at book using fstab, but I would be perfectly happy to do the same thing by putting a mount command such as is described here in my rc.local file.

For some reason I am finding that when I test the command from a terminal, by putting for example

sudo mount -t cifs -o username=username,password=yourpassword,uid=username,gid=users //192.168.10.11/Files /home/dave/ZShares/Files

I find that it does not work the first time, and gives me the error

mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


But if I issue EXACTLY the same command a second time, it works without giving errors of any kind and mounts the drive.  From the terminal I can recreate this repeatedly --

sudo umount -a dismounts everything, including the network drive

  >>> if I then issue:

sudo mount -a        >>>>>>> I get the error

If I then issue

sudo mount -a a SECOND time

I get a mounted network drive and no error!

Probably if I could figure out why this is happening (the need to execute the command twice) I could figure out the rest of my problems.

Can anyone suggest an answer?  =---  thanks

PS -- I was hoping to find a section of the excellent startup manual on networks (https://www.freecinema2022.gq/manual/network.html#nas)  because it covers a lot, but  I could not find a section on mounting a network drive.

Thanks again
Reply


Messages In This Thread
network share drives me mad - by mybook - 09-08-2014, 08:35 PM
Re: network share drives me mad - by N4RPS - 09-09-2014, 07:22 AM
Re: network share drives me mad - by Valtam - 09-09-2014, 06:19 PM
Re: network share drives me mad - by Wirezfree - 09-11-2014, 10:11 AM
Re: network share drives me mad - by greenisland - 01-07-2015, 03:24 AM
Re: network share drives me mad - by Scott(0) - 01-07-2015, 06:04 AM
Re: network share drives me mad - by greenisland - 01-07-2015, 06:51 AM
Re: network share drives me mad - by Wirezfree - 01-07-2015, 10:24 AM
Re: network share drives me mad - by greenisland - 01-07-2015, 01:14 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 01:19 PM
Re: network share drives me mad - by Wirezfree - 01-07-2015, 06:23 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 07:38 PM
Re: network share drives me mad - by Wirezfree - 01-07-2015, 09:10 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 10:52 PM
Re: network share drives me mad - by greenisland - 01-07-2015, 11:41 PM
Re: network share drives me mad - by Wirezfree - 01-08-2015, 02:24 AM
Re: network share drives me mad - by N4RPS - 01-08-2015, 02:29 AM
Re: network share drives me mad - by greenisland - 01-08-2015, 01:13 PM
Re: network share drives me mad - by Wirezfree - 01-08-2015, 02:46 PM
Re: network share drives me mad - by greenisland - 01-09-2015, 12:10 AM
Re: network share drives me mad - by Wirezfree - 01-14-2015, 11:44 AM
Re: network share drives me mad - by greenisland - 01-17-2015, 02:27 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)