LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-17-2009, 10:05 AM   #1
lapidarynewbie
LQ Newbie
 
Registered: Jun 2009
Posts: 17

Rep: Reputation: 0
mount fails


1. Logged in as root.
2. Trying to mount a 15 GB share on a Windows Server 2008 machine.
3. Mount command -

mount -t cifs -o user=domain/myusername,pass=mydomainpw //FQDNofServer/sharename /etc/name

where /etc/name has already been created with mkdir.

Fails with "wrong fs type, bad option, bad superblock on //"share", missing codepage, or other error"

tail | demsg yields several repititions of:

CIFS VFS: cifs_mount filed w/return code = -22


What am I missing?
 
Old 07-17-2009, 11:06 AM   #2
jeromeNP7
Member
 
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
I suspect that 'FQDNofServer' does confuse the 'mount' tool, though I'm not sure of this. Have you been able to mount any CIFS device using this mounting scheme? My approach would be something like using an IP number and username directly:
mount -t cifs -o user=someone //192.168.1.104/sharename /etc/name

I also would rather use another location for mounting - /etc is not really meant to hold mounted volume, and maybe permission issues are part of your problem.

Linux

Last edited by jeromeNP7; 09-04-2009 at 09:14 PM.
 
Old 07-17-2009, 12:11 PM   #3
lapidarynewbie
LQ Newbie
 
Registered: Jun 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Yep, doing better using the IP address and moved the mount point to another directory. Now getting that the share is "not a valid block device."
 
Old 07-20-2009, 09:31 AM   #4
lapidarynewbie
LQ Newbie
 
Registered: Jun 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Still Cannot Mount

1. Still logged in as root.
2. mount -t cifs //ipaddress/sharename -o user=myusername,password=mypassword,domain=domain.name /mnt/tempfiles

results in -

mount: block device //ipaddress/sharename is write-protected, mounting read-only
mount: cannot mount block device //ipaddress/sharename read-only


3. From dmesg|tail

CIFS VFS: cifs_mount failed w/return code = -13
CIFS VFS: cifs_mount failed w/return code = -6
CIFS VFS: cifs_mount failed w/return code = -22
CIFS VFS: cifs_mount failed w/return code = -6
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13
 
  


Reply

Tags
mount, share, windows


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
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
mount fails Corrado Linux - General 1 07-26-2007 02:56 AM
Mount CD/DVD fails. K3B can mount though? BashTin Slackware 3 06-14-2007 04:02 AM
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
Encrypted Reiserfs Fails to Mount -- Reiserfsck Fails as Well antic Linux - Hardware 0 07-30-2004 04:32 PM


All times are GMT -5. The time now is 02:09 PM.

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