> Thanks Brian, I added this and it seems to indicate things are working > OK without adding any sleep, so I need to keep looking. > > The following is the sequence as I attempt to label a tape after having > deleted the Volume record, manually rewound the tape and done an "mt -f > /dev/nst0 weof" and placed it back in Slot 1. > > Start bacula. > Do a "status" on the SD: > > Device status: > Autochanger "HP_MSL2024" with devices: > "Drive-1" (/dev/nst0) > Device "Drive-1" (/dev/nst0) is not open. > Drive 0 status unknown. > > Do an "automount off" > Do a "label": > > Connecting to Storage daemon HP_MSL2024 at library1.sauce.co.nz:9103 ... > Sending label command for Volume "GQJ800L4" Slot 1 ... > 3301 Issuing autochanger "loaded? drive 0" command. > 3302 Autochanger "loaded? drive 0", result: nothing loaded. > 3304 Issuing autochanger "load slot 1, drive 0" command. > 3305 Autochanger "load slot 1, drive 0", status is OK. > block.c:1010 Read error on fd=5 at file:blk 0:0 on device "Drive-1" > (/dev/nst0). ERR=Device or resource busy.
The read error is normal for a brand new tape. What is not not normal is the ERR=Device or resource busy Have you tried to stop bacula-sd and then execute the mtx-changer script directly from the shell? You will probably have to look at the code for the parameters. John ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users