Operating System - HP-UX
1826353 Members
3916 Online
109692 Solutions
New Discussion

growisofs - error unable to umount /dev/rdsk/c26t2d0: No such file or directory

 
Schimidt
New Member

growisofs - error unable to umount /dev/rdsk/c26t2d0: No such file or directory

Hi,

When I ran /opt/ignite/data/scripts/examples/make_opticaldisc_recovery script (Ignite-UX-11-23 C.7.3.148) I notice an error in the step 6:

=== Step 6: Write image file to tape/CD/DVD media ===
+ /opt/ignite/lbin/growisofs -Z /dev/rdsk/c26t1d0=/var/opt/ignite/recovery/archives/drp02/image.iso
WARNING: /dev/rdsk/c26t1d0 already carries isofs!
About to execute 'builtin_dd if=/var/opt/ignite/recovery/archives/drp02/image.iso of=/dev/rscsi/c1at1l0 obs=32k seek=0'
:-( unable to umount /dev/rdsk/c26t1d0: No such file or directory
+ Error 83 /opt/ignite/lbin/growisofs failed.
/opt/ignite/data/scripts/examples/make_media_install: ERROR: /opt/ignite/lbin/growisofs failed.

It's possible simulate the error if I change instance number. e.g.: I change ext_bus from 1 to 26.

[root#] ioscan -fnH 1/0/0/3/1
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
ext_bus 1 1/0/0/3/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra Wide Single-Ended A6793-60001
target 0 1/0/0/3/1.2 tgt CLAIMED DEVICE
disk 6 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3540A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
target 3 1/0/0/3/1.7 tgt CLAIMED DEVICE
ctl 1 1/0/0/3/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0

[root#] ioscan -fnH 1/0/0/3/1
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
ext_bus 26 1/0/0/3/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra Wide Single-Ended A6793-60001
target 0 1/0/0/3/1.2 tgt CLAIMED DEVICE
disk 6 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3540A
target 3 1/0/0/3/1.7 tgt CLAIMED DEVICE
ctl 1 1/0/0/3/1.7.0 sctl CLAIMED DEVICE Initiator

[root#] ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 8 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 6 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3540A
/dev/dsk/c26t2d0 /dev/rdsk/c26t2d0

So, I can reproduce the error:

[root#] /opt/ignite/lbin/growisofs -Z /dev/rdsk/c26t2d0=/var/tmp/B.11.23.iso
:-( unable to open("/dev/rscsi/c1at2l0",O_RDONLY): No such file or directory :-! consider 'mknod /dev/rscsi/c1at2l0 c 203 0x1a2002; chmod 0600 /dev/rscsi/c1at2l0'

I follow the sugestion:

[root#] mknod /dev/rscsi/c1at2l0 c 203 0x1a2002; chmod 0600 /dev/rscsi/c1at2l0

But I have the error as follow:

[root#] /opt/ignite/lbin/growisofs -Z /dev/rdsk/c26t2d0=/var/tmp/B.11.23.iso
Executing 'builtin_dd if=/var/tmp/B.11.23.iso of=/dev/rscsi/c1at2l0 obs=32k seek=0'
:-( unable to umount /dev/rdsk/c26t2d0: No such file or directory

[root#] ll /dev/rdsk/c26t2d0
crw-r----- 1 bin sys 188 0x1a2000 Apr 6 16:25 /dev/rdsk/c26t2d0

I tried this but I receive the same error:

[root#] mknod /dev/rscsi/c26t2l0 c 203 0x1a2002; chmod 0600 /dev/rscsi/c26t2l0

[root#] /opt/ignite/lbin/growisofs -Z /dev/rdsk/c26t2d0=/var/tmp/B.11.23.iso
Executing 'builtin_dd if=/var/tmp/B.11.23.iso of=/dev/rscsi/c1at2l0 obs=32k seek=0'
:-( unable to umount /dev/rdsk/c26t2d0: No such file or directory

I think there are a problem using growisofs with controller instance number greater than 9.

Anybody have idea how to solve this?

I'd appreciate any help

Carlos Schimidt
1 REPLY 1
Schimidt
New Member

Re: growisofs - error unable to umount /dev/rdsk/c26t2d0: No such file or directory

This is a bug in growisofs.c code. The string "dev/dsk/c%xt%xd%x" %x is used however HP-UX uses decimal numbers in the device files not hex numbers. The I informed the hex number in the script /opt/ignite/data/scripts/examples/make_opticaldisc_recovery after create a link and solved the problem