Steps to mount a directory

Hi all,
I have two solaris server. One is file server and another is oracle server.
I want to mount a directory of file server in oracle server.
Please provide me the steps to perform it. And let me know what privilege should I have.
Thanks.

on server, check if directory to mount is exported,
see file e.g. /etc/dfs/sharetab (run man sharetab)
run exportfs to export the filesystem to the outside
verify if nfsd daemon is started (run man nfsd)
on 'client',
mount the remote dir:
mount <servername>:/<remotedir> <mountpoint> <options>
see man mount
if you want the mount to happen automatically at access attempt,
consider the automount
run man automount
Guido
ps this is a Linux tech forum

Similar Messages

  • Mount a directory like WEBDEV in windows in Linux/Unix

    I want to access the Files from a linux/Unix machine through a simple thick client . Is it possible to
    mount a directory like WEBDEV in windows in Linux/Unix.

    Here is a java based client that I've used. Just use the http://<hostname@doamin>/files/content for access to your files.
    http://www.ics.uci.edu/~webdav/

  • Mount Home Directory when logged in locally

    I want an application that would ask for the users name and then mount and open their home directory. This will be used when a user is logged on locally and not via OD/AD. Can automator do this or should i stick to apple script. Right now my apple script looks like this.
    to getusername()
    display dialog "Enter your username:" default answer ""
    set username to text returned of result
    return {username}
    end getusername
    to getuserpwd()
    display dialog "Enter your password:" default answer "" with hidden answer
    set userpwd to text returned of result
    return {userpwd}
    end getuserpwd
    set username to getusername()
    set userpass to getuserpwd()
    tell application "Finder"
    if (username > 161000 and username < 169999) then
    open location "afp://" & username & ":" & userpass & "@wwrsdod2.wwrsd.org/HomeDirs/GY2016/" & username
    else
    open location "afp://" & username & ":" & userpass & "@wwrsdod2.wwrsd.org/HomeDirs/GY2015/" & username
    end if
    end tell
    But the finder opens up to the top level of the share and not the user's folder. Anyone help me out.
    Thanks

    Hi Tejas,
    usually when you see the server invalid (by the Yellow triangle on each repositories) means that your MDM server and MDM Clients have different version. Please, checks the version and be sure these are the same, or server version is more recent of the clients one.
    Take a look to this, may be it help:
    Re: Error Initialising database engine
    Bye,
    Vito

  • How to load files up one step from local working directory

    Good afternoon,
    I have a project assigned to me that has some Ni TestStand code written to read files from a fixed directory and I would like to change this directory to be the directory where the TestStand seqeunce file is located.
    Furthermore, I would like to be able to step back one directories and forward into a different directory. Is this possible? I know in linux his is done with ..\ preceeding the directory location
    I want ot do this for variables in TestStand and also for pats in LabView.
    Cna somebody provide me with the correct syntax, for example if
    my seq file is C:\User\Test\myseq.seq
    and I want to open an ini file located in
    C:\Config\config.ini
    Should I save the path for the variable as
    ..\..\Config\config.ini ?? 
    Thanks,
    -D

    1) If you want to use a relative path that is resolved the same way as a module path (i.e. using the teststand search directories where looking in the same directory as the sequence file is one of the default possibilities) you can do something like the following:
    FindFile("..\\Config\\Config.ini", True, Locals.absolutePath)
    2) RunState.SequenceFile.Path actually includes the sequence file's name, so if you want to build a path from that you would need to do something like the following to parse out the part of the path you care about (though maybe an extra ".." instead of doing this parsing works to get past the file name too, I've never tried that. Perhaps either way is fine.):
    Locals.absolutePath = Left(RunState.SequenceFile.Path, Find(RunState.SequenceFile.Path, "\\", 0, False, True) + 1) + "..\\Config\\Config.ini"
    3) Whether or not you need to build an absolute path or can use a relative path depends on what you are doing with the path, if you provide more details on what you are doing with the path we can let you know. In general, you should not use a relative path when calling a win32 API.  See the remarks section of the following where it says, "Multithreaded applications and shared library code should not use the GetCurrentDirectory function and should avoid using relative path names.":
    http://msdn.microsoft.com/en-us/library/windows/de​sktop/aa364934%28v=vs.85%29.aspx
    Though if you are calling a TestStand API then a relative path might be ok, depending on the API call, because some teststand APIs can use the TestStand search directory algorithm to resolve the path (basically the equivalent of 1 above).
    Hope this helps,
    -Doug

  • Virt-install cannot mount nfs directory

    Hi all,
    I'm trying to use ovms but I cannot create any virtual machine.
    I successfully installed OVMS; I disabled iptables to avoid network problems.
    I created a dvd from Oracle Unbreakable EL 5.0 cds on a different machine.
    The dvd image is shared by a linux CentOS box. The ISO image is inside /opt/tmp_os_isos/50 so I did
    service nfs start
    mkdir /mnt/dvd50
    chmod a+rwx /mnt/dvd50
    mount -o ro,loop /opt/tmp_os_isos/50/Enterprise-R5-GA-Server-i386-dvd.iso /mnt/dvd50/
    exportfs *:/mnt/dvd50
    and on the ovms server I did:
    [root@ovms ~]# virt-install
    What is the name of your virtual machine? giallo2
    How much RAM should be allocated (in megabytes)? 512
    What would you like to use as the disk (path)? /virtpcs/dischi/giallo
    How large would you like the disk (/virtpcs/dischi/giallo2) to be (in gigabytes)? 30
    Would you like to enable graphics support? (yes or no) no
    What is the install location? nfs:10.10.10.242:/mnt/dvd50
    And I always end up with the error
    That directory could not be mounted from the server.
    If I try to run
    [root@ovms ~]# mount.nfs 10.10.10.242:/mnt/dvd50 /mnt/50
    it works!
    I also tried to build adifferent dvd iso, or to uso a OEL 4.4 dvd iso (taken from an original working oracle dvd) but I always end up with the same error
    Where am I wrong?
    thanks, andrea

    I realized this problem was somehow related with the ovms installation: the pc I installed ovms on has two network card; when I installed ovms I configured eth0 via DHCP (eth0 is linked to the office network and to internet) and I configured eth1 with a static IP (eth 1 is connected to a "private" network made by 2 more pc).
    I also choosed to manage ovnms via eth1 (the network card witch has a statis ip), and everything regardind ovms has always been done via eth1.
    Now I reinstalled ovms and I choosed to manage it via eth0 (si I put a static ip address on eth0) and everything seems working: I'm just installing OEL5.0 via nfs without any problem (I hope... :-) )
    andrea

  • 10.5 clients won't login/mount home directory

    Hello all,
    I am having some issues with 10.5.8 clients logging in network users.  At our school, we have a "magic triangle" setup -- Mac and PC clients, an Active Directory for user authentication (a Win 2k3 server DC I believe), and an Open Directory server (running 10.7.5 OS X Server) for Workgroup Managment and software updates.  Along with this, there is a Linux NAS box that acts as the file server hosting the user's home directories.
    I have a few test student accounts that I have set up exactly the same way that normal student accounts are added to AD.  Users have complained that these 10.5.8 clients will not let any students log on, as I have verified with my test student accounts.  When logging in, an error comes up that says "Logging into the account failed because an error occurred".  In secure.log I get a "smb_mount: syserror = Broken pipe" line along with
    ERROR | -[HomeDirMounter mountNetworkHomeWithURL:attributes:dirPath:username:] | PremountHomeDirectoryWithAuthentication( url=smb://fileserver.domain.org/username, homedir=/Network/Servers/fileserver.domain.org/username, name=username ) returned 32
    When I turn off "Create Mobile Account at Login", the user can log in just fine, which obviously leads me to believe that there is an issue with mounting the samba share for the user's home directory during the HomeSync.
    I know the client can resolve the file server's hostname by nslookup, so I don't think DNS is the issue.  But I'm all out of ideas after looking everywhere online, and am hoping someone can assist me with this.  I'm just a computer technician and not a network sys admin by any means, but I know a good enough amount to try to troubleshoot this.  Even my network manager is stumped, and his answer is to upgrade the client to 10.6, resolving that the issue is with 10.5. I want to try to solve this issue rather than having to re-image all the 10.5 machines.
    Obviously school is out for the weekend, so I won't be back for a couple days to work on the issue if anyone does respond in the next couple days.
    Thanks in advance!
    -Brandon

    Hi Brandon, certainly no expert at this, but let me trow this out at you...
    Found a work-around. This command adds a delay, in this case 45 seconds, before displaying the Login Window.
    defaults write /Library/Preferences/com.apple.loginwindow StartupDelay -int 45
    If the Login Window UI detects that the network servers are available when it starts, it will skip the delay, also if network servers become available before the delay expires, the Login Window UI cancels the delay and displays.
    Kent

  • Mounting existing directory as a ramdisk

    I get bored in class.
    For most people, this means browsing facebook, but I couldn't care less about that. Since my laptop has minimal graphics abilities, I've reverted to playing games in Dosbox. Problem: Nobody cared about power consumption in that era and those games tend to keep the hard drive spun up. This burns up my battery.
    Eventually I'll get an SSD, but in the mean time I realized that the whole DOS C: drive is so small I could just mount it in a ramdisk. But then I would have to mount the ramdisk in some other directory, copy everything over, edit dosbox.conf, and then copy it back when I'm done.
    So wouldn't it be cool if you could just remount an existing directory as a ramdisk, and have all its original contents automatically coppied to ram and then coppied back to the hard drive when you unmount it? Wouldn't that also be handy for your firefox profile, and other stuff that expects things to be in a specific directory? Anyone know an easy way to do this?

    See profile-sync-daemon and anything-sync-daemon by graysky.
    Edit: @graysky: If you had waited 10 seconds, you could have avoided the shameless self-promotion...
    Last edited by alphaniner (2013-03-18 20:17:59)

  • Can ssh into client iMac but cannot mount home directory ...

    I've got a server running 10.4.11 and a bunch of client iMacs (10.5.n). If I ssh into a client iMac it lets me log in but cannot mount my home directory (which lives on the server). Obviously ssh is getting my credentials from the server but isn't getting (or cannot get) the information to mount my disk. If I log in through the gui on the client it all works fine. I suspect this is less of an error and more of a design. Is there a way to get the clients to mount my home when logging in with ssh? If not then Apple presumably has a reason for disallowing this behaviour. Is there a way around this? Perhaps with mount_afp?
    We want to be able to log into many client iMacs at once to run computations on them. Eventually we want to do this on a suite of XServes and XGrid. This is all very easy with linux and nfs and I was expecting the same sort of ability through OS X. I know that I can export everything from the server with nfs (though that may not solve my problem) but I only have the one system and multiple users and I can't really experiment while they are connected.
    Suggestions? Comments? If there are obvious examples of this elsewhere please point me toward them.

    Well it's never worked that way for me. Do you actually use this method to log in?
    I've gone through all of the server logs, watching what gets added as I log on to a client. I don't see anything there that suggests it is even attempting to mount the home directory. I also watched on the client and didn't see any errors. When I ssh into a client I see the following message on the terminal, "Could not chdir to home directory /Network/Servers/server.some.place/Volumes/R1/UsersR1/username: Unknown error: 118" This suggests that the client knows where my home should be but doesn't know how to mount it.
    I have enabled the basic setup on my server. User accounts have Home URLs like "afp://server.some.place/UsersR1/username" and Full Paths like "/Network/Servers/server.some.place/Volumes/R1/UsersR1" (R1 is a RAID disk). UsersR1 has been made into a Share Point and Server Admin tells me that the disk "will be automatically mounted using the AFP protocol as /Network/Servers/R1 on client machines". This part doesn't seem to be true as when I log into a client through the GUI the actual path that is mounted as my home is /Network/Servers/server.some.place/R1" (pwd in my home directory returns /Network/Servers/server.some.place/Volumes/R1/UsersR1/username which is a actually rather inconvenient).
    Under the Advanced tab in the Workgroup Manager, Accounts pane, I've got "Allow simultaneous login on managed computers". This seems to work but also seems only to apply to the GUI, that is I can log onto several clients at once.
    How do I ask a client machine what home directory information it is getting from the server for any particular user? Is there some setup on the client machines that will enable automatic mounting of homes through ssh? On the clients, the Directory Utility, which I have used to connect the client to a Directory Server, has a Mounts pane which allows me to "Edit automatic NFS mounts for this computer". I am not exporting any NFS from the server, but perhaps this is the way to make it work?
    Perhaps what I want to requires Kerberos? I don't have that enabled.
    When I have done this on a cluster of linux machines I exported the home directory from the server with NFS (exportfs) and then, using NIS and automount on the clients it "just worked". It was very simple. If it is supposed to work with Macs and OS X, it may be simple but it's not obvious.

  • Mounting windows directory to the solaris for linkage of files to the DB

    Hi,
    I want to know how to access windows directory in sun solaris 5.0,actually in the windows directory we are havig JPG images and we want to crreate a link to the database and our database is oracle 10 g, but i am unable to mount the win directory to the solaris.............
    can anybody help me out to solve the problem..........

    You can have the image directory shifted to database server itself. That would solve a lot of issues in first place.
    If you are having trouble setting up the windows share on Solaris, get in touch with your system administrator.

  • Mounting /stage directory on other server?

    Hi to all,
    regarding multi-node installation on oracle application 11i,
    can anyone knows on how to mount /stage(rapidwiz installer) directory from server1 to server2.?
    information of server:
    Server1 = 192.168.0.1 / 255.255.255.0 host:oracle.mabuhay.com
    Server2 = 192.168.0.2 / 255.255.255.0 host:applmgr.mabuhay.com
    thanks in advance,
    BJCDR

    Hi,
    If you're running Linux or one of the Unixes, you should be able to use NFS to export the directory on server1 for mounting on server2. There are a lot of docs that describe how to do this, just google "Setting up NFS share." Here's one example that looks fairly straightforward: http://tldp.org/HOWTO/NFS-HOWTO/server.html
    I assume you'll be running rapidwiz as root, so you will probably need to use the no_root_squash option on the NFS mount. The docs caution that using no_root_squash can be a security risk, but in this case (temporary share, just for reading the install media), it should be safe enough.
    You could also try using Samba/CIFS to share the directory, but my experiences attempting that route have been somewhat unpleasant, so I wouldn't really recommend it.
    If this is a Windows platform, I can't be of much help, but there are lots of other people on the forum who are very experienced with installing EBS on Windows. I have no idea if standard Windows folder sharing is adequate in this case. :-)
    Regards,
    John P.

  • Different ways to mount a directory?

    I'm a little confused on the different ways to mount a dirctory such as /usr in a non-global zone. I could either do one of the following:
    add inherit-package-dir
    set dir=/usr
    or I could
    add fs
    set dir=/usr
    set special=/usr
    set type=lofs
    I'm sure their is a subtle difference between the two, but I don't see it.

    Well, the first difference is that fs mounts are by default read-write, while inherit-pkg-dir mounts are read only. So during installation, you'll have the zone with write access to the global /usr filesystem.
    Even if you set the options to ro, it appears to mount /usr read-write for the actual installation.
    I don't know if this causes problems or not...
    Then again, I'm getting tired of waiting for my (very slow) machine to create another zone, so I might have missed something. :-)
    Darren

  • New zshell terminal always opens in mounted NFS directory

    Whenever I add NFS share in /etc/fstab, every time I open new terminal urxvt (zshell) it automatically goes to NFS share directory instead of ~.  What could it be? Thanks in advance!

    Without any of your config files, it is impossible to tell.
    Please read How To Ask Questions The Smart Way and pastebin the relevant files if you want assistance.
    Moving to NC...

  • Steps to create Virtual Directory?

    I am very new to Weblogic and trying to create 2 virtual directories with
    the following permissions.
    name=cognos
    path=c:\program files\cognos\cer1\webcontent\default.htm
    permission=read
    name=cognos/cgi-bin
    path=c:\program files\cognos\cer1\cgi-bin
    permission=execute
    How?

    Hi.
    I'm not sure what you are trying to do here. What are you trying to
    accomplish with these virtual directories? It's not entirely clear how you
    want them to relate to WebLogic.
    Thanks,
    Michael
    Rich Hauck wrote:
    I am very new to Weblogic and trying to create 2 virtual directories with
    the following permissions.
    name=cognos
    path=c:\program files\cognos\cer1\webcontent\default.htm
    permission=read
    name=cognos/cgi-bin
    path=c:\program files\cognos\cer1\cgi-bin
    permission=execute
    How?--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Steps to migrate active directory to new vm

    I have just

    Please elaborate.
    BTW, here's the link to migrate AD : http://technet.microsoft.com/en-us/library/cc731188(WS.10).aspx
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • R/3 Directory mounting  problem

    Hi Experts,
    I am doing file to jdbc scenario, R/3 and PI are in the same same network so I asked basis guy to mount the R/3 directory in PI server. R/3 is installed on UNIX OS and PI is installed on Microsoft windows OS. Basis guy has mounted the R/3 directory in PI server I am able to see that mounted directory in Tcode AL11 but when I click on that directory it is giving error "Wrong order of Call<- call Opendir" . In sender file adapter I am using NFS protocol and configure the Directory path which is visible in PI AL11 i.e. "
    host\usr\sap\tem". In communication channel monitoring it is giving error the source directory path does not exist.
    Please Let me know to mount UNIX directory in Windows OS. I think our configuration is missing something.
    Thanks,
    Venkatesh

    First, why do you want to mount R/3 directory onto XI? You have RFC, IDOC and ABAP proxies to connect your XI system with R/3. Why dont you go for any of these options?

Maybe you are looking for

  • Query tuning using TKprof

    Hi all, I have one procedure which takes normally more time to finish, cpu is normal at that time still the procedure takes more time. TKPROF has been generated and find the output below. As i am new with tkprof, what are the points need to noted and

  • Using a shared printer

    Hi, I just got a new Intel iMac and I have been having problems printing from it. I have an iMac G3 that I use to store music and do backups using retrospect. There is a HP Photosmart 8200 series printer that is attached to the G3. I have set the G3

  • Email server - sendmail used for outgoing only?

    an earlier poster indicated that sendmail for NT is only used for outgoing emails from the Oracle email server. Is this true? If so I should be able to use the Indigo sendmail for a proof-of-concept (30 free trial). Can't find any free trial for send

  • DLU with Windows 2003 server

    I am going to be blustery only to provide you with the most info as possible. I have setup a Windows 2003 server for terminal services. Installed the latest Novell Client 4.9 sp2, nici, nmas. I installed the latest zfdagent.msi from zfd4.01.ir7. The

  • Flash player won't play in Firefox

    Re-Posted to Flash General Discussion Suddenly Firefox will not play flash player content ...