Mounting a CD drive on HP-UX

This topic describes how to mount a CD drive as the root user on a Linux platform or as the root user on a UNIX-based operating system platform.

Before you begin

Product CDs for WebSphere Application Server products for HP-UX platforms are formatted for the Rock-Ridge file system type, which is an extension to the International Standards Organization ISO-9660 file system type.

HP-UX uses a mechanism called portable file system (PFS) on PA-RISC machines to mount Rock-Ridge CDs. This procedure describes how to use the PFS method.

Why and when to perform this task

The following procedure guides you through using the portable file system (PFS) to mount a CD drive.

Steps for this task

  1. Log on as root.
  2. Determine the CD-ROM device name by using the ioscan command or sam.
    Run the /usr/sbin/ioscan -funC disk command to return a table of disk devices. If you cannot determine the name of the CD-ROM device, run the sam system maintenance interface to find more information about disk devices.
  3. Start the pfsd daemon.
    PFS mounting is not active on HP-UX systems by default. The pfsd daemon must be running to mount a CD-ROM device. To start the daemon, run the following commands:
    # /usr/sbin/pfs_mountd & 
    # /usr/sbin/pfsd &
  4. Insert the product CD-ROM labeled, Integration Server Disk 1 of 2 into the CD-ROM.
  5. Mount the CD-ROM with the following command:
    # /usr/sbin/pfs_mount -t rrip -o xlat=unix /dev/dsk/c0t0d0 /cdrom

    The CD-ROM drive is the /dev/dsk/c0t0d0 device. The /cdrom directory is where the CD-ROM drive mounts. The rrip parameter forces the CD-ROM drive to mount in the Rock Ridge Interchange Format. The xlat=unix parameter translates file names properly for HP-UX.

  6. Use the following procedures if you have a problem with mounting the CD-ROM because it contains files with long names.
    The mount command can fail on any CD-ROM that contains files with long file names. Two methods exist for working around the problem and mounting the product CD-ROM:
    • Edit the pfs_fstab file.
    • Use pfs_mount to read the Rock Ridge system type.

    Editing the pfs_fstab file

    To avoid the mount problem, perform the following steps:

    1. Log in as a user with root authority.
    2. In the /etc directory, add the following line to the pfs_fstab file:
      /dev/dsk/c0t0d0 mount_point pfs-rrip ro,hard
      
      The mount_point variable represents the mount point of the CD-ROM.
    3. Start the pfs daemon by entering the following commands (if they are not already running):
      /usr/sbin/pfs_mountd &
      /usr/sbin/pfsd 4 &
      
    4. Insert the CD-ROM in the drive and enter the following commands:
      mkdir /cdrom
      /usr/sbin/pfs_mount /cdrom 
      Where /cdrom represents the mount point of the CD-ROM.

    Using pfs_mount to read the Rock Ridge system type

    1. The standard HP-UX mount procedure does not read the Rock Ridge file system type correctly. You must mount the CD using the pfs_mount command. Start pfs daemons by entering these commands:
      pfs_mountd&
      pfsd&
      
    2. Mount the CD as shown in the following example, where device represents the raw device (for example, /dev/rdsk/c0t0d0), and mntpnt represents the mount point (for example, /cdrom):
      pfs_mount -x unix device /mntpnt
      
    3. Add the following line to /etc/pfs_exports, where remotemnt represents the mount point, and server represents the name of the HP-UX system where you are installing the product:
      /remotemnt -access=server
      
    4. Enter the following command:
      pfs_exportfs -a
      
      Run the remaining steps in this procedure on the local HP-UX system:
    5. Log in as root.
    6. Start pfs daemons by entering the following commands:
      pfs_mountd&
      pfsd&
      
    7. Enter the following command, where remote_server represents your remote system, remotemnt represents the CD-ROM drive on the remote HP-UX system, and localmnt represents the mount point on your local HP-UX system:
      pfs_mount -x unix remote_server:/remotemnt /localmnt
      
    8. Change the directory to the package location, where localmnt represents the directory mount point.
      cd /localmnt/tas
      

What to do next

After installation, you can unmount the CD-ROM using the following command:
/usr/sbin/pfs_umount  /cdrom

For more detailed instructions, consult your HP-UX documentation.


Related tasks
Installing Network Deployment on HP-UX platforms



Searchable topic ID:   hpuxmount
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tins_hpuxmount.html

Library | Support | Terms of Use | Feedback