LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
Search this Thread
Old 05-28-2008, 04:10 PM   #1
tridral
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Problems using NAS drive from Linux


I'm running OpenSuse 10.3 and trying to use a NAS drive (bought from SmallDrives http://www.smalldrives.com/), The drive knows about Samba and FTP

My problems are

(1) I've been unable to mount the drive using CIFS.

In fstab I have
//<drive>/<share> /mnt/<point> cifs username=<me>,password=<mine>

attempting to mount gets me
"mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)"

I've tried variations on this theme but all with the same effect.

(2) Possible character-set problems with LFTP

As FTP seemed to be working I thought I would try using lftp to mirror my laptop to the drive. It seems to get a little confused with any files containing an accented character. It manages to copy the files,but on subsequent runs it attempts to copy them again, as if it wasn't recognising that they already existed. The error I get are like the following:

---> DELE <filename with odd character>
<--- 550 Requested action not taken.
rm: 550 Requested action not taken. (<filename with odd character>)

I've tried different character set options in .lftprc in case that might help, but to no avail.

I've checked the files by accessing the drive via konqueror (smb://<user>@<server>) and there are files with accented characters in their names - so they are being copied. All of these create errors on subsequent runs of lftp because it tries to copy them again.

I'd appreciate any suggestions on either of these problems.

Many thanks,

'o-Dzin
 
Old 05-29-2008, 04:50 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
With network appliances it's a good idea to ensure that you are running the latest firmware - the original version of any firmware will have bugs, and the vendor will hopefully have fixed them with newer releases. If the vendor is not releasing new firmware versions it's actually a bad sign, as it means that they aren't maintaining it.

WRT the Samba problem, I'd recommend testing with the smbclient command-line utility - it works like a command-line FTP client but is specifically for SMB/CIFS, and is highly reliable. I think that if it doesn't work the debug options will help you find out why.
 
Old 05-31-2008, 03:37 AM   #3
tridral
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
The command

smbclient -I <ip address> -W WORKGROUP //STORAGE-AEC9/<share>

works with no problems
 
Old 05-31-2008, 04:35 AM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Try specifying the device by IP address in your fstab, ad see what happens. If there is currently a name resolution problem somewhere then using the IP address will circumvent it.
 
  


Reply

Tags
nas


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Poor performance from NAS drive philipm Linux - Networking 6 01-26-2008 01:23 PM
LXer: Linksys Dual Bay NAS Drive has a Hackable Linux OS LXer Syndicated Linux News 0 01-09-2007 01:54 AM
Struggling with permissions on NAS drive rwhitworth Suse/Novell 1 01-06-2007 01:49 PM
LXer: Dual-drive NAS server runs Linux, supports DLNA LXer Syndicated Linux News 0 07-12-2006 08:54 PM


All times are GMT -5. The time now is 02:20 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