I want to get my changer slot information from the amanda.conf file and it 
seems that amgetconf should do the job. Buuuuut.

My amanda.conf snippet of the changer

tapedev "c4"
define changer "c4" {
  tpchanger "chg-robot:/dev/changer/0"
  changerfile "chg-zd-mtx-state"
  property "tape-device" "0=tape:/dev/rmt/0cbn"
  property "eject-before-unload" "true"
  property "eject-delay" "10"
  property "unload-delay" "10"
  property "use-slots" "31-36"
  property "load-poll" "0s poll 5s until 120s"
  device-property "BLOCK_SIZE" "1024k"
  device-property "LEOM" "true"
} 

I tried "amgetconf archive changer:c4:use-slots" but did not work.

To test I ran the following

        % amgetconf archive  changer:c4:changerfile
        chg-zd-mtx-state

and this works.

What is the command that I use to get the slot info?

Thanks

Robert

_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: [email protected]
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (765) 494-6055
150 N. University Street                      
West Lafayette, IN 47907-2067            
 


Reply via email to