Solved

Unable to create mountpoint on remote server AIX 4.3.3

Posted on 2006-11-08
7
1,407 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now