You are not logged in.
Hello,
I'm new to #! and so far i really like it.
I ran into an issue trying to permanently mount a windows share using fstab
I tested this on linux-mint as well and it has the same problem, so i suppose it's not a bug within crunchbang but rather i'm doing something very wrong...
i added this line to /etc/fstab
//server/share /home/user/sharefiles cifs username=USER,password=PASS,file_mode=0777,dir_mode=0777 0 0
i tested the new fstab with 'sudo mount -a' and indeed the share was mounted and showed content in thunar.
so i rebooted the system, i noticed nothing got mounted...
but after i run 'sudo mount -a' again the share gets mounted and shows up in thunar... i also tried using a credentials file instead of user/pass, but no change.
another thing i noticed is that even though the files show up in thunar, the terminal does not show any files or directories in the mountpoint when i 'ls' or 'ls -al', however i AM able to 'cd' into subfolders of the share from the mountpoint and after i cd back to the mountpoint and 'ls' again it shows everything...
so i'm having two issues here.
- the network share not mounting at boot from fstab
- the mountpoint not showing any content with 'ls' after it gets mounted manually with 'mount -a', but does show content in thunar or midnight-commander.
Any help would be highly appreciated.
Offline
I have no personal experience with windows shares, but perhaps this helps?
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Not much help, I've noticed the same issue on my box, it used to work, but at some point stopped working - exact same symptoms as you, a sudo mount works, but entry from /etc/fstab doesn't work at boot time - my supposition is that filesystem being mounted before network established etc for some reason. Am going to investigate autofs which should do the same thing in a different way, but not looked at it yet.
However once mounted ls etc works fine, suggesting something else going on with your problem...
Last edited by EnochRoot (2012-11-06 20:55:43)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.