1834722 Members
2790 Online
110069 Solutions
New Discussion

Re: /dev/dvd

 
Peter Gillis
Super Advisor

/dev/dvd

Hi,
hpux 11.00, rp2450
I have just run a make_tape _recovery. Ran successfully, but a note at the end stated: diskinfo failed for device at: /dev/dvd

Can someone tell me why? It seems odd to me because in the ioscan
disk 4 0/0/2/0.1.0 sdisk CLAIMED DEVICE HP DVD-ROM 305 dev/dsk/c2t1d0 /dev/dvd /dev/rdsk/c2t1d0

diskinfo did not fail for the other two device files. Or is /dev/dvd/ not a true device file?

bit confused, appreciate any help...
Maria
3 REPLIES 3
Con O'Kelly
Honored Contributor

Re: /dev/dvd

Hi Maria

I'm guessing here but possibly make_tape_recovery has a timeout for the diskinfo command and it timed out before it could complete?

What happens if you run the diskinfo command form the command line:
# diskinfo /dev/rdsk/c2t1d0

Cheers
Con

Naveej.K.A
Honored Contributor

Re: /dev/dvd

hi maria,

If the ioscan shows it claimed, why don't you try putting a CD/DVD and mounting it and checking?

mount /dev/dsk/c2t1d0 /CDROM

and then check the contents.

regds
Naveej
practice makes a man perfect!!!
Peter Gillis
Super Advisor

Re: /dev/dvd

Con,
# diskinfo /dev/rdsk/c2t1d0
SCSI describe of /dev/rdsk/c2t1d0:
vendor: HP
product id: DVD-ROM 305
type: CD-ROM
size: 0 Kbytes
bytes per sector: 0

I am more concerned over the /dev/dvd file,
# diskinfo /dev/dvd
diskinfo: can't open /dev/dvd: Device busy

(there is nothing in the dvd drive, & not mounted)

Is the /dev/dvd file there simply as an alternate name file or something? Is it not a real device file, and that would be why there is no diskinfo for it? I would hav expected the same details to be displayed as are displayed for the diskinfo on /dev/rdsk. Have just realised that diskinfo on the /dev/dsk/c2t1d0 gives same info as for /dev/dvd. would the answer be something to do with the fact that /dev/c2t1d0 and /dev/dvd are not raw device files??

Maria.