?
Solved

Unable to create mountpoint on remote server AIX 4.3.3

Posted on 2006-11-08
7
Medium Priority
?
1,462 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

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