Jump to content
xisto Community
yordan

Mount Your NTFS Shared Folders On AIX/UNIX Serv Your zip or rpm or lpp files are downloa

Recommended Posts

On your PC in your office, you have a lot of rpm's, as well as the last Oracle patch you just downloaded from Metalink. These files are on a shared folder, and you would like to access this folder directly from your AIX servers, in order to avoid useless file transfers.
The solution is rather simple, for instance see here : http://unix.ittoolbox.com/groups/

# mount -v cifs -n winserver/myuser/mypassword /home /mnt and it works fine

And that's right, it worked perfectly on my AIX server.
Of course, you had to work a little bit before that :
On your PC, you have to create a user, for simplicity let's name this user "myuser", his password is "mypassword". You also have to create a shared resource named "home" (on my PC it's named CX500).
On the AIX server, verify that you have the cxfs lpp :
CONSOLE
# lslpp -l *cifs*

you should see something like " bos.cifs_fs.rte 5.3.0.50 COMMITTED Runtime for SMBFS".
If cifs is not installed, you will have to use smit install (with the AIX CD inserted) in order to install it.
And I don't use the /mnt mountpoint, I use /remote, don't forget "mkdir /remote" first.
Then, just typing the "mount" command mounts the PC/NTFS file on your AIX mountpoint.
So, everybody can "cd /mnt ; vi myfile.txt", you will see that the user has read and write permission. Which is normal, the mount command give a regular Windows username and password.
By the way, if you don't type the /mypassword part in the commandline, you are prompted for the Windows myser passwod, and you type it blindly, which is better from a security point of view.
Isn't this nice ? AIX users can startup the install of Oracle patches downloaded on the PC, and the user on the PC can read the comments from files written by the AIX/Unix users.
A nice collaboration between Unix and Windows worlds

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.