Sg3 utils

De wiki.nexiat.fr
Aller à la navigation Aller à la recherche
Fiche express
Domaine SAN — outils sg3_utils
Paquet sg3_utils
Contexte Linux — validation bas niveau du fonctionnement ALUA
Voir aussi Multipath · Multipath (configuration) · Rdac

sg3_utils est un ensemble d'outils bas niveau permettant d'interroger directement un périphérique SCSI/FC, notamment pour valider le fonctionnement ALUA d'une baie SAN.

ALUA

yum install sg3_utils
sg_rtpg -d /dev/sdX

États possibles renvoyés :

Code État
0h Active/Optimized
1h Active/Non-optimized
2h Standby
3h Unavailable
4h-Eh Reserved
Fh Transitioning between states
sg_rtpg -vvd /dev/sda
# target port group asymmetric access state : 0x01 (active/non optimized)
# target port group asymmetric access state : 0x00 (active/optimized)

sg_inq -vv -p 0x83 /dev/sda

Voir aussi