r1 - 03 May 2006 - 00:02:38 - IuriDinizYou are here: TWiki >  Personal Web  >  DebianLinux > BaculaBackup > AutoChangerPowerVaultPV124T

Auto Changer Dell Power Vault 124T

PowerVault 124T

Softwares necessários

#!/bin/sh
apt-get install mt-st mtx

Descobrir quem eh o autoloader

#!/bin/sh
(for i in /dev/sg*; do 
   echo $i; 
   mtx -f $i inquiry 2>&1;
   echo ------------------;
done) \
| less

Procure por Medium Changer ou algo parecido em Product Type

/dev/sg9
Product Type: Medium Changer
Vendor ID: 'DELL    '
Product ID: 'PV-124T         '
Revision: '0026'
Attached Changer: No
o meu eh o sg9

Usando o mtx (controlar o auto changer)

Status do dispositivo

#!/bin/sh
mtx -f /dev/sg9 status

Exemplo de Saida do comando

  Storage Changer /dev/sg9:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full :VolumeTag=000001L2
      Storage Element 2:Full :VolumeTag=000002L2
      Storage Element 3:Full :VolumeTag=000003L2
      Storage Element 4:Full :VolumeTag=000004L2
      Storage Element 5:Full :VolumeTag=000005L2
      Storage Element 6:Full :VolumeTag=000006L2
      Storage Element 7:Full :VolumeTag=000007L2
      Storage Element 8:Full :VolumeTag=000008L2
      Storage Element 9:Full :VolumeTag=000009L2
      Storage Element 10:Full :VolumeTag=000010L2
      Storage Element 11:Full :VolumeTag=000011L2
      Storage Element 12:Full :VolumeTag=000012L2
      Storage Element 13:Full :VolumeTag=000013L2
      Storage Element 14:Full :VolumeTag=000014L2
      Storage Element 15:Full :VolumeTag=000015L2
      Storage Element 16:Full :VolumeTag=000016L2
O meu PV-124T possui 17 elementos (16 de Storage e 1 de Data).

O Data Transfer Element é o slot 0, então aqui é onde reside o hardware de gravar fita, e atualmente não possui fita

Todos os slots de storage, estao ocupados

Outro exemplo de saída

  Storage Changer /dev/sg9:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 13 Loaded):VolumeTag = 000013L2
      Storage Element 1:Full :VolumeTag=000001L2
      Storage Element 2:Full :VolumeTag=000002L2
      Storage Element 3:Full :VolumeTag=000003L2
      Storage Element 4:Full :VolumeTag=000004L2
      Storage Element 5:Full :VolumeTag=000005L2
      Storage Element 6:Full :VolumeTag=000006L2
      Storage Element 7:Full :VolumeTag=000007L2
      Storage Element 8:Full :VolumeTag=000008L2
      Storage Element 9:Full :VolumeTag=000009L2
      Storage Element 10:Full :VolumeTag=000010L2
      Storage Element 11:Full :VolumeTag=000011L2
      Storage Element 12:Full :VolumeTag=000012L2
      Storage Element 13:Empty
      Storage Element 14:Full :VolumeTag=000014L2
      Storage Element 15:Full :VolumeTag=000015L2
      Storage Element 16:Full :VolumeTag=000016L2

Aqui o hardware de gravar fita esta com a fita de código de barras '000013L2'.

O Slot 13 não possui fitas no momento.

Removendo fita

Vou remover a fita que esta atualmente no Elemento 0 e colocá-la no slot 13

#!/bin/sh
mtx -f /dev/sg9 unload 13
#--ou de outra forma explicitando de onde tirar a fita (slot 0)
#mtx -f /dev/sg9 unload 13 0

Colocando fita

Vou colocar a fita que esta atualmente no Elemento 13 e colocá-la no slot 0
#!/bin/sh
mtx -f /dev/sg9 load 13
#--ou de outra forma explicitando de onde colocar a fita (slot 0)
#mtx -f /dev/sg9 load 13 0

Usando o mt (controlar a fita)

Status

mt -f /dev/nst0 status

-- IuriDiniz - 02 May 2006

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback