cancel
Showing results for 
Search instead for 
Did you mean: 

Mount erorr

 
nitingaur1983
Occasional Visitor

Mount erorr

I am new for unix environment. I am having problem with mounting cdrom.
steps tried:
1) mkdir /cdrom
2) mount /cdrom
after mount I am getting error as below
---- mount: /dev/dsk/c1t2d0: No such file or directory..

I have made sure that the /etc/fstab file contains an entry for the drive.

please suggest me something. I am totally new for HP-UX environment.
11 REPLIES

Re: Mount erorr

>I have made sure that the /etc/fstab file contains an entry for the drive.

What does it look like? Does it have /dev/dsk/c1t2d0?
cnb
Honored Contributor

Re: Mount erorr

Does it actually mount the cd?

# df

You might try:

# sam

or

# ioscan -funC disk

to verify your cdrom path. Does it match the fstab info?

HTH,
SKR_1
Trusted Contributor

Re: Mount erorr

Send the output of

ioscan -fnC disk

put the cd inside the drive, then mount the cd drive.

Thanks

SKR
nitingaur1983
Occasional Visitor

Re: Mount erorr

/etc/fstab contains entry like this:

/dev/dsk/c1t2d0 /cdrom cdfs ro,suid 0 0

output of ioscan -funC disk :

Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE _NEC DVD+-RW ND-6650A
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c3t2d0 /dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0 /dev/rdsk/c3t2d0s2
/dev/dsk/c3t2d0s1 /dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s1 /dev/rdsk/c3t2d0s3


Thanks..
Srimalik
Valued Contributor

Re: Mount erorr

Your cdrom is /dev/dsk/c0t0d0

try mounting this device. Change /etc/fstab accordingly.
abandon all hope, ye who enter here..
Srimalik
Valued Contributor

Re: Mount erorr

How did you find out that "/dev/dsk/c1t2d0" is your cdrom ?
abandon all hope, ye who enter here..
SKR_1
Trusted Contributor

Re: Mount erorr

This is ur cdrom

/dev/rdsk/c0t0d0

Thanks

SKR
Venkatesh BL
Honored Contributor

Re: Mount erorr

disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE _NEC DVD+-RW ND-6650A
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

Infact, you don't seem to have any device in that path right now.
Johnson Punniyalingam
Honored Contributor

Re: Mount erorr

Hi Nitingaur,

as per you ioscan -fnC disk --> output your cdrom/DVD is point to device file /dev/dsk/c0t0d0

Please follow the below command should work.

mount -F cdfs /dev/dsk/c0t0d0 /cdrom


Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Asif Sharif
Honored Contributor

Re: Mount erorr

Hi Nitingaur,

Edit the /etc/fstab and remove the the entry,

/dev/dsk/c1t2d0 /cdrom cdfs ro,suid 0 0

To mount the cd you just need to give this command.

#mount -F cdfs /dev/dsk/c0t0d0 /cdrom

Regards,
Asif Sharif

Re: Mount erorr

>Asif: Edit the /etc/fstab and remove the the entry

Instead of removing the entry, fix it. Then you don't need to mention the device when you mount it.
#mount /cdrom