|
From: Jens G. <jen...@eb...> - 2012-06-26 05:38:19
|
Zitat von Dan Langille <da...@la...>: > On 2012-06-25 10:30, Jens Grüntjes wrote: > > Make sure you have the latest and greatest mtx. > > I would start by debugging the output of this script. Look for these lines: > > list) > debug "Doing mtx -f $ctl -- to list volumes" > > You'll see it's doing this command: > > NOTE: /dev/pass11 is my tape changer (i.e. the library). > > I'm using FreeBSD 8.2 here... > > $ mtx -f /dev/pass11 status > Storage Changer /dev/pass11:1 Drives, 10 Slots ( 0 Import/Export ) > Data Transfer Element 0:Full (Storage Element 2 Loaded):VolumeTag = ETU067 > Storage Element 1:Full :VolumeTag=ETU066 > Storage Element 2:Empty > Storage Element 3:Full :VolumeTag=ETU068 > Storage Element 4:Full :VolumeTag=ETU069 > Storage Element 5:Full :VolumeTag=ETU064 > Storage Element 6:Full :VolumeTag=ETU070 > Storage Element 7:Full :VolumeTag=ETU078 > Storage Element 8:Full :VolumeTag=ETU044 > Storage Element 9:Full :VolumeTag=ETU045 > Storage Element 10:Full :VolumeTag=ETU075 > > Element 0 is the tape drive. > > Start with that... show us your output. > > -- > Dan Langille - http://langille.org/ I already posted the output before. It looks like this: boromir /etc/bacula/scripts # mtx -f /dev/sg4 status Storage Changer /dev/sg4:1 Drives, 7 Slots ( 0 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full :VolumeTag=WOC4-01L4 Storage Element 2:Full :VolumeTag=WOC4-02L4 Storage Element 3:Full :VolumeTag=WOC4-03L4 Storage Element 4:Full :VolumeTag=WOC5-01L4 Storage Element 5:Full :VolumeTag=WOC5-02L4 Storage Element 6:Full :VolumeTag=WOC5-03L4 Storage Element 7:Full :VolumeTag=WOC1-01L4 It shows only 7 slots. Greetings -- Jens |