LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2004, 03:48 PM   #1
butler
LQ Newbie
 
Registered: Nov 2004
Posts: 11

Rep: Reputation: 0
Troubles with samba


I am having problems setting up samba on a custom linux setup. I have kernel 2.6.9 network booting over PXE with an NFS read only root filesystem shared across several nodes. I need to switch from NFS to SMBFS (ugh).

I copied all the files in bin generated from compiling samba-3.0.6 onto the filesystem that the client nodes mount.
Code:
mount -t smbfs -o password="" //bootserver/rootfs /mnt/remote
gives me:
Code:
smbfs: mount_data version 1936941424 is not supported.
mount: wrong fs type, bad option, bad superblock on //bootserver/rootfs,
       or too many mounted file systems
I can cd to the mounted directory, but ls hangs until I get a smb timeout. I guess it half mounted?

mount calls smbmount. I tried the same proper commands on smbmount, and I get a lot of:
Code:
init_iconv: Conversion from (blah) to (blah) not supported.
init_iconv: Attempting to replace with conversion from (blah) to ASCII.
Then, I get a login prompt, and successfully log in, followed by:
Code:
can't get /etc/mtab~: lock filesmbmnt failed: 1
I made /etc/mtab~ a symlink to /var/mtab~, which is writable (tried with and without the file there) but it always does this. Also, I get the same hanging 'ls' directory problem.

smbmount actually calls smbmnt. I can't get smbmnt to work.

Code:
umount /mnt/remote
gives me:
Code:
smb_retry: no connection process
(long wait)
smb_add_request: request [c7064ea0, mid=0] timed out!
smb_delete_inode: could not close inode 2
smbclient, however, works absolutely perfectly. Unfortunately, that does not help me, because I need to mount it in linuxrc and chroot to it. I am thinking I have some sort of kernel problem? Like smbfs isn't working properly... but I have the latest kernel...
 
Old 11-24-2004, 01:22 PM   #2
butler
LQ Newbie
 
Registered: Nov 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Still no progress on this issue. At least I'm getting paid to figure it out.
 
Old 11-24-2004, 01:45 PM   #3
brainlesspinkey
Member
 
Registered: Jul 2004
Distribution: Debian Unstable
Posts: 66

Rep: Reputation: 15
why don't you try using cifs instead:
mount -t cifs //computername/share /mnt/somedirectory

if this works, for more info, man mount.cifs

-pinkey
 
Old 11-24-2004, 01:52 PM   #4
butler
LQ Newbie
 
Registered: Nov 2004
Posts: 11

Original Poster
Rep: Reputation: 0
CIFS VFS: cifs_mount failed w/return code = -22
mount: wrong fs type, bad option, bad superblock on //bootserver/rootfs,
or too many mounted file systems

Whats the difference between SMBFS and CIFS?
 
Old 11-29-2004, 01:10 PM   #5
butler
LQ Newbie
 
Registered: Nov 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Still no help I see.
 
Old 11-30-2004, 11:32 PM   #6
brainlesspinkey
Member
 
Registered: Jul 2004
Distribution: Debian Unstable
Posts: 66

Rep: Reputation: 15
cifs is common internet file system google it for more info. it looks like you don't have it installed, you can try installing it, thats what i use cause i like it better than the samba mounts

but, because you don't have it already installed, maybe try a nice gui for the moutings. try smb4k its nice and yummy and stuff.

tastes good with ketchup
 
  


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
Samba Troubles VorlonShadow Linux - Newbie 4 11-16-2004 03:41 PM
samba DC troubles alec77 Linux - Networking 2 07-22-2004 06:51 AM
Samba 3.0.2a troubles digitalgravy Linux - Networking 3 05-12-2004 05:27 PM
Samba troubles... Grim Reaper Linux - Software 13 04-01-2004 07:11 PM
samba client troubles MThunter Linux - Networking 8 07-07-2003 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 PM.

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