Am 10.02.2012 12:14, schrieb Lars Müller:
On Fri, Feb 10, 2012 at 12:00:22PM +0100, Andreas wrote:
Then I entered apparently suitable lines in /etc/samba/cifstab but the shares aren't automatically mounted on boot time. How does your /etc/samba/cifstab look like? //192.168.0.210/e /mnt/backup_extern cifs username=x,password=y //192.168.0.211/updates /mnt/updates cifs username=x,password=y
I tried rccifs status and got "running" though yast shows it as not running. And it listed the 2 shares I mounted manually.
rccifs stop unmounts both shares but rccifs start mounts only the first though the lines look the same. Am I missing some detail? Why is the 2nd line ignored? I have no clue. Please check /var/log/messages (syslog) if you find
On Fri, Feb 10, 2012 at 12:52:51PM +0100, Andreas wrote: there any complain. now I did rccifs stop and rccifs start
Am 10.02.2012 17:21, schrieb Lars Müller: there are no complains in /v/l/m cifs comes up but has just mounted the 1st share in cifstab
As you're usinf IP addresses and no names it can't be an DNS issue.
and the manual call of mount ... works with those values.
This is ignored. Nothing gets mounted and there is no error in the smb.log.
I found a refernce that I need to start the cifs service in Yast-->Runlevel. I set it to runlevel 3+5 and tried to start it imediatly in yast. When I try this I get the error : /etc/init.d/cifs start returned 6 (program not configured)
Can someon point me in the right direction, please? 6 (program not configured) as defined in /etc/init.d/skeleton we return in the case when /etc/fstab has no cifs mount point configured and if there is no /etc/samba/cifstab file. I've got no cifs mounts sin fstab but /etc/samba/cifstab exists. This smells more and more like a bug. :/
Please check via bash -x /etc/init.d/cifs
I did and it dumped some stuff that doesn't give me a clue. Is there a special part to look at? You are using systemd? If ls -l /sbin/init shows ../bin/systemd, then the answer is yes.
no. I switched to sysinit. systemd of Suse 12.1 has issues with softraids. I've got a raid1 pair and there are errors when booting with systemd. It's not the system partition so the boot process stops and I get to a root console. As long as I don't mount the raid on boot, the system gets up and I can mount the raid manually. So systemd is a no go. That was a known issue at least as V 12.1 was released.
Can you please give the following commands a try: systemctl status cifs.service If this reports an active service please call next: systemctl stop cifs.service and then: systemctl start cifs.service If inactive (dead) was reported as on the status request call the latter two commands the other way around. sorry this apparently desnt work without systemd
Btw. there are a lot of errors in /var/log/messages coming roughly every minute like:
Feb 10 12:25:01 mybox kernel: [104270.254182] CIFS VFS: Received no data, expecting 4 This might be caused by your cifs server. Is this a recent recent Linux kernel based system too?
its the latest opensuse 12.1 kernel that came via online-update. I found posts with google that stated this too was a known problem that should go away with a 3.2 kernel. It's a 64bit 3.1.9-1.4-desktop kernel. Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org