Nov 23, 2009

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

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Networking

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

yordan
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/technical...n-aix-52-601827
QUOTE
# 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

 

 

 


Comment/Reply (w/o sign-up)

xboxrulz
this script also works with Linux.

xboxrulz

Comment/Reply (w/o sign-up)

yordan
QUOTE(xboxrulz @ Dec 6 2006, 11:10 PM) *

this script also works with Linux.

xboxrulz

So, one more time, evidence that, once you master one kind of Unix language, you can survive with the other Unix flavors.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)


See Also,

*SIMILAR VIDEOS*
Searching Video's for mount, ntfs, shared, folders, aix, unix, serv
advertisement



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

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com