Operating System - HP-UX
1834449 Members
2341 Online
110067 Solutions
New Discussion

Re: pfs_mount of iso file on Windows share

 
Matthias Oswald
Advisor

pfs_mount of iso file on Windows share

Hello,
I am trying to install Oracle 9i from a DSL (Definitive Software Library).
The purpose of the DSL is to have all software in a central place.
That means our Software Release Manager has created from the 9i installation
CDs ISO images (ISO 9660 mode 1) and stored them on a Windows share.
I have CIFS mounted the Windows share on HP-UX and then mounted the iso file
through pfs_mount.
This works fine so far, only the file name of the runinstaller script seems
truncated to "runinsta."
What I did:
#
cifsmount //luxdsl01/Exploitation /luxdsl01 -U moswald -I 10.14.64.42
cifslist -A
mkdir cdrom1
chmod 777 cdrom1
pfs_mount -t iso9660 -o xlat=unix,soft
/luxdsl01/Systems/Licensed/Oracle/Oracle9iDatabase64bit/Release2/9iDisc1of4.iso /cdrom1

cd /cdrom1
root@luxmc3:/cdrom1> ll
total 18
drwxrwxrwx 2 root sys 2048 Jun 11 2002 doc
-rwxrwxrwx 1 root sys 5334 Jun 11 2002 index.htm
drwxrwxrwx 2 root sys 2048 May 14 2002 install
drwxrwxrwx 2 root sys 2048 May 14 2002 lgto
drwxrwxrwx 2 root sys 2048 May 14 2002 response
-rwxrwxrwx 1 root sys 651 May 14 2002 runinsta.
drwxrwxrwx 2 root sys 2048 Jun 11 2002 stage
root@luxmc3:/cdrom1> export DISPLAY=10.12.10.78:0.0
root@luxmc3:/cdrom1> ./runinsta.
root@luxmc3:/cdrom1> ./runinsta.[35]: ./runInstaller: not found.
root@luxmc3:/cdrom1>

Thanks,
Matthias.
mabios
8 REPLIES 8
Derek Whigham_1
Trusted Contributor

Re: pfs_mount of iso file on Windows share

Is the windows share on Windows 98/95 as It seams to be limited to 8.3 file naming, This could also be the CIFS mount , CHeck the version of the CIFS client.
Divide and Conquer
morganelan
Trusted Contributor

Re: pfs_mount of iso file on Windows share

a) Make sure nfsd, rpc.lockd and rpc.statd are running if not:
# /usr/sbin/nfsd
# /usr/sbin/rpc.lockd
# /usr/sbin/rpc.statd

b) The 'pfs' deamons should also be running
# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &

c) /etc/pfs_fstab should contain :-
/dev/dsk/c1t2d0 /SD_CDROM pfs-rrip xlat=unix 0 0

Kamal Mirdad
Matthias Oswald
Advisor

Re: pfs_mount of iso file on Windows share

The share is on a Windows 2003 server.
On Unix:
root@luxmc3:/cdrom1> cifslist -v
cifslist: daemon version: A.01.08
cifslist: client version: A.01.08
root@luxmc3:/cdrom1>

Matthias
mabios
Derek Whigham_1
Trusted Contributor

Re: pfs_mount of iso file on Windows share

Try the latest version of the cifs client

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA
Divide and Conquer
Matthias Oswald
Advisor

Re: pfs_mount of iso file on Windows share

Thanks Derek,
I have upgraded to latest cifsclient (A.02.01),unfortunately it did not help.
Matthias
mabios
Bill Hassell
Honored Contributor

Re: pfs_mount of iso file on Windows share

CIFS is a totally separate filesystem and PFS cannot do anything with this mountpoint, just as PFS could not change an HFS or VxFS filesystem. PFS (which is deprecated and should not be used) opens a CDROM device file and reads the raw data track, then translates the results into a local NFS mountpoint. There is no way to read raw data tracks from a shared filesystem (NFS or CIFS).

The RockRidge patches should be applied to your system so you can eliminate the unstable PFS code (unless you're running 10.20 where no RR patches will ever be created). These patches will not affect the CIFS mounts though. Since the images are raw ISO 9660 inages, there can never be anything but 8.3 filenames as that is what the ISO 9660 directory contains.

The only way to share these CDs so HP-UX can see them correctly is to export the CDROM as a normal CIFS filesystem. You need to PC to translate the CD images into normal filenames.


Bill Hassell, sysadmin
Matthias Oswald
Advisor

Re: pfs_mount of iso file on Windows share

I got it working. I duplicated the entry of a cdrom pscial file in /etc/pfs_fstab and replaced the block file entry with the iso file path.
the pfs-rrip option seems to make the difference.
I would have expacted that if I can mount properly a CD I should also be able to mount the iso file properly.

details:

root@feanor:/> cifslist
Mounted Object Mountpoint State
-------------------------------------------------------------------------------
\\LUXDSL01\EXPLOITATION /luxdsl01 M
===============================================================================
Server Local User Remote User Domain State
-------------------------------------------------------------------------------
luxdsl01 root moswald L
root@feanor:/>
root@feanor:/> /usr/sbin/pfs_mount /cdrom1
root@feanor:/> ll /cdrom1
total 18
drwxr-xr-x 2 31000 621 2048 Jun 11 2002 doc
-rwxr-xr-x 1 31000 621 5334 Jun 11 2002 index.htm
drwxr-xr-x 2 31000 621 2048 May 14 2002 install
drwxr-xr-x 2 31000 621 2048 May 14 2002 lgto
drwxr-xr-x 2 31000 621 2048 May 14 2002 response
-rwxr-xr-x 1 31000 621 651 May 14 2002 runInstaller
drwxr-xr-x 2 31000 621 2048 Jun 11 2002 stage
root@feanor:/> cat /etc/pfs_fstab
/dev/dsk/c3t2d0 /cdrom pfs-rrip xlat=unix,soft 0 0
/luxdsl01/Systems/Licensed/Oracle/Oracle9iDatabase64bit/Release2/9iDisc1of4.iso /cdrom1 pfs-rrip xlat=unix,soft 0 0
root@feanor:/>

Thanks to all for their contributions.
Matthias
mabios
Florian Heigl (new acc)
Honored Contributor

Re: pfs_mount of iso file on Windows share

pfs_mount(d) can't do real loopback mounts, that's why it didn't work.

I've put all my cdroms behind a scsi-fc bridge and usually hook them to a freebsd nfs-server, which does export the cdroms and additional loopback-mounted iso's.
(man mdconfig, if available)
yesterday I stood at the edge. Today I'm one step ahead.