View previous topic :: View next topic |
Author |
Message |
Diezel l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/78009112043a54ea0ba451.gif)
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Sat Dec 03, 2005 10:08 am Post subject: Promblems mount CIFS filesystem. [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fvant Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Jun 2003 Posts: 328 Location: Leiden, The Netherlands
|
Posted: Sat Dec 03, 2005 2:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Diezel l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/78009112043a54ea0ba451.gif)
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Sat Dec 03, 2005 3:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Diezel l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/78009112043a54ea0ba451.gif)
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Sun Dec 04, 2005 7:49 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Diezel l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/78009112043a54ea0ba451.gif)
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Wed Dec 07, 2005 7:28 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
olger901 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 17 Mar 2005 Posts: 625
|
Posted: Wed Dec 07, 2005 7:46 am Post subject: |
|
|
Have you compiled SMB support next to CIFS support into your kernel, have you got samba running? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Diezel l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/78009112043a54ea0ba451.gif)
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Wed Dec 07, 2005 8:02 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|