Author Topic: Remote file browsing and management OS/2 -> Linux  (Read 9954 times)

Ben

  • Guest
Remote file browsing and management OS/2 -> Linux
« on: October 05, 2013, 11:19:37 pm »
I recently setup Ubuntu as a File Server and for backup purposes. (Major home system revamp.)

So far, so good. I have two 4Tb drives in with one for storage and one for backups.

I can send and backup to the FS using rSync for the numerous small files and FTP/d for the larger files.

VINO/Desktop Sharing/PM VNC takes care of the remote desktop handling, (soon the FS will have no keyboard/monitor).

Now I just have a problem browsing/retrieving/handling/sending individual files while sitting at my main eCS desktop.

For the rest of my network, (all eCS), I have been using File Manager/2 along with NetDrive with the ftp option.

That works GREAT using Peter Moylen's FTPd, but using Ubuntu with vsFTPd or ProFTP, it is an abysmal failure!

Why?

Well, it works fine when you are only browsing the first two or three subdirectories; I have only to wait seconds. But, once I hit the next level, it ties up my desktop and I have to wait 20-30 minutes, for it to stop scanning; obviously, that makes it unusable.

I have many, many, files. It isn't a problem on the OS/2 side, because the setup works so well when connecting to an OS/2 machine.

Has anyone seen this problem before and if so, have you found a solution?

Samba is not really an option because my home LAN uses LAN Services a fair bit. It could be replaced with Samba again, (I tried it once before), but Samba has a problem in dealing the EAs; I had to dump it a couple of years back; I won't try again.

Ideas?

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Remote file browsing and management OS/2 -> Linux
« Reply #1 on: October 06, 2013, 09:28:52 pm »
Quote
Samba is not really an option because my home LAN uses LAN Services a fair bit. It could be replaced with Samba again, (I tried it once before), but Samba has a problem in dealing the EAs; I had to dump it a couple of years back; I won't try again.

Ideas?

If you haven't tried SAMBA for a couple of years, I would suggest trying it again. It still has problems, but it is working much better now than it was even 6 months ago. FWIW, I have never had trouble with EA support, although I never tried it with Linux at the other end of the wire (I assume that Linux supports EAs, but I never checked that out. It may need to be enabled, somehow). EAs, other than in the desktop stuff, are mostly redundant anyway. Any program that thinks you need them, will recreate them.

Of course, SAMBA, the server, is quite different from the SAMBA client. You can use the client (EVFSGUI, that comes with eCS, but the updates at netlabs improve the reliability a lot), along side of the NETBIOS over TCPIP stuff. The SAMBA server does not get along with NETBIOS over TCPIP, because they both want to use the same ports. From what you say, the client should do what you want. You would need the server, if you want to use Linux to browse the eCS machine, although it might work with NETBIOS over TCPIP (I never tried it).

Ben

  • Guest
Re: Remote file browsing and management OS/2 -> Linux
« Reply #2 on: October 06, 2013, 11:23:30 pm »
If I had only one eCS machine on one end and a Linux machine on the other, EAs would be of little import.

However, most of my machines are OS/2 in some variation, (where EAs are important), and you cannot run LAN Services and Samba at the same time; it is one or the other. Switching would simply cause too many problems.

I used Samba for years; I just had to give up on it. EAs, (especially with images), became just too big a problem. The last time I communicated with the authors of the OS/2 port, they were not working on that problem and had no plans to do so.

To do the switch is a lot of screwing around with a lot of machines with little hope of improvement, solving one thing at the cost of another.

It would seem to me that there might be a better way, but a solution is necessary... it is just a matter of what it is going to be.

Maybe trying PureFTP on might work. I mean, if FTPd under OS/2 can do it, surely something is available in Linux... unless whatever is causing my problem is at the core of what makes Linux, Linux.

Really, it is just a matter of me finding the time and dredging up a solution.

I was just hoping that someone else had done the grunt work and thus, could save me the time.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: Remote file browsing and management OS/2 -> Linux
« Reply #3 on: October 07, 2013, 02:07:26 am »
The things with EAs (called xattrs under Linux) and Linux are it has to be enabled in the kernel, which it most likely is for most distributions, I believe it also has to be enabled when mounting a file system or in /etc/fstab and not all file systems support xattrs good enough for use with OS/2, eg ext2, ext3 and ext4 only support 4kbs of xattrs, some other file systems don't support any and only a few such as JFS support them well.
If you decide to use JFS, it's best to format under OS/2 as Linux supports the OS/2 version of JFS but OS/2 will not read Linux formatted JFS.
So they have to be enabled and you need to be using a file system that supports them and quite possibly Samba also needs to have them enabled.

Ben

  • Guest
Re: Remote file browsing and management OS/2 -> Linux
« Reply #4 on: October 07, 2013, 02:39:22 am »
Interesting information Dave, thanks for adding it.

My File Server has been up and running for a few weeks now and I had no choice but, to format the drives with ext4 using gpart in order to recognize the full drive; 4Tb.

But EAs aren't the problem for this setup, rather some means of being able to remotely browse deep layers of sub-directories with HUGE numbers of files. I am simply not willing to utilize Samba to solve this problem, because of the LAN-wide new problems I'd have with EAs on OS/2 machines.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Remote file browsing and management OS/2 -> Linux
« Reply #5 on: October 07, 2013, 05:27:41 am »
As I noted earlier, you don't need to use SAMBA server. All you need is the SAMBA client, which will co-exist with the older, OS/2, network support, and allow you to log onto the Linux SAMBA server. You probably do need the latest version, with supporting software, so it will actually work reasonably well. Google "netlabs samba" to get the latest information.

You will probably run into user ID, and password, problems when trying to get the eCS SAMBA client to log on to Linux SAMBA. It seems to work more like the Win 7 (and probably win 8) networking. I have not found a reliable way to get it to connect, but it seems that "Authenticate for browsing" is the key, meaning you need to add the user ID, and password, BEFORE you attempt to log on to Linux (or even display that a share exists). It does work, but I don't, yet (and probably never will), have deep layers of sub-directories to play with, in Linux. I do in an eCS, home built, NAS box, and that seems to work okay, but large file transfers, using the SAMBA server, seem to die after a while (99% CPU on the server). RSync seems to be the most reliable way to do mass file transfers (Linux, and eCS). Poking around in Linux, with the few directories that I do have access to, from the SAMBA client in eCS, seems to work okay (once I get it to connect, and it is much faster than with a SAMBA server, in eCS).

The bottom line is, that the SAMBA client should do what you want, and it should co-exist with what you use now.

Ben

  • Guest
Re: Remote file browsing and management OS/2 -> Linux
« Reply #6 on: October 07, 2013, 10:27:47 am »
I use rSync successfully for the transfer of numerous, small files and FTP for the large ones; that works well; easy and requires little to no user participation once setup.

I only need something for single file retrieval and basic, simple administration.

I did not know that the SAMBA client will work alongside the OS/2 MPTN servies; I'll give that a try for it sounds like it has potential.

Will post results.

Ben

  • Guest
Re: Remote file browsing and management OS/2 -> Linux
« Reply #7 on: October 12, 2013, 02:05:59 am »
I solved this problem by eventually getting SAMBA to install on my Ubuntu File Server.

I then installed the SAMBA client for NetDrive.

After learning Dee's Angelic Script, (a highly arcane and esoteric language used to hide the inner knowledge of *nix), I managed to configure it all and all presently working fine.

Two problems down... a few more to go.