LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-08-2007, 05:36 PM   #1
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Rep: Reputation: 15
Can't mount samba server: "wrong fs type, bad option, bad superblock ..."


The last time I got this error was when trying to get support for a usb storage device. What I had to do then was to enable a certain codepage (437 United States, Canada).

This time it's about a samba network share. I'm not sure what codepage OR fs type it uses, so information about how to find that out would probably help. I've got full access to the server machine.

Code:
# mount //klas /mnt/klas
mount: wrong fs type, bad option, bad superblock
       on //klas, missing codepage, or other error
Thanks.
 
Old 06-08-2007, 05:47 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
mounting an smb share usually looks like this:

Code:
mount -t cifs //servername/sharename /mountpoint -o credentials=/path_to_credfile/credfile.txt
credentials.txt (proper perms should be set on this) :

username=john
password=letmein

your command seems to lack the server-name !
 
Old 06-08-2007, 06:08 PM   #3
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rtspitz
your command seems to lack the server-name !
klas is the server name. After taking a look at your command, I did the following
Code:
# mount -t cifs //klas/media /mnt/klas
because I remembered that in Windows, the path is "\\KLAS\media", i.e. the "media" subdirectory probably matters. However, no success (and the fs type flag doesn't matter).

So I have other Windows machines that can mount and use the server, if it could contribute to a solution.

By the way, doing mount //server-that-doesnt-exist /mnt/klas gives the same error.
 
Old 06-09-2007, 08:39 AM   #4
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
More information

dmesg says "smb_fill_super: missing data argument"
 
Old 06-09-2007, 10:33 AM   #5
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
can you ping the samba server by name ?
(if not try it's ip instead of the servername)

can you access the share with smbclient ?

smbclient -U username //servername-or-IP/share
 
Old 06-10-2007, 01:53 PM   #6
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
I solved this by using NFS instead, but since I'm in a Win/Lin mixed LAN, I might return with the problem.
 
  


Reply

Tags
mount, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
USB stick won't mount ("wrong fs type, bad option, bad superblock ...") Arla Linux - Hardware 4 06-01-2007 07:23 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy) SpItoS Mandriva 14 11-12-2004 02:27 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration