01-07-2015, 01:19 PM
(This post was last modified: 01-07-2015, 01:21 PM by greenisland.)
Here is the exact line I am using (I have substituted xxx's but I have verified and reverified that I have typed them correctly):
mount -t cifs -o username=xxx,password=xxxx,uid=xxx,gid=users //dellserver/c /mnt/dellserver
When executed from terminal:
sudo mount -t cifs -o username=xxx,password=xxxx,uid=xxx,gid=users //dellserver/c /mnt/dellserver
Fails the first time with the error mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
And then when re-executed EXACTLY the same way, by hitting the up arrow in terminal to execute the same line, it works the second time without any error at all, and the drive is mounted.
But I am finding that putting multiple lines in the rc.local file does not achieve the same thing as executing it twice from terminal. ;-)
mount -t cifs -o username=xxx,password=xxxx,uid=xxx,gid=users //dellserver/c /mnt/dellserver
When executed from terminal:
sudo mount -t cifs -o username=xxx,password=xxxx,uid=xxx,gid=users //dellserver/c /mnt/dellserver
Fails the first time with the error mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
And then when re-executed EXACTLY the same way, by hitting the up arrow in terminal to execute the same line, it works the second time without any error at all, and the drive is mounted.
But I am finding that putting multiple lines in the rc.local file does not achieve the same thing as executing it twice from terminal. ;-)