1834532 Members
3354 Online
110069 Solutions
New Discussion

Mountime CD-ROM

 
wish_1
Frequent Advisor

Mountime CD-ROM

Dear Friends,

I have mount the CD-ROM on my 2 Sun E2900 server --- please tell me how to go abt the same.

is it like follows
#mkdir /cdrom
#mount /cdrom
or else should i need to do any changes in /etc/mnttab
/etc/vfstab

I want to mount the one cd-rom temp. and the other perment...

thanks in adv

regards
wish
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Mountime CD-ROM

You basically have the right idea. Use ioscan to find your CD-ROM:

root# ioscan -kfnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE TEAC CD-532E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0


Then create the mount point:

mkdir /cdrom


And mount the device:

mount /dev/dsk/c0t0d0 /cdrom


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Mountime CD-ROM

Sorry, forgot the permanent part of the question.

To make it permanent, you would put an entry in /etc/fstab, not /etc/mnttab.


Pete

Pete
Muthukumar_5
Honored Contributor

Re: Mountime CD-ROM

For temporay use like,

# mkdir /cdrom1
# mount -F cdfs /cdrom1

Permanent:

Put the entries in /etc/fstab file.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Mountime CD-ROM

Hi Wish,

You can use the following,

# mount -F cdfs /dev/cdrom /cdrom1

You can add entry into /etc/fstab to make it permanent.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
BPatrick
Trusted Contributor

Re: Mountime CD-ROM

make sure pfs_mountd and pfsd daemons are running
Issuethe command

pfs_mountd

ex. pfs_mountd /dev/rdsk/c0t0d3 /cdrom

wish_1
Frequent Advisor

Re: Mountime CD-ROM

dear all,

thanks a lot to one and all...

but i am talk about sun servers

regards
Robert-Jan Goossens
Honored Contributor

Re: Mountime CD-ROM


# cd /etc/init.d
# ./volmgt start

the automounter will mount the cdrom for you.

Regards,
Robert-Jan