LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-02-2004, 01:23 PM   #1
AndyX
LQ Newbie
 
Registered: Aug 2003
Location: Austria
Distribution: Mandrake 9.1 / 9.2 / 10.0
Posts: 13

Rep: Reputation: 0
mount -t smbfs problems on MDK10.0 (Upgraded from 9.2 - worked before)


Hi!

I've already read through the topics about having trouble mounting CDs which seems to be a troube with Automount - but CD works for me.
What doesn't work is mounting a Win2k share...

I used to mount this share with MDK9.2 by shellscript like:
mount -t smbfs -o username=blabla //server/share /mnt/share

and it worked great.

But after upgrading MDK9.2 to MDK10.0 I've ran into an error whereas I am not able to mount the share anymore.

Here is the error message:
mount: wrong fs type, bad option, bad superblock on //server/share,
or too many mounted file systems

Then I tried it with SMBMount but this didn't work either (gave me the same error).

Maybe someone might find my fstab useful...
=====snip====
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
//server/share /mnt/share smbfs user,credentials=/etc/samba/auth.server.user 0 0
/dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrecorder auto ro,noauto,user,exec 0 0
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
=====snap====

Anyone came across this yet?
Help would be greatly appreciated

Thanks!
AndyX
 
Old 07-02-2004, 08:01 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
In your fstab, you have the following line:
Code:
//server/share /mnt/share smbfs user,credentials=/etc/samba/auth.server.user 0 0
Since the error message mentions a bad option, try removing the credentials option.

Better yet, remove the entire line and try to mount the share.
 
Old 07-03-2004, 05:07 AM   #3
AndyX
LQ Newbie
 
Registered: Aug 2003
Location: Austria
Distribution: Mandrake 9.1 / 9.2 / 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you very much!
I'll try it now and report back later.

AndyX
 
Old 07-04-2004, 08:01 AM   #4
AndyX
LQ Newbie
 
Registered: Aug 2003
Location: Austria
Distribution: Mandrake 9.1 / 9.2 / 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
*hmm* I've removed the line and rebooted - but this didn't help either.
After issuing the "mount -t smbfs //server/share /mnt/share" command I still get the error.

I've also got to mention this thread ( http://www.linuxquestions.org/questi...hreadid=188120 ) which makes me think of an buggy implementation of the mounting process...
Could that be possible?

It seems like some people around here have trouble mounting drives.
As for my part I've removed the share and use a FTP Server to make the files available and the gFTP client to access the files.
This is not as comfortable as just browsing the files, but works aswell.

Thanks for your help though!
AndyX
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount smbfs vs cifs Zurvan Linux - Networking 2 12-29-2006 02:46 PM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
mount -t smbfs error skimmer Linux - Networking 5 11-07-2005 02:50 AM
cannot mount smbfs flipboi Linux - Security 2 08-12-2004 09:18 AM
mount -t smbfs loganwva Linux - Networking 1 10-21-2003 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration