Re: How to write files from AIX 4.2.1 to Windows?
Re: How to write files from AIX 4.2.1 to Windows?
Source: http://unix.derkeiler.com/Newsgroups/comp.unix.aix/2008−07/msg00173.html
• From: "steven_nospam at Yahoo! Canada" • Date: Tue, 22 Jul 2008 08:07:17 −0700 (PDT) On Jul 21, 6:34 pm, "gphaed...@xxxxxxxxx" wrote: On Jul 22, 6:27 am, "steven_nospam at Yahoo! Canada"
wrote: On Jul 20, 11:52 pm, "gphaed...@xxxxxxxxx" wrote:
I'm wanting to write files each night from an RS/6000 running AIX 4.2.1 to a machine in my Windows domain. I have samba set up on the AIX box, and Windows users can happily access the AIX box but am having issues when wanting to write files in the other direction.
From searching around the net I can't find any information that looks particularly helpful for me as a 4.2.1 user. I would think installing CIFS support would be the simplest way to do this, and found some info stating I can install CIFS from the installation CD but I can't find any CIFS stuff on my install discs and I'm thinking perhaps it wasn't part of the install discs in 4.2.1
Re: How to write files from AIX 4.2.1 to Windows?
1
Re: How to write files from AIX 4.2.1 to Windows? Does this sound reasonable? Would CIFS be the obvious way to mount a Windows share under AIX? Is this possible in AIX 4.2.1? If so, can I download the CIFS install material from somewhere or is it on the discs and I'm just not looking hard enough?
I also found stuff about Fast Connect that looked helpful, but it doesn't look like that is supported under 4.2.1
Anyway, if someone has any suggestions it would be greatly appreciated... also, it does look like CIFS is not already installed... I had thought to check that
Try finding a copy of Samba that runs on AIX 4.2 − It lets you copy files back and forth between a Windows PC and a UNIX host. There are compiled versions available for AIX 4.3, but not sure about earlier versions.
Steve
Thanks for your reply Steve (and Sol's earlier)... I have samba installed, but I didn't think that allowed sending the files in the other direction... I guess my issue is actually that I don't know how to mount, or just directly reference, the Windows share. I read that smbfs would allow me to write the other way, but found something else that said smbfs was separate from samba itself and was deprecated, and support was put behind developing CIFS instead. Could you, or anyone, advise of how I might write to a Windows box using Samba... ie. do I need to add a 'reverse share' to my samba.conf so AIX can see Windows? As for Sol's suggestion to FTP the files, it's not really suitable for my needs... perhaps I should have explained my situation better. I've inherited an AIX system that has not really been administered for a number of years (and adding to the problem, it's the first time I've used AIX). We currently have a backup system of a job running each weekday backing up files to tape using the backup command. We don't do any mksysb backups, and are using a ten year old tape drive that I'm sure is going to fail one day. Re: How to write files from AIX 4.2.1 to Windows? 2
Re: How to write files from AIX 4.2.1 to Windows? I would like to change this to doing a weekly mksysb, and having the files backed up using tar on to a share on our SAN in our Windows environment. This way the daily file backups would be stored centrally with our other backups, would mean the tars could be backed up to tape with our standard Windows backup to tape job, nd would require less administrator intervention in terms of changing tapes everyday. The main issue is that I don't have the spare drive space to tar the files on to my AIX box... so I wanted to tar to a mounted windows share directly. I had thought of doing this in the reverse order (creating a samba share on AIX, then having Windows compress the files to a backup), but would rather the files tarred in their native environment lessening any chance of annoyances like permissions issues or something like that. I also can't use Backup Exec under Windows as the Backup Exec Agent only supports from AIX 4.3 onwards.− Hide quoted text − − Show quoted text −
Try this guide. It is for AIX 5, but the configuration portion should still apply to AIX 4. Of course, installation may not be quite as simple as they describe (using smit). But you say you already have Samba so, that might be already addressed. www.redbooks.ibm.com/redbooks/pdfs/sg246004.pdf .
Re: How to write files from AIX 4.2.1 to Windows?
3