Solved

Unable to create mountpoint on remote server AIX 4.3.3

Posted on 2006-11-08
7
1,432 Views
Last Modified: 2013-11-17
I have two AIX 4.3.3 Servers running Oracle 8.1.7.
IFS-Server (Prod) and IFS-Server2 (standby). Oracle creates archivelog files, and moves them to the standby server, where they are processed by the standby database. When this process breaks, one or more archlog files might not get copied over, so I have to do it manually. A few days ago, the process broke, and so I went to copy the files over manually: oracle@ifs-server:/u04/oradata/prod/arch>cp arch_1_171492* /mnt/u12
/U12 is the mount the used to exist on the production server. I execute the command and get a command prompt back up, as if the copy executed ok, however the files never get over to the other server. They end up in a directory on the production server (ifs-server) in the root directory called: oracle@ifs-server:/mnt/u12.
Previously, when I would do a df -k, I'd see a list of mounts including one for /u12 which is on the standby server (ifs-server2), but it is gone.  I have checked the /etc/filesystems file and there is no entry for /u12.
I have tried to create a new mountpoint via command line :
root@ifs-server2:/mount -n ifs-server2:/dev/lv12/u12 /mnt/u12  and I have also tried to use smit. I get errors that say:
mount: 0506-334 /mnt/u12 is not a known file system
or if I try to do it via smit, I enter the following:
FILE SYSTEM name                                   [/dev/lv12/u12]                                 +
  DIRECTORY over which to mount                      [/u12]                                          +
  TYPE of file system                                                                                +
  FORCE the mount?                                    no                                             +
  REMOTE NODE containing the file system             [ifs-server2]
    to mount
  Mount as a REMOVABLE file system?                   no                                             +
  Mount as a READ-ONLY system?                        no                                             +
  Disallow DEVICE access via this mount?              no                                             +
  Disallow execution of SUID and sgid programs        no                                             +
    in this file system?
and I get:
Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

mount: 1831-011 access denied for ifs-server2:/dev/lv12/u12
mount: 1831-008 giving up on:
ifs-server2:/dev/lv12/u12
The file access permissions do not allow the specified action.

So is it a permissions issue, or is the filesystem info put in wrong?
Funny thing is, the archivelog files ARE being copied over automatically. I restarted the recover managed standby database process, and current archivelog files get to /u12 on ifs-server2, but I cannot copy over the ones that were missed, and I need those to make the standby database current. Please help!!!!
0
Comment
Question by:khowe34
  • 4
7 Comments
 
LVL 14

Expert Comment

by:sjm_ee
ID: 17908734
/dev/lv12/u12 is incorrect. /dev/lv12 is a logical volume name (special file) nto a directory which can be mounted. Check by running "ls -l /dev/lv12". Therefore /dev/lv12/u12 cannot be a valid path.

You command line was:

root@ifs-server2:/mount -n ifs-server2:/dev/lv12/u12 /mnt/u12

I assume that you are in the root directory as root on ifs-server2. So what you want to do is to mount /u12 from standby onto /mnt/u12 on production (ifs-server). In which case, move to ifs-server and try this:

mount ifs-server2:/u12 /mnt/u12
0
 

Author Comment

by:khowe34
ID: 17909186
Here's what I get:
root@ifs-server:/usr/lib>mount ifs-server2:/u12 /mnt/u12
mount: 1831-011 access denied for ifs-server2:/u12
mount: 1831-008 giving up on:
ifs-server2:/u12
The file access permissions do not allow the specified action.
root@ifs-server:/usr/lib>
0
 

Author Comment

by:khowe34
ID: 17909191
Note, I am in as root.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:khowe34
ID: 17909317
Here are the permissions for /u12 or ifs-server2:

drwxrws---  10 oracle   dba          512 Mar 01 2005  u12
0
 

Author Comment

by:khowe34
ID: 17939655
I figured this one out. I had to first use smitty to do an export of the mountpoint, and then I was able to mount the filesystem to the other machine.

Thanks anyway guys!

0
 

Accepted Solution

by:
AnnieMod earned 0 total points
ID: 19389737
PAQed with points refunded (500)

AnnieMod
Cleanup Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question