1834499 Members
2255 Online
110068 Solutions
New Discussion

Mount errors on the CD

 
ShivKumar_1
Frequent Advisor

Mount errors on the CD

Hi
I am trying to mount a ORACLE CD using the following method but I am unable to mount it , some times it goes through.

From the root prompt I type the following
#nohup >> /dev/null /usr/sbin/pfs_mountd &
#nohup >> /dev/null /usr/sbin/pfsd &
#/usr/sbin/pfs_mount -o xlat=unix /dev/rdsk/cxtxdx /cdrom

This works fine sometimes. I would appreciate if you could help me out
8 REPLIES 8
Frank Li
Trusted Contributor

Re: Mount errors on the CD

Hi,

You should use the block device when you mount file system

#pfs_mount -o xlat=unix /dev/dsk/c0t0d0 /cdrom

This should be okay.
Hi Friend
Michael Tully
Honored Contributor

Re: Mount errors on the CD

Hi,

This should do the trick. You will find that
most Oracle CD installations need to be done
in "RockRidge" format. Make sure your CD is
loaded.

Add an entry to /etc/pfs_fstab like the following:

/dev/dsk/c0t6d0 /SD_CDROM pfs-rrip xlat=unix10

Run the following commands

# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
# /usr/sbin/pfs_mount /SD_CDROM

To umount use
# /usr/sbin/pfs_umount /SD_CDROM

HTH
Michael
Anyone for a Mutiny ?
Denver Osborn
Honored Contributor

Re: Mount errors on the CD

per pfs_mount manual page entry, use the character device file.

What type of errors do you see when you can't pfs_mount the cdrom?
Shahul
Esteemed Contributor

Re: Mount errors on the CD

HI

Follow these

#/usr/sbin/pfs_mountd &
#usr/sbin/pfsd &
#pfs_mount -o xlat=unix /dev/dsk/cxtxdx /cdrom
#bdf

Check up whether it is ok or not. For more information see man page of pfsd.

Best of luck


Shahul
John Donovan
Regular Advisor

Re: Mount errors on the CD

ShivKumar... I am also mounting CD's for Oracle. The following are the steps I use:

1. Ensure no pfs daemons are running. ps -ef | grep pfs
2. Kill processes, if present: kill -11 0000
3. Load CD in drive.
4. Start the pfs daemons: /usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
5. Mount the CD (NOTE: pfs must use the raw device file - rdsk): pfs_mount -o xlat=unix /dev/rdsk/cxtxdx /SD_CDROM
6. When finished, unmount the cd: pfs_umount.
7. Repeat steps 5 and 6 until finished with all CD's.
"I have not failed. I've just found 10,000 ways that won't work." - Thomas Edison
John Poff
Honored Contributor

Re: Mount errors on the CD

Hi,

The pfs software also uses the statd and lockd daemons, so you'll need to make sure they are running. If they aren't, try this:

/usr/sbin/rpc.lockd
/usr/sbin/rpc.statd

JP
Shannon Petry
Honored Contributor

Re: Mount errors on the CD

Most of you people need to read them there man pages! When using pfs_mount, you MUST specify the raw disk device!

As for the problems, there are many with pfs_mount. Namely, that standard mount does not know it's there. Most commonly, if a disk is pfs_mounted, and then standard umount is used to unmount it. Well at this point, pfs still thinks it is mounted, so reports the device as busy. standard mount can not mount the cd, because it is reported as used. The fix at this point is rebooting.

I have some startup scripts on "http://www.invenioeng.com/systems" somewhere which at least start-up the pfs daemons at boot time, and about the same info I gave here.

Regards,
Shannon
Microsoft. When do you want a virus today?
ShivKumar_1
Frequent Advisor

Re: Mount errors on the CD

Thanks experts the problem with mounting is solved