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.
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...