Re: [Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-13 Thread Dan Langille
On 2013-02-12 05:18, Mauro Colorio wrote:
 with show all command I can see:

 Device: name=HP-AUTOLDR ok=0 num_writers=0 max_writers=0
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 
 autochgr=0
   poolid=0 volname= MediaType=

 it seems data retrieved with this commands are wrong and everything 
 is
 set to zero
 it's a bug?

I get similar results on my 5.2.13 installation:

$ echo 'show all' | bconsole | grep autochgr
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
   reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
$

At least one of those should be autochgr=1

-- 
Dan Langille - http://langille.org/

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-12 Thread Mauro Colorio
with show all command I can see:

Device: name=HP-AUTOLDR ok=0 num_writers=0 max_writers=0
  reserved=0 open=0 append=0 read=0 labeled=0 offline=0 autochgr=0
  poolid=0 volname= MediaType=

it seems data retrieved with this commands are wrong and everything is
set to zero
it's a bug?


Mauro

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-11 Thread Mauro Colorio
as in the topic, there is a way to get that?
I found that the command 'update slots' checks that but maybe I don't
want to send that command before to discover if is an autochanger or
not,
any hint?

thank you
Mauro

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-11 Thread Radosław Korzeniewski
Hello,

2013/2/11 Mauro Colorio mauro.colo...@gmail.com

 as in the topic, there is a way to get that?


Console command: show storage=name_of_storage
Check for Autochanger=1

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-11 Thread Mauro Colorio
 Console command: show storage=name_of_storage
 Check for Autochanger=1

on which version? on bacula 5.0.2 or in 5.2.6 doesn't works for me
 (I've an autochanger,   AutoChanger = yes in bacula-sd configuration file)
but that value is not showed, the only way is to use uptade slots but
isn't so clean

tanx
ciao
Mauro

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-11 Thread Dan Langille
On 2013-02-11 06:04, Mauro Colorio wrote:
 Console command: show storage=name_of_storage
 Check for Autochanger=1

 on which version? on bacula 5.0.2 or in 5.2.6 doesn't works for me
  (I've an autochanger,   AutoChanger = yes in bacula-sd configuration 
 file)
 but that value is not showed, the only way is to use uptade slots but
 isn't so clean

I don't see that information on 5.2.12 either.

$ bconsole
Connecting to Director bacula.example.org:9101
1000 OK: bacula-dir Version: 5.2.12 (12 September 2012)
Enter a period to cancel a command.
*show storage=DigitalTapeLibrary
Storage: name=DigitalTapeLibrary address=kraken.example.org SDport=9103 
MaxJobs=1
   DeviceName=DTL01 MediaType=DLT StorageId=8
*

-- 
Dan Langille - http://langille.org/

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] discover if a storage device is an autochanger from bconsole

2013-02-11 Thread Radosław Korzeniewski
Hello,

2013/2/11 Dan Langille d...@langille.org

 On 2013-02-11 06:04, Mauro Colorio wrote:
  Console command: show storage=name_of_storage
  Check for Autochanger=1
 
  on which version? on bacula 5.0.2 or in 5.2.6 doesn't works for me
   (I've an autochanger,   AutoChanger = yes in bacula-sd configuration
  file)
  but that value is not showed, the only way is to use uptade slots but
  isn't so clean

 I don't see that information on 5.2.12 either.

 $ bconsole
 Connecting to Director bacula.example.org:9101
 1000 OK: bacula-dir Version: 5.2.12 (12 September 2012)
 Enter a period to cancel a command.
 *show storage=DigitalTapeLibrary
 Storage: name=DigitalTapeLibrary address=kraken.example.org SDport=9103
 MaxJobs=1
DeviceName=DTL01 MediaType=DLT StorageId=8
 *


Sorry for the confusion. It is available in Bacula Enterprise...

*version
deimos-dir Version: 6.0.4 (01 June 2012)
i486-pc-linux-gnu-bacula-enterprise debian 6.0
*show storage=deimos-sd
Storage: name=deimos-sd address=deimos SDport=9103 MaxJobs=6
  DeviceName=FSAutochanger MediaType=FileTape StorageId=3 Autochanger=1

Best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users