format
nos devuelve todos los discos (o LUNs) disponibles en el servidor. Para salir, hay que acceder a alguno de los discos y hacer 'quit' desde ahí.
Server # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 /pci@0,600000/pci@0/pci@0/scsi@0/sd@0,0 1. c0t1d0 /pci@0,600000/pci@0/pci@0/scsi@0/sd@1,0 2. c3t600601606FC01D00DC76C8F975B6DF11d0 /scsi_vhci/ssd@g600601606fc01d00dc76c8f975b6df11 3. c3t600601606FC01D00E0B37FE672B6DF11d0 /scsi_vhci/ssd@g600601606fc01d00e0b37fe672b6df11 4. c3t600601606FC01D00E4F142FA72B6DF11d0 /scsi_vhci/ssd@g600601606fc01d00e4f142fa72b6df11 5. c3t600601606FC01D0098A820F372B6DF11d0 /scsi_vhci/ssd@g600601606fc01d0098a820f372b6df11 Specify disk (enter its number): 5 selecting c3t600601606FC01D0098A820F372B6DF11d0 [disk formatted] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name ! - execute , then return quit format> quit Server # |
iostat -En
nos devuelve datos y estadísticas de error de los discos y LUNs del servidor (nombre, tamaño, errores, tipo de errores, etc)
Server # iostat -En c0t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: FUJITSU Product: MBD2147RC Revision: 3701 Serial No: Size: 146.81GB <146810536448 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c0t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: FUJITSU Product: MBD2147RC Revision: 3702 Serial No: Size: 146.81GB <146810536448 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c0t4d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: MATSHITA Product: DVD-RAM UJ875AS Revision: 1.00 Serial No: Size: 0.00GB <0 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 2 Predictive Failure Analysis: 0 c3t600601606FC01D00E4F142FA72B6DF11d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: DGC Product: RAID 5 Revision: 0224 Serial No: Size: 214.75GB <214748364800 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 1 Predictive Failure Analysis: 0 c3t600601606FC01D0098A820F372B6DF11d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: DGC Product: RAID 5 Revision: 0224 Serial No: Size: 214.75GB <214748364800 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 1 Predictive Failure Analysis: 0 c3t600601606FC01D00E0B37FE672B6DF11d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: DGC Product: RAID 5 Revision: 0224 Serial No: Size: 107.37GB <107374182400 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 1 Predictive Failure Analysis: 0 c3t600601606FC01D00DC76C8F975B6DF11d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 Vendor: DGC Product: RAID 5 Revision: 0224 Serial No: Size: 107.37GB <107374182400 bytes> Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0 Illegal Request: 1 Predictive Failure Analysis: 0 |
zpool iostat -v DISCO
donde DISCO es el pool en el que está montado nos devuelve información de cómo está montado ese recurso. Puede ser un mirror o que esté montado sobre una LUN; en cualquier caso te devuelve la información sobre el recurso.
Server # zpool iostat -v root capacity operations bandwidth pool used avail read write read write ------------ ----- ----- ----- ----- ----- ----- root 67,5G 68,5G 1 5 177K 174K mirror 67,5G 68,5G 1 5 177K 174K c0t0d0s0 - - 0 3 89,5K 174K c0t1d0s0 - - 0 3 89,6K 174K ------------ ----- ----- ----- ----- ----- ----- Server # zpool iostat -v flashbackpool capacity operations bandwidth pool used avail read write read write -------------------------------------- ----- ----- ----- ----- ----- ----- flashbackpool 27,5G 172G 1 3 199K 136K c3t600601606FC01D00E4F142FA72B6DF11d0 27,5G 172G 1 3 199K 136K -------------------------------------- ----- ----- ----- ----- ----- ----- Server # Server # |
No hay comentarios:
Publicar un comentario