Hey everyone, I'm having problem setting up chg-manual changer script in Solaris 10. >From the taped.debug:
mt: unknown command: eject I tried to change the eject command to rewoffl instead # diff /opt/sfw/libexec/amanda/chg-lib.sh /opt/sfw/libexec/amanda/chg-lib.sh.off 134c134 < $MT $MTF "$try_eject_device_tape" rewoffl --- > $MT $MTF "$try_eject_device_tape" eject But then I got some other error instead see below. Any ideas what might be the problem ? 1224898398.489880: taper: putresult: 26 REQUEST-NEW-TAPE 1224898398.490892: taper: getcmd: NEW-TAPE 1224898405.934941: taper: changer_query: changer return was 5 1 1224898405.935141: taper: changer_query: searchable = 0 1224898405.935176: taper: changer_find: looking for NULL changer is searchable = 0 Error rewinding device /dev/rmt/1n Error rewinding device /dev/rmt/1n 1224898466.433921: taper: device_read_label; mode = 0 Can't open tape device /dev/rmt/1n: Device busy /dev/rmt/1n: Device busy Can't open tape device /dev/rmt/1n: Device busy Can't open tape device /dev/rmt/1n: Device busy Can't open tape device /dev/rmt/1n: Device busy /dev/rmt/1n: Device busy Can't open tape device /dev/rmt/1n: Device busy Thanks Gunnar Gunnarsson