Home » Infrastructure » Unix » Mounting a CD ROM on an HPUX system
Mounting a CD ROM on an HPUX system [message #111351] Tue, 15 March 2005 14:04 Go to next message
tqrabbit
Messages: 5
Registered: March 2005
Junior Member

Hi,

Does anybody know how to mount a cdrom on an HPUX system?



# mkdir /cdrom

# mount -o ro /dev/dsk/c0t0d0 /cdrom

mount: a non-standard cdfs super block found on /dev/dsk/c0t0d0

I tried with the above command, but I got this 'a non-standard cdfs super block' message. Does anybody know what does that mean?

Thanks
Re: Mounting a CD ROM on an HPUX system [message #111371 is a reply to message #111351] Tue, 15 March 2005 17:14 Go to previous messageGo to next message
Ronald Beck
Messages: 121
Registered: February 2003
Senior Member
Well, I don't know how this got to me on an Oracle forum, and it's been a really long time since I've had to do this, however, try -F hsfs in your mount command...

mount -F hsfs -o ro /dev/dsk/c0t0d0 /cdrom

and see if that lets you mount the CD.

Hope this helps,
Ron
Re: Mounting a CD ROM on an HPUX system [message #111488 is a reply to message #111371] Wed, 16 March 2005 15:00 Go to previous messageGo to next message
tqrabbit
Messages: 5
Registered: March 2005
Junior Member

Hi Ron, thanks for the suggestion. But it gave me the following output:

# mount -F hsfs -o ro /dev/dsk/c0t0d0 /cdrom
mount: hsfs : Invalid argument
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory

I have no way to install Oracle on my HPUX 11.23 system since I cannot mount the Oracle cdrom, any other suggestions for me to try will be greatly appreciated.

Thanks again for your help.
Re: Mounting a CD ROM on an HPUX system [message #111495 is a reply to message #111488] Wed, 16 March 2005 16:18 Go to previous messageGo to next message
Ronald Beck
Messages: 121
Registered: February 2003
Senior Member
Sorry, that's about the only trick I know for mounting problem CD rom drives. It usually works on Sun systems. The only other suggestion is to see if the SAM application has a way to mount CDs.

Ron
Re: Mounting a CD ROM on an HPUX system [message #111534 is a reply to message #111495] Thu, 17 March 2005 04:36 Go to previous messageGo to next message
Uwe
Messages: 260
Registered: February 2003
Location: Zürich, Switzerland
Senior Member
Hi all,

One thing will be to start a pfsmount, because of the longer Filenames on the CD. We use a script like:

if [ `basename $0` = "mountoracd" ]
then
ps -ef | grep -v "grep" | grep "/usr/sbin/pfs_mountd"
if [ $? != 0 ]
then
echo "Lade pfs_mountd Daemon ..."
nohup /usr/sbin/pfs_mountd &
fi

ps -ef | grep -v "grep" | grep "/usr/sbin/pfsd"
if [ $? != 0 ]
then
echo "Lade pfsd Daemon ..."
nohup /usr/sbin/pfsd &
fi

echo "Mounte das CD-CROM ..."
/usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c3t2d0 /SD_CDROM
echo "Ergebnis: $?"
exit
fi

if [ `basename $0` = "umountoracd" ]
then
echo "Dismounte das CD-ROM ..."
/usr/sbin/pfs_umount -v /SD_CDROM
echo "Ergebnis: $?"
exit
fi


Hope that helps
Uwe
Re: Mounting a CD ROM on an HPUX system [message #112082 is a reply to message #111534] Tue, 22 March 2005 19:03 Go to previous message
tqrabbit
Messages: 5
Registered: March 2005
Junior Member

Hi Uwe,

I tried with the script, it did help. Now at least I can see it tries to mount the cdrom. But what does it mean when it says '/usr/sbin/pfs_mount: giving up on /SD_CDROM
Results: 1'? Can you help me with this?

# ./mount_cdrom
root 5749 1 0 16:42:44 ? 0:00 /usr/sbin/pfs_mountd
root 6019 1 0 17:48:36 pts/ta 0:00 /usr/sbin/pfs_mountd
root 5800 1 0 16:46:12 ? 0:00 /usr/sbin/pfs_mountd
root 5764 1 0 16:44:36 ? 0:00 /usr/sbin/pfs_mountd
root 5724 1 0 16:39:58 ? 0:00 /usr/sbin/pfs_mountd
root 5785 1 0 16:45:11 ? 0:00 /usr/sbin/pfs_mountd

Load pfs_mountd Daemon...
Sending output to nohup.out
root 5728 1 0 16:39:58 ? 0:00 /usr/sbin/pfsd
Mount the CD-CROM...
/usr/sbin/pfs_mount: giving up on /SD_CDROM
Results: 1
# cd /SD_CDROM
# ls


Thanks!
Previous Topic: Oracle Database creation failed
Next Topic: Patch installation error
Goto Forum:
  


Current Time: Wed Apr 24 18:26:54 CDT 2024