Operating System - HP-UX
1754418 Members
2649 Online
108813 Solutions
New Discussion юеВ

Problem with pfs_mount and pfs_exportfs

 
SOLVED
Go to solution
FOREST Michel
Frequent Advisor

Problem with pfs_mount and pfs_exportfs

Hello everybody,
I've a big problem whith pfs_mount and pfs_exportfs command. I would like export a cd-rom from lah411 server to miahp039 server.
I do a lot of command, but they doen't work. Could anyone help me ?
I tape this command:
lah411: nohup /usr/sbin/pfs_mountd &
lah411: nohup /usr/sbin/pfsd &
lah411: vi /etc/pfs_fstab

/dev/dsk/c1t6d0 /SD_CDROM/oracle pfs-rrip xlat=unix 0 0

lah411: vi /etc/pfs_exports
/SD_CDROM/oracle -anon=65534,ro,access=miahp039

lah411: pfs_exportfs -a
lah411: pfs_mount /SD_CDROM/oracle



miahp039: nohup /usr/sbin/pfs_mountd &
miahp039: nohup /usr/sbin/pfsd &
miahp039: pfs_mount -o xlat=unix lah411:/SD_CDROM/oracle /SD_CDROM/oracle

The error are :
1): lah411:pfs_mount /SD_CDROM/oracle
pfs_mount: /dev/dsk/c1t6d0 on /SD_CDROM/oracle: Device busy
pfs_mount: giving up on /SD_CDROM/oracle
and nothing is exporting
2:) and when i arrive to export to link, (i don't know why it works ?), i have nothing in /SD_CDROM/oracle or i've pfs_mount -o xlat=unix lah411:/SD_CDROM/oracle /SD_CDROM/oracle
pfs_mount: access denied for lah411:/SD_CDROM/oracle.
pfs_mount: giving up on /SD_CDROM/oracle

HELP ME PLEASE ! ! !
Thaks for all.
A rookie in the HP Forum :)
11 REPLIES 11
Tom Geudens
Honored Contributor

Re: Problem with pfs_mount and pfs_exportfs

Hi,
Well, there could be a lot of problems, but your pfs_exportfs -a should be AFTER the pfs_mount on system lah411. Try a pfs_exportfs -u /SD_CDROM/oracle and then retry in the correct order.

Also the daemons should be started like this :
nohup /usr/sbin/pfs_mountd ???v &
sleep 10
nohup /usr/sbin/pfsd 4 ???v &
sleep 10

Sometimes you get problems when the daemons are started to quickly after each other.

Last but not least, there are patches that make it possible to use an "ordinary" mount for Oracle CD's. For 11.0 these are :
PHKL_26448
PHCO_26449
PHKL_26450

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
FOREST Michel
Frequent Advisor

Re: Problem with pfs_mount and pfs_exportfs

With this patch, which command must i use ?
Thanks for all.
A rookie in the HP Forum :)
Stefan Farrelly
Honored Contributor

Re: Problem with pfs_mount and pfs_exportfs


With the patches for PFS you just use the normal mount command for your CD (no more pfs_ commands at all!). Much easier and more reliable (pfs sometimes hangs).
Im from Palmerston North, New Zealand, but somehow ended up in London...
FOREST Michel
Frequent Advisor

Re: Problem with pfs_mount and pfs_exportfs

How can i use commande mount_cdfs to mount oracle's cdrom on a server?
Thanks
A rookie in the HP Forum :)
MANOJ SRIVASTAVA
Honored Contributor

Re: Problem with pfs_mount and pfs_exportfs

the excat sequence is like this :


A. Perform these steps on the local system:

1. nohup /usr/sbin/pfs_mountd &

2. nohup /usr/sbin/pfsd &

3. Add the filesystem to /etc/pfs_fstab

4. Add the filesystem to /etc/pfs_exports

5. pfs_exportfs -a

6. pfs_mount /cdrom

B. Perform these steps on the remote system:

1. nohup /usr/sbin/pfs_mountd &

2. nohup /usr/sbin/pfsd &

3. pfs_mount -o xlat=unix remotesystemA:/cdrom /localmnt_pnt




you can look at this document
http://support1.itrc.hp.com/service/cki/docDisplay.do?docId=200000032087697


Manoj Srivastava
Wodisch_1
Honored Contributor
Solution

Re: Problem with pfs_mount and pfs_exportfs

Hi,

after installing the three patches, do as follows:

- mkdir /cdrom
- mount -o rr /dev/dsk/cXtYdZ /cdrom
- su - oracle
- /cdrom/runInstaller
- exit # form oracle
- umount /cdrom

substitute /dev/dsk/cXtYdZ with your cd-rom's devicename, of course...

HTH,
Wodisch
FOREST Michel
Frequent Advisor

Re: Problem with pfs_mount and pfs_exportfs

I'm sorry but it doesn't work :


root@memoir:/> ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/12.8.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
root@memoir:/> mount /dev/dsk/c0t8d0 /toto
/dev/dsk/c0t8d0: unrecognized file system

What do i bad ?
Thanks.

A rookie in the HP Forum :)
Tom Geudens
Honored Contributor

Re: Problem with pfs_mount and pfs_exportfs

Hi,
Are we still talking about the same problem here ? The problem in the last post is that your trying to mount a disk (not a CD-device as far as I can see) directly onto a directory. That will definitely not work ...

What exactly are you trying to accomplish ?

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Yogeeraj_1
Honored Contributor

Re: Problem with pfs_mount and pfs_exportfs

hi,

a got a great script that i use for both mounting and umounting my oracle CDs.

see attachment.

hope this help!
Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)