« ESXi smart / smartctl » : différence entre les versions

De Linux Server Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
[[category:virtualisation]]
[[category:virtualisation]]
http://www.virten.net/2016/05/determine-tbw-from-ssds-with-s-m-a-r-t-values-in-esxi-smartctl/
=Installation sur ESXi=
=Installation sur ESXi=


<pre>
<pre>
cd /vmfs/volumes/datastore1
cd /vmfs/volumes/datastore1
wget http://www.virten.net/files/smartctl-6.6-4321.x86_64.vib
wget http://pfoo.unscdf.org/esxi/smartctl-6.6-4433.x86_64.vib
esxcli software acceptance set --level=CommunitySupported
esxcli software acceptance set --level=CommunitySupported
esxcli software vib install -v /vmfs/volumes/datastore1/smartctl-6.6-4321.x86_64.vib
esxcli software vib install -v /vmfs/volumes/datastore1/smartctl-6.6-4433.x86_64.vib
</pre>
</pre>



Version du 12 août 2017 à 12:12

Installation sur ESXi

cd /vmfs/volumes/datastore1
wget http://pfoo.unscdf.org/esxi/smartctl-6.6-4433.x86_64.vib
esxcli software acceptance set --level=CommunitySupported
esxcli software vib install -v /vmfs/volumes/datastore1/smartctl-6.6-4433.x86_64.vib

Utilisation

/opt/smartmontools/smartctl -d sat -a /dev/disk/<disk>

Inspection de l'archive (sous linux)

$# ar tv smartctl-6.6-4321.x86_64.vib
rw-r--r-- 0/0   1178 Jan  1 01:00 1970 descriptor.xml
rw-r--r-- 0/0      0 Jan  1 01:00 1970 sig.pkcs7
rw-r--r-- 0/0 750335 Jan  1 01:00 1970 smartctl

Pour extraire les fichiers : ar vx smartctl-6.6-4321.x86_64.vib Notez que le fichier smartctl est une archive tar compressé en gzip