Operating System - HP-UX
1834156 Members
2592 Online
110064 Solutions
New Discussion

Mounting oracle CDs - file names funny

 
SOLVED
Go to solution
Tim Killinger
Regular Advisor

Mounting oracle CDs - file names funny

Hello,

When mounting an oracle intallation CD using:

#mount -F cdfs -o cdcase /dev/dsk/cxtydz /cdrom

a filename called "runinstaller" is displayed as "runinsta."

I'm only aware that different CDs may require different mount aurguments, but am otherwise ignorant of the issues.

Is this situation familiar to anyone?

Thanks!

16 REPLIES 16
Robert-Jan Goossens
Honored Contributor
Solution

Re: Mounting oracle CDs - file names funny

Hi Tim,

A pain in the **** for all, try this one

http://www.cmve.net/~merijn/

My CD-ROM doesn't show what I expect
It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448, PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11i you need PHCO_25841, PHKL_26269 , and PHKL_25760.

No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:

/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0


Regards,

Robert-Jan.
Wilfred Chau_1
Respected Contributor

Re: Mounting oracle CDs - file names funny

At the mean time, try using pfsmount. see the below for more info.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd24f5c7609e9d61190050090279cd0f9,00.html
MANOJ SRIVASTAVA
Honored Contributor

Re: Mounting oracle CDs - file names funny

Hi Tim

Oracel CD's are to mounted as RockRidge one ie using pfs mount .

1. nohup pfs_mountd &
2. nohup pfsd &
3. pfs_mount /dev/dsk/c2t7dz /cdrom

this will do the trick .

Yzou can also use man pfs_mount to get more detailed options like npo version or lowercase .

To umount he cd you would need to pfs_umount /cdrom instead of umount command.


Manoj Srivastava
Yogeeraj_1
Honored Contributor

Re: Mounting oracle CDs - file names funny

hi,

This is a known problem with Oracle CD mount. If you read the accompanying doc with the CD, the instructions are listed.

I have a nice little script that i use for both mounting and umounting ORACLE Cds.

Just run: ./pfsmcd.sh

Hope this helps!

Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Jose Mosquera
Honored Contributor

Re: Mounting oracle CDs - file names funny

Hi,

We solved that problem in Oracle 8.1.7 by the following way:

To mount CD:
nohup /usr/sbin/pfs_mountd &
hohup /usr/sbin/pfsd &
nohup /usr/sbin/pfs_mount -x unix /dev/dsk/[c?t?d?] /cdrom &

(*) Try man pfs_mount to get details about.

To umount CD:
nohup /usr/sbin/pfs_umount /dev/dsk/[c?t?d?] &

(*) nohup executes command with hangups and quits ignored, both standard output and standard error are sent to nohup.out.
Ravi_8
Honored Contributor

Re: Mounting oracle CDs - file names funny

Tim Killinger
Regular Advisor

Re: Mounting oracle CDs - file names funny

Wow! I didn't realize what a common and confusing issue this is!

I'll look into the patches - but in the meantime, I've succesfully used PFS_MOUNT to mount and copy the Oracle CD, but now when trying to unmount, I can't get the CD to eject afdert unmounting. I used:
nohup /usr/sbin/pfs_mount -x unix /dev/dsk/c3t2d0 /cdrom &

I've read a few different sytax solutions - any suggestions to "fully" unmount?

I'll be assigning points soon - sorry it's taking a few days.

Thanks!

Ian Dennison_1
Honored Contributor

Re: Mounting oracle CDs - file names funny

Your previous post did not specify if you used 'pfs_umount' to unmount the cd. Can you do an 'fuser -c [mount point]' to see who is tying it up?

If you anticipate doing a lot of upgrades/installs, why not keep the CDs on Disk once they are copied, and NFS mount them across other servers (it saves having to remember these commands repeatedly!).

Share and Enjoy! Ian
Building a dumber user
Tim Killinger
Regular Advisor

Re: Mounting oracle CDs - file names funny

Ian,

Yes, I used pfs_umount.

fuser replies:

va1:/root> fuser -c /SD_CDROM
/SD_CDROM: fuser: could not find file system mounted at /SD_CDROM.
icgsva1:/root>

I'm trying to copy the ORACLE installation files to disk to avoid the CD 'exercizes'!

I'm also trying to get 'real experience' while I'm at it... I have a lot to learn!
Jose Mosquera
Honored Contributor

Re: Mounting oracle CDs - file names funny

Hi again,

Pls use "nohup /usr/sbin/pfs_umount /dev/dsk/[c?t?d?] &"

Note that is "pfs_umount" and not "ps_mount" to **umount** your media..!

Rgds.
Jose Mosquera
Honored Contributor

Re: Mounting oracle CDs - file names funny

Hi again,

Pls use "nohup /usr/sbin/pfs_umount /dev/dsk/[c?t?d?] &"

Note that is "pfs_umount" and not "pfs_mount" to **umount** your media..!

Rgds.
Anthony deRito
Respected Contributor

Re: Mounting oracle CDs - file names funny

try this script....

cxixhp4 # more /admin/bin/pfsumountcd
#!/bin/ksh
##############################################################################
SYSTEM=`uname -n`

case $SYSTEM in
host1) DEVICE=/dev/dsk/c201d2s0;;
host2 ) DEVICE=/dev/dsk/c5t1d0;;
host3 ) DEVICE=/dev/dsk/c14t1d0;;
host4 ) DEVICE=/dev/dsk/c3t1d0;;
host5 ) DEVICE=/dev/dsk/c8t2d0;;
* ) echo "$SYSTEM not configured"
sleep 2
exit;;
esac
/usr/sbin/pfs_umount $DEVICE
return


... replace device files with your actual device files as shown in ioscan.

Re: Mounting oracle CDs - file names funny

Hi

Unmounting should be done in the way as it was mounted means if u use the normal mount the umount will do or if u use pfs_mount then pfs_umount should work.

You should be in bourne shell

From first I shall explain the steps to mount the Oracle CD:
1. ioscan -fnC disk { and note the CDROM path like : /dev/dsk/c1t0d0
2. mkdir /CDROM
3. nohup /usr/sbin/pfsd &
4. nohup /usr/sbin/pfs_mountd &
5. /usr/sbin/pfs_mount /CDROM

For Unmounting the CD
1. /usr/sbin/pfs_umount /CDROM

This should work cos I too faced the same problem with mounting and unmounting of CD's.
Paul Sperry
Honored Contributor

Re: Mounting oracle CDs - file names funny

use /usr/sbin/pfs_umount /"mount point"
Tim Killinger
Regular Advisor

Re: Mounting oracle CDs - file names funny

Success! Thanks to all for your patience and assistance... someday I'll be good too!
H.Merijn Brand (procura
Honored Contributor

Re: Mounting oracle CDs - file names funny

Be good *now*, and asign points to all the helpful answers.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn