As previously discussed, NFS support on the Synologies is broken (for AIX or Linux or any UNIX) so using FTP/SFTP on your synology to access files is a far superior method.
Synology has a pretty good article on setting up FTP/SFTP on the device so I won't bother mentioning any of that:
https://www.synology.com/en-global/knowl...AS_via_FTP
Load up your AIX korn terminal and bang in:
# ftp 1.1.1.1
*replace 1.1.1.1 with the IP address of your synology
It'll prompt you for your username and password (this will be specific to the synology accounts, so you know, the same account you use to log into the synology's web interface).
Then you can type '
ls' to list the files, and '
cd' to change the directory to whatever folder in the structure you like. What's being shown in the FTP being served is the folder structure on the synology's file manager. So let's say I had a folder called AIX where I copied everything, it would go like this:
ftp> ls
200 PORT command successful
150 Opening BINARY mode data connection for 'file list'.
AIX
226 Transfer complete.
ftp> cd AIX
250 CWD command successful.
Now because this is old UNIX it's a very picky and strange FTP client. If you try to use 'get' (individual file transfer), you'll end up with:
Cannot write to a directory
(I've not been able to figure out why I keep getting "Cannot write to a directory" with AIX 7.1, other people have had it work fine, but for my purposes I'm just going to not use the get command).
Next up we have 'mget' (get transfers individual files, and mget transfers multiple files), you will most likely run into this if you attempt to copy a folder structure:
550 XYZ/ABC: not a plain file.
Pack up whatever you need into a big daddy tar on a Linux machine (
$ tar -cvf filenamehere.tar.gz foldernamehere) and then copy the tar.gz onto the Synology. Then back on AIX's ftp commandline run the mget command and copy it to your local disk:
ftp> mget filenamehere.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for 'filenamehere.tar.gz' (123456789 bytes).
226 Transfer complete.
123456789 bytes received in 0.00123 seconds (1.1 Kbytes/s)
local: filenamehere.tar.gz remote: filenamehere.tar.gz
Note: I was unable to get the destination syntax functioning for some reason, it ignored whatever I put and always repeated remote as the local filename... so just using mget with the filename and nothing else--and that will plop it right in the root of the disk. That's fine though since it's just one file, you can then later move it to a subfolder.
Then type in "quit" to leave the terminal FTP client. change into the directory where you dragged the bigdaddy tar and un-tar it (# tar -xvf filername.tar.gz).
Note #2: I was actually unable to properly untar my bigdaddy tar for some reason the code I got didn't exist anywhere on the internet), but for the most part people said the reason why this happens is when there are long file names, and AIX's native TAR cannot handle it.
*shrug*
It's still able to transfer files in for me regardless so ymmv. It should also be possible to set up CIFS/SMB, so if I am so inclined I may figure that out some time and write about it.