Link to home
Start Free TrialLog in
Avatar of khowe34
khowe34

asked on

Unable to create mountpoint on remote server AIX 4.3.3

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!!!!
Avatar of sjm_ee
sjm_ee
Flag of United Kingdom of Great Britain and Northern Ireland image

/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
Avatar of khowe34
khowe34

ASKER

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>
Avatar of khowe34

ASKER

Note, I am in as root.
Avatar of khowe34

ASKER

Here are the permissions for /u12 or ifs-server2:

drwxrws---  10 oracle   dba          512 Mar 01 2005  u12
Avatar of khowe34

ASKER

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!

ASKER CERTIFIED SOLUTION
Avatar of AnnieMod
AnnieMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial