Description of problem: It seems like the smbfs filesystem has been left out of the FC2 test1 kernel. Version-Release number of selected component (if applicable): kernel-2.6.1-1.65 samba-3.0.2-7.FC1 How reproducible: Try to mount a samba filesystem. Actual results: [nomis80@localhost mnt]$ sudo mount /mnt/public/ Anonymous login successful ERROR: smbfs filesystem not supported by the kernel Please refer to the smbmnt(8) manual page smbmnt failed: 255 Additional info: The fstab entry: \\nomis80\public /mnt/public smbfs guest,uid=500,defaults 0 0 I know the server isn't at fault, it worked before the upgrade to FC2 test1.
try cifs not smbfs ....
Does the server need to be upgraded to cifs too, or can cifs mount smbfs shares? Because I get: [nomis80@localhost nomis80]$ sudo mount /mnt/public/ Password: mount error: could not find target server. TCP name nomis80/public not found rc = 9 Password: mount error 111 = Connection refused Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) The server is a FC1 samba server.
smbfs/cifs are the Linux kernel client modules--they aren't servers. Also, the cifs module takes different mount options than smbfs did. You should read the mount.cifs man page and adjust your fstab entry appropriately. In any case, cifs != samba, so I'm reassigning this bug to the kernel.
"You should read the mount.cifs man page and adjust your fstab entry appropriately." FC2 test1 rawhide updated # man mount.cifs No manual entry for mount.cifs # man mount | grep cifs # # apropos cifs cifs: nothing appropriate OK maybe I'm old but where exactly are the docs?
Found; # rpm -q --filesbypkg samba-client | grep mount samba-client /sbin/mount.cifs samba-client /sbin/mount.smb samba-client /sbin/mount.smbfs samba-client /usr/bin/smbmount samba-client /usr/bin/smbumount samba-client /usr/share/man/man8/mount.cifs.8.gz samba-client /usr/share/man/man8/smbmount.8.gz samba-client /usr/share/man/man8/smbumount.8.gz Which, BTW, is no longer installed by default. And without which when I attempt to mount a cifs I get; # mount -t cifs //sever/usr /mnt/cifs Segmentation fault And a spew of errors in /var/log/messages. Maybe if the default kernel has cifs you should default install these user tools. :)
OK ... now what's wrong? # smbtree Password: MYWG \\MYSRVR Samba Server \\MYSRVR\keith Home Directories \\MYSRVR\epsonc84 epsonc84 \\MYSRVR\ADMIN$ IPC Service (Samba Server) \\MYSRVR\IPC$ IPC Service (Samba Server) # mount -t cifs -o domain=MYWG //MYSRVR/keith /mnt/cifstest mount error: could not find target server. TCP name MYSRVR/keith not found rc = 9 Password: mount error 111 = Connection refused Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Found problem ... cifs needs DNS entry; mount -t cifs -o domain=MYWG //190.168.0.1/keith /mnt/cifstest cifs doesn't browse for services?
mount.cifs fixed and cifs module updated upsteam. smbfs is dead.
Is this still happening in later FC kernels?
Fedora Core 2 has now reached end of life, and no further updates will be provided by Red Hat. The Fedora legacy project will be producing further kernel updates for security problems only. If this bug has not been fixed in the latest Fedora Core 2 update kernel, please try to reproduce it under Fedora Core 3, and reopen if necessary, changing the product version accordingly. Thank you.