Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Promblems mount CIFS filesystem. [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Sat Dec 03, 2005 10:08 am    Post subject: Promblems mount CIFS filesystem. [SOLVED] Reply with quote

I'm trying to mount a share of a Win 2k3 server. This has never before been a problem actually, but now since my fresh install due to harddrive crash I cant mount the shares. I'm using CIFS and this is the error I get.
Code:

gollum ~ # mount -t cifs //server/music /mnt/music/ -o username=user
mount: wrong fs type, bad option, bad superblock on //winserv/music,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I don't know where to start. I tried adding us and utf8 NLS in the kernel but it did not help. Just to make sure you can find my kernel config here
http://www.nixadmins.net/~mahellma/files/gentoo-souces-2.6.14-r2
Any ideas are welcome
Mats
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473


Last edited by Diezel on Wed Dec 07, 2005 8:03 am; edited 1 time in total
Back to top
View user's profile Send private message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Sat Dec 03, 2005 2:57 pm    Post subject: Reply with quote

hmm, try reversing the order like this:
[/quote][/quote]
mount -t cifs -o username=user,password=passwd //server/music /mnt/music/
[quote]
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Sat Dec 03, 2005 3:39 pm    Post subject: Reply with quote

Outputs the exact same error. So I'm guessing it's in some settings the problem is.
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Sun Dec 04, 2005 7:49 pm    Post subject: Reply with quote

Bump. Anyone?
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Wed Dec 07, 2005 7:28 am    Post subject: Reply with quote

Still have no luck with mounting the server shares. But some more info.
Code:

# mount -t cifs //server/music /mnt/music/ -o username=user
       mount: wrong fs type, bad option, bad superblock on //winser/music,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
# dmesg | tail
      CIFS VFS: cifs_mount failed w/return code = -22
      CIFS VFS: cifs_mount failed w/return code = -22

Anyone have a idea of what the code -22 stands for?
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Wed Dec 07, 2005 7:46 am    Post subject: Reply with quote

Have you compiled SMB support next to CIFS support into your kernel, have you got samba running?
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Wed Dec 07, 2005 8:02 am    Post subject: Reply with quote

olger901 wrote:
Have you compiled SMB support next to CIFS support into your kernel, have you got samba running?

SMB Support was there. Not Samba. I just installed it and CIFS is working fine now. Damn I feel stupid, didn't know cifs depended on Samba. Well it's working now. Thanks olger901.
For anyone with this problem.
Enable SMB support in the kernel and emerge samba. Should solve the problem.
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum