3 Replies Latest reply on Nov 25, 2009 1:02 PM by rdoogan-Oracle

    Unloadvol command hangs

    734554
      The lsvol command shows that there is a tape mounted in drive1 When I issue unloadvol command to unload the tape, the command hangs.


      2009/11/18.12:59:33 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:34 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:34 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:34 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:34 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:34 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:34 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:34 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:34 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:35 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:35 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:35 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:35 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:35 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:35 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:35 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:35 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:36 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:36 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:36 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:36 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:36 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:36 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:36 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:36 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:37 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:37 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:37 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:37 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:37 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:37 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:37 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:37 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:38 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:38 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:38 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:38 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:38 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:38 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:38 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:38 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:39 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:39 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:39 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:39 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:39 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:39 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:39 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:39 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:40 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:40 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:40 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:40 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:40 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:40 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:40 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:40 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:41 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:41 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:41 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:41 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:41 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:41 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:41 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:41 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:42 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:42 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:42 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:42 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:42 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:42 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:42 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:42 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:43 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:43 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:43 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:43 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:43 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:43 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:43 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:43 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:44 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:44 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:44 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:44 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:44 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:44 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:44 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:44 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:45 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:45 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:45 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:45 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:45 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:45 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:45 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:45 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:46 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:46 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:46 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:46 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:46 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:46 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:46 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:46 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:47 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:47 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:47 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:47 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:47 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:47 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:47 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:47 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:48 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:48 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:48 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:48 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:48 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:48 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:48 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:48 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:49 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:49 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:49 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:49 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:49 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:49 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:49 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:49 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:50 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:50 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:50 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:50 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:50 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:50 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:50 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:50 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:51 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:51 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:51 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:51 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:51 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:51 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:51 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:51 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:52 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:52 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:52 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:52 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:52 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:52 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:52 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:52 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:53 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:53 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:53 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:53 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:53 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:53 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:53 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:53 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:54 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:54 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:54 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:54 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:54 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:54 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:54 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:54 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:55 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:55 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:55 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:55 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:55 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:55 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:55 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:55 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:56 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:56 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:56 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:56 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:56 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:56 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:56 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:56 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:57 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:57 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:57 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:57 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:57 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:57 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:57 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:57 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:58 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:58 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:58 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:58 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:58 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:58 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:58 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:58 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.12:59:59 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.12:59:59 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.12:59:59 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.12:59:59 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.12:59:59 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.12:59:59 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.12:59:59 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.12:59:59 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      2009/11/18.13:00:00 ***1 wst__exec: op=8 (rewind), buf=0x0, count=0 (0x0), parm=0x0
      2009/11/18.13:00:00 ioctl_op=0x3, to=1800, datalen=0x0, buf=0x0, cdb: 01 00 00 00 00 00 rewind
      2009/11/18.13:00:00 ***1 wst__exec: op=2 (sense), buf=0x54e3a8, count=24 (0x18), parm=0x0
      2009/11/18.13:00:00 ioctl_op=0x5, to=30, datalen=0x18, buf=0x54e3a8, cdb: 03 00 00 00 18 00 sense, cnt=24
      2009/11/18.13:00:00 ***1 wst__exec: rval=0, status.code/resid/checks=0x0/0x0/0x0
      2009/11/18.13:00:00 ***1 wst__get_sense(int) cmd = 1, sense data:
      2009/11/18.13:00:00 70 00 02 00 00 00 00 10 00 00 00 00 3A 04 00 00
      00 00 00 00 00 00 00 00
      ec=0, sk=not ready, asc=3A, ascq=4
      error is: device is coming ready (OB scsi device driver)
      flags: (none)
      2009/11/18.13:00:00 ***1 wst__exec: rval=-1, status.code/resid/checks=0x2000811d/0x0/0x0
      [root@prsabkp01m-ebsd lib0]#
        • 1. Re: Unloadvol command hangs
          Dcooksey-Oracle
          This could potentially be mis-configuration of tape device. Refer to:
          Metalink Note 960972.1 to determine if that is the case in your situation

          Donna
          • 2. Re: Unloadvol command hangs
            734554
            I matched the serial numbers of the tape drive from the control panel. They are correct.

            ob> unloadvol -D tape1
            Error: can't execute command - Interrupted system call

            lib0:
            Device type: library
            Model: [none]
            Serial number: USX615009K
            In service: yes
            Debug mode: no
            Barcode reader: yes
            Barcodes required: yes
            Auto clean: yes
            Clean interval: 1 week
            Clean using emptiest: yes
            Unload required: yes
            Ejection type: auto
            Min writable volumes: 0
            UUID: b28c8fd2-b6bc-102c-816e-0014384cd52a
            Attachment 1:
            Host: prsabkp01m-ebsd
            Raw device: /dev/sg0
            Attachment 2:
            Host: prsatdw01m-ebsd
            Raw device: /dev/sg0
            Attachment 3:
            Host: prsatdw02m-ebsd
            Raw device: /dev/sg0
            Connection type: SCSI
            Inquiry data:
            Vendor: HP
            Product: MSL6000 Series
            Firmware: 0520
            Serial number: USX615009K
            Element counts / addresses:
            1 mte: 0
            58 se : 32 - 89
            2 iee: 448 - 449
            2 dte: 480 - 481
            Moves:
            From mte, to: mte 0 se 0 iee 0 dte 0
            From se, to: mte 0 se 1 iee 1 dte 1
            From iee, to: mte 0 se 1 iee 1 dte 1
            From dte, to: mte 0 se 1 iee 1 dte 1
            Ok_ops: move=1, reserve=1 sense_dev=1, sense_ele=1, unload_any=1, sense_dev_range=1
            Device characteristics: two_d=0, is_120=0, fake_mte=0, fake_iee=0, one_target=0
            State of barcode reader: present
            Display: none
            Dte 1: target 1 lun 0 name tape1 (raw device name /dev/sg1)
            warning: dte 1 may be misconfigured; (on bus 0) is at target 0, lun 5,
            which doesn't match the information provided by the library.
            Dte 2: target 2 lun 0 name tape2 (raw device name /dev/sg2)
            warning: dte 2 may be misconfigured; (on bus 0) is at target 0, lun 5,
            which doesn't match the information provided by the library.
            tape1:
            Device type: tape
            Model: [none]
            Serial number: HU10609T4R
            In service: yes
            Library: lib0
            DTE: 1
            Automount: yes
            Error rate: 8
            Query frequency: 131072KB (134217728 bytes) (from driver)
            Debug mode: no
            Blocking factor: (default)
            Max blocking factor: (default)
            Current tape: 15
            Use list: all
            Drive usage: none
            Cleaning required: no
            UUID: cb9e8dea-b6bc-102c-816e-0014384cd52a
            Attachment 1:
            Host: prsabkp01m-ebsd
            Raw device: /dev/sg1
            Attachment 2:
            Host: prsatdw01m-ebsd
            Raw device: /dev/sg1
            Attachment 3:
            Host: prsatdw02m-ebsd
            Raw device: /dev/sg1
            Connection type: SCSI
            Inquiry data:
            Vendor: HP
            Product: Ultrium 3-SCSI
            Firmware: G65W
            Serial number: HU10609T4R
            Tape state: offline
            Hardware compression: on
            Last read was: uncompressed
            Hardware encryption: not available
            Maximum block size: 2097152
            tape2:
            Device type: tape
            Model: [none]
            Serial number: HU10609T6K
            In service: yes
            Library: lib0
            DTE: 2
            Automount: yes
            Error rate: 8
            Query frequency: 131072KB (134217728 bytes) (from driver)
            Debug mode: no
            Blocking factor: (default)
            Max blocking factor: (default)
            Current tape: [unknown]
            Use list: all
            Drive usage: none
            Cleaning required: no
            UUID: bba0568c-b6bf-102c-b0b9-0014384cd52a
            Attachment 1:
            Host: prsabkp01m-ebsd
            Raw device: /dev/sg2
            Attachment 2:
            Host: prsatdw01m-ebsd
            Raw device: /dev/sg2
            Attachment 3:
            Host: prsatdw02m-ebsd
            Raw device: /dev/sg2
            Connection type: SCSI
            Inquiry data:
            Vendor: HP
            Product: Ultrium 3-SCSI
            Firmware: G65W
            Serial number: HU10609T6K
            Tape state: offline
            Hardware compression: on
            Last read was: uncompressed
            Hardware encryption: not available
            Maximum block size: 2097152

            Edited by: user12199230 on Nov 19, 2009 7:15 AM
            • 3. Re: Unloadvol command hangs
              rdoogan-Oracle
              You've got multiple attachments per device. To check the serial number is correct for each one, you need to remove the other attachments and then check the output.

              Alternatively you can use udev rules to name the devices including their serial numbers, and then use that as the attachment. Much easier.


              Rich