- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Newbie question: How do I mount CD-ROM
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 08:56 AM
07-11-2001 08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 09:07 AM
07-11-2001 09:07 AM
Re: Newbie question: How do I mount CD-ROM
First of all you have to find out the device name of your CD rom drive.
Do a "ioscan". That will tell you the hardware path of the CD device.
Then cd /dev/dsk, and do a "lssf *"
That will show you the relation between hardware paths and device file names.
Say the device file is /dev/dsk/c0t1d0.
Create a mount point: "mkdir /cdrom"
Enter a line into /etc/fstab which looks like
/dev/dsk/c0t1d0 /cdrom cdfs ro,cdcase 0 2
and perform "mount /cdrom".
The option ",cdcase" may be not required. It handles mixed case file names properly for some CDROM formats.
If that helps ... Klaus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 09:08 AM
07-11-2001 09:08 AM
Re: Newbie question: How do I mount CD-ROM
you need to know the physical address of the cdrom first. you can get this from ioscan. Then, make sure that you have a blank directory. I use /cdrom. if the directory is not blank, anything in it will be insaccessable while the drive is mounted. The command is: mount -F cdfs -o ro,cdcase /dev/dsk/c#t#d# /cdrom. The c#t#d# is the physical address of the device. to remove it, just type umount /dev/dsk/c#t#d#. Remember that you cannot remove a cd that is in the drive until the drive is unmounted.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 09:11 AM
07-11-2001 09:11 AM
Re: Newbie question: How do I mount CD-ROM
ioscan -fn -C disk
then
mount /dev/dsk/c3t2d0 /cdrom
/dev/dsk/c3t2d0 being where yours cdrom is
for the isoscan command.
and to umount
umount /cdrom
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 09:12 AM
07-11-2001 09:12 AM
Re: Newbie question: How do I mount CD-ROM
see the special file of CD
#mount /dev/dsk/cxtyd0 /SD_CDROM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 11:29 AM
07-11-2001 11:29 AM
Re: Newbie question: How do I mount CD-ROM
#mkdir /cdrom
#mount /dev/dsk/c3t2d0 /cdrom
The /dev/disk info should be from the ioscan output on the first line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 11:45 AM
07-11-2001 11:45 AM
SolutionYou need to know the following 2 things
1. Path of the Device.
2. Mount point.
Path
Do a ioscan -fnC disk | grep DVD ( I assume you would be having a DVD ROM ) to get the path.
Mount Point
This is the directory where you would like to mount it , this can be created by ,mkdir command in the root directory itself .
After you know these 2 things you can mount by the following commands
1. mount /dev/dsk/cxtydz < mount point >
2. mount -F cdfs -o cdcase /dev/dsk/cxtydz
3. PFS MOUNT
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
/usr/sbin/pfs_mount /dev/dsk/cxtydz
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2001 12:18 PM
07-11-2001 12:18 PM
Re: Newbie question: How do I mount CD-ROM
For normal mount use
#mount -o cdcase /dev/dsk/cxtyd0 /SD_CDROM
If you need pfs mount.
Create a file /etc/pfs_fstab with entry for CDROM
/dev/dsk/cxtyd0 /SD_CDROM pfs-rrip xlat=unix,soft 0 0
Then use following commands to mount it.
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount /SD_CDROM
Thanks.
Prashant Deshpande.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2001 03:35 PM
07-14-2001 03:35 PM
Re: Newbie question: How do I mount CD-ROM
if the CD "refuses" to be mounted, or if the output of "ls"
to the mount-pount does look "weird" (are there names
like "ABCDEFGH;1"?), then you will have to use the PFS
commands instead of the standard HP-UX mount/umount
commands!
See the man-pages for "pfs_fstab(4)", "pfs_mount(1M)",
"pfs_umount(1M)", "pfsd(1M)", and "pfs_mountd(1M)".
HTH,
Wodisch