Skip navigation.
Home
The QNX Community Portal

View topic - Network Attached Storage (NAS) for QNX4

Network Attached Storage (NAS) for QNX4

For the old QNX2 and QNX4 RTOS

Network Attached Storage (NAS) for QNX4

Postby Pilotek » Fri Jun 03, 2011 9:40 am

I would like to use Ethernet connected NAS under QNX4 to store data from SCADA system (simple daily .csv files).
Windows network users should be able to read the files from their machines.

Have you any experience with the NAS on QNX4?

1) Which simple NAS (HW, make, model) is the most suitable (SIMPLE to etsabilish working) for QNX4 - needed filesystems etc.

2) Which "method" (filesystem, NFS, SMBfsys, FTP) is the best way to write data to NAS from QNX4 machine?

Thank you.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

RE: Network Attached Storage (NAS) for QNX4

Postby mario » Fri Jun 03, 2011 1:28 pm

With QNX4 you should be able to use SMBfsys. That would be the simplest in my opinion.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: Network Attached Storage (NAS) for QNX4

Postby GordonFreeman » Wed Jun 29, 2011 9:02 pm

FTP is another option. ftp can be configured to be non-interactive (helpviewer is your friend).
Write a ksh script to perform the ftp transfer and configure the cron service to invoke the script daily.

In your script, you can setup to store your *.csv files in directories by date:
../CSVBackups/2011-06-29/
../CSVBackups/2011-06-30/
....etc.
and even generate a log of the transfer (file names, how long it took to transfer N files, etc) in "report.txt"
GordonFreeman
Active Member
 
Posts: 10
Joined: Wed Dec 15, 2004 9:12 pm

RE: Network Attached Storage (NAS) for QNX4

Postby GordonFreeman » Wed Jun 29, 2011 9:04 pm

This assumes your NAS host supports FTP transfers (most do).
GordonFreeman
Active Member
 
Posts: 10
Joined: Wed Dec 15, 2004 9:12 pm

RE: Network Attached Storage (NAS) for QNX4

Postby maschoen » Thu Jun 30, 2011 7:32 pm

You can build FTP into all sorts of utilities using Curl.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: Network Attached Storage (NAS) for QNX4

Postby Pilotek » Tue Aug 23, 2011 3:09 pm

Thank you guys. I have the NAS connected, FTP Server Enabled and can FTP "put" some file from QNX machine to NAS's Public folder.

Can you help me with mounting the NAS's share folder "Public" so that I could see it from my QNX machine as a "network folder/disk" - by means of SMBfsys?
I mean exact step-by-step instructions on how to set-up SMBfsys (or something other?) on QNX 4.25 machine in order to see NAS's folder Public among all other QNX folders/mounted devices.

Thank you.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Network Attached Storage (NAS) for QNX4

Postby maschoen » Tue Aug 23, 2011 5:43 pm

I believe these steps are shown in the online documentation.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: Network Attached Storage (NAS) for QNX4

Postby Pilotek » Wed Aug 24, 2011 8:49 am

All the time I am trying to mount the NAS drive Synology DS110j share folder Public I get error:

SMBfsys &
sleep 1
user_smb NASuser NASpasswd
mount_smb //NASipNAME:NASipADDRESS/Public /NAS NASpasswd
Mount failed: Access Denied.

I don't know if it's something wrong configured in my NAS drive (is the SMB Server running by default when I checkbox NFS Service)? I cannot find any configuration possibilities regarding SMB Server services.

I am trying all (admin and user) names/passwords with no success - all the time the same "Access denied" error.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Network Attached Storage (NAS) for QNX4

Postby maschoen » Wed Aug 24, 2011 4:37 pm

I have a Synlogy 710 that works with QNX 6. I will try it with QNX 4 and report back with steps I took and whether I was successful. It might take a day or two.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: Network Attached Storage (NAS) for QNX4

Postby maschoen » Fri Aug 26, 2011 3:08 am

Upon reflection, I'm pretty confused about what you are trying to do. The Synology provides an NFS/NAS device which you should be able to connect to using NFS. I think that SMB should also work, but I'm not sure why you would want to. The SMB file system is somewhat "dumber" in that it doesn't support permissions.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: Network Attached Storage (NAS) for QNX4

Postby Pilotek » Fri Aug 26, 2011 5:04 am

Well, doesn't matter SMB or NFS (I was asking at this forum before buying the NAS disk which method would be better/simle and was said that SMBfsys).

Problem is that only FTP works, we are trying to mount NAS share by everything we could read in docs/helps/internet, but nothing (NFS too) works.

Can you write me exact step-by-step instruction what to do on NAS disk side and on QNX4 side to mount the share (doesn't matter which method)?
From WinXP/7 everything works immediately, from QNX only FTP.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

Re: Network Attached Storage (NAS) for QNX4

Postby Pilotek » Tue Aug 30, 2011 6:51 pm

Nobody works successfully with NAS shares under QNX4?
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests