https://nonhazardo.us/tape/storage/udev/2016/03/14/udev-persistent-tape-drive-naming.html

William Muriithi <will...@perasotech.com> escreveu no dia domingo,
3/03/2019 à(s) 14:40:

> Hi guys,
>
> On Centos 7 system and had a working tape storage system. Then I restarted
> and the whole thing stopped working.
>
> I have just noticed that the autochanger changed from /dev/sg2 to
> /dev/sg3.  My initial thought was to use the device UUID, but this device
> don't seem to use UUID.
>
> I thought I could use the alternate name that I pulled from lsscsi
> command, but it looks like either the device driver or the script only want
> to use the device with sg prefix on the name
>
> [root@eng-backup01 ~]# mtx -f /dev/sch0 status
> /dev/sch0 is not an sg device, or old sg driver
> [root@eng-backup01 ~]#
>
> So, how do you guys solve this problem so that it don't fall apart on
> every restart?
>
> [root@eng-backup01 ~]# lsscsi -l
> [0:2:0:0]    disk    DELL     PERC H710P       3.13  /dev/sda
>   state=running queue_depth=256 scsi_level=6 type=0 device_blocked=0
> timeout=90
> [0:2:1:0]    disk    DELL     PERC H710P       3.13  /dev/sdb
>   state=running queue_depth=256 scsi_level=6 type=0 device_blocked=0
> timeout=90
> [1:0:0:0]    tape    IBM      ULTRIUM-HH7      J4D1  /dev/st0
>   state=running queue_depth=256 scsi_level=7 type=1 device_blocked=0
> timeout=900
> [1:0:0:1]    mediumx QUANTUM  UHDL             0094  /dev/sch0
>   state=running queue_depth=256 scsi_level=3 type=8 device_blocked=0
> timeout=0
> [root@eng-backup01 ~]#
>
>
> Regards,
> William
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
--
Cumprimentos,

Pedro Oliveira

Rua Antonio Botto | Nº 23 | 1º A | 2950-565 Quinta do Anjo

tel +351 218 440 100 | mobile +351 916 111 464

website <http://www.pedroliveira.pt/>  |
  <http://www.facebook.com/oliveiraped>
<http://www.linkedin.com/in/oliveiraped>


*Aviso de Confidencialidade:* Esta mensagem é exclusivamente destinada ao
seu destinatário, podendo conter informação CONFIDENCIAL, cuja divulgação
está expressamente vedada nos termos da lei. Caso tenha recepcionado
indevidamente esta mensagem, solicitamos-lhe que nos comunique esse mesmo
facto por esta via ou para o telefone +351 916111464  devendo apagar o seu
conteúdo de imediato.

This message is intended exclusively for its addressee. It may contain
CONFIDENTIAL information protected by law. If this message has been
received by error, please notify us via e-mail or by telephone
+351916111464 and delete it immediately.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to