LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-22-2004, 04:18 PM   #1
andrewgm
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
input/output error when connecting to winXP machine with smbmount


Hi there - I'm able to connect to my winXP shares using smbclient and browse around fine, but when I create a directory and try to mount the same share to that directory, it connects ok, but if I try to do anything, e.g. ls the directory, there's a pause and the error message: "ls: <directoryname>: Input/output error

What could be causing this?

Thanks in advance!

Andrew
 
Old 03-22-2004, 04:37 PM   #2
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
It's usually due to folder / share permissions issue. Make sure you set all file write / edit privileges explicitly.


J
 
Old 03-22-2004, 04:40 PM   #3
andrewgm
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Both the share and folder are world read/writeable... I can use the share as I like when I connect to it using smbclient, just I get the input output error when I use smbmount... is there something else I could be doing wrong?
 
Old 03-23-2004, 08:04 AM   #4
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Rep: Reputation: 15
I have found that you cannot smbmount a //server/share/directory at all, at least in fedora. You have to point basically to shares. I don't really grasp the issue, are you mounting a folder on a share? I haven't been able to do that, though I'm not so great at linux yet.
 
Old 03-23-2004, 08:07 AM   #5
andrewgm
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Hi, thanks for the response...

I have a windows XP machine with a share I wish to mount on a directory on my fedora machine...

I've got around the issue for the time being by setting up a share on the linux machine and moving the data from the xp machine to the fedora machine, but it isn't the best solution because I need to connect to a number of shares from my fedora machine and transferring all the data isn't possible...
 
Old 03-23-2004, 08:13 AM   #6
devfreak
Member
 
Registered: Mar 2004
Location: Maine
Distribution: gentoo 2004.1, ubuntu 4.10, FC3
Posts: 97

Rep: Reputation: 15
Well I just had a very similar problem, and I found out i was using spaces where I should have been using commas
try
smbmount //Q/qe /mnt/qe -o username=aaron,password=poop,uid=500,gid=500,fmask=777,dmask=777,rw

replacing stuff where you need it
 
Old 03-25-2004, 07:55 AM   #7
andrewgm
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
SOLVED!

Anyone who's having problems with fedora and samba mounting shares, the current samba binaries seem to cause problems - at least with my machine they did. The solution was to download, from samba.org, the SRPM for the latest version and rebuild. As soon as I'd installed the built rpms, it worked a treat!!!

Thanks for all the suggestions...

Andrew
 
Old 03-25-2004, 10:07 AM   #8
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
So this is an issue with which version of samba? and FC1?


J
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
configuring X11 and x11vnc on a machine without any real input/output AlexiaDeath Linux - Software 1 10-26-2004 01:45 AM
Input/output error Sn4s Linux - Hardware 6 07-26-2004 07:38 AM
Input/Output errors when mv or cp from local machine->NAS device via NFS? Matt@Ants Linux - Networking 2 06-24-2003 01:17 PM


All times are GMT -5. The time now is 06:54 AM.

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