quicktips: ver discos en Solaris


¿Alguien ha intentado sacar información de los discos de una máquina Solaris dentro de un script y el comando format no saca lo que esperamos? Existe un comando rápido y no interactivo que puede resolver esta situación:
iostat -En
Ejemplo:

<pre id="terminal">iostat -En

c0t6d0 Soft Errors: 19 Hard Errors: 3 Transport Errors: 0
Vendor: TOSHIBA Product: DVD-ROM SD-M1401 Revision: 1009 Serial No:
Size: 18.83GB <18829279232 bytes>
Media Error: 3 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 19 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST336607FSUN36G Revision: 0207 Serial No: 0310A170A6
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST336607FSUN36G Revision: 0207 Serial No: 0310A1648D
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 1
Illegal Request: 0 Predictive Failure Analysis: 0 </pre>

Un saludo

VN:F [1.9.12_1141]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.12_1141]
Rating: 0 (from 0 votes)
Sphere: Related Content

FacebookTwitterGoogle BookmarksLinkedInShare

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

  1. No comments yet.
(will not be published)