Solved

Unable to create mountpoint on remote server AIX 4.3.3

Posted on 2006-11-08
7
1,420 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 93
what is a good general partitioning scheme for RHEL? 23 128
NTP Server in VMware 5 222
What are recommended OS for exim mail server? 10 109
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

770 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