Sponsored Content
Full Discussion: Detecting Harddrive Errors
Operating Systems Solaris Detecting Harddrive Errors Post 302213173 by sunsysadm2003 on Wednesday 9th of July 2008 11:24:04 AM
Old 07-09-2008
Detecting Harddrive Errors

I am looking for some tips or suggestions in how to do the following.

1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom:

c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: Maxtor 6E040L0 Revision: NAR61590 Serial No: E1FECWNE
Size: 41.11GB <41110142976 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0
c0t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: WDC WD200BB-75DE Revision: 05.03E05 Serial No: WD-WMAFD1500835
Size: 20.00GB <20000000000 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0
c0t1d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 1
Vendor: PIONEER Product: 12X DVD-ROM Revision: 1.16 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

2) My question is this, how can I parse out the DVD-ROM drive and then with the two internal disks, I want to check the: "Soft Errors", "Hard Errors" and "Transport Error" fields for any number other than zero which would indicate a need for a fsck of the drive, drive replacement, etc.

3) If possible, I would also want to add the funtionality of excluding any SAN attached storage which may or may not be present as I am not concerned with the SAN drives.

Any help would be greatly appreciated.
sunsysadm2003
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Supplemental harddrive.

Am planning on adding a secodary SCSI hardrive to the existing 20gb drive., that I have. The old drive has Linux on it. Once, the new drive is added, I am planning on having windows on it. Firstly, could this be done ? Has anyone build a system with a similar configuration ? What is requried,... (1 Reply)
Discussion started by: matvrix
1 Replies

2. Programming

detecting errors in writing to syslog

I am calling "void syslog(int, const char *, ...);" from my c++ application (definition taken from man page for syslog.h". Is there any way to detect that the syslog is not working, so that I can re-direct logging information to stderr? Thanks in advance. David (2 Replies)
Discussion started by: dmirza
2 Replies

3. Linux

Mount a harddrive in linux.

Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually? thanks, John (2 Replies)
Discussion started by: RKJV
2 Replies

4. UNIX for Dummies Questions & Answers

Copying a file to my harddrive

I'm loged on to a unix sever over the internet and i want to copy a file from there to my harddrive. How would i go about this because cp does not seem to work. (1 Reply)
Discussion started by: zoolz
1 Replies

5. UNIX for Dummies Questions & Answers

Adding an additional harddrive in solaris 9

Hello, I have a system which a new harddrive was installed for additional space. I now need to mount the drive and transfer data from /home to the new drive with a mount point named /home. How do I go about doing this? Thanks in advance. (5 Replies)
Discussion started by: GLJ@USC
5 Replies

6. UNIX for Dummies Questions & Answers

booting from which harddrive

Hi, both of my /dev/hda and my /dev/hdb contain /boot partition. I'm wondering how to tell which harddrive's /boot is actually being read? Thanks (2 Replies)
Discussion started by: onthetopo
2 Replies

7. Solaris

installing second harddrive

This is my first post i am a solaris newbie. I just purchased my first sun system. It is a sunblade 1000. It had a fcal 36gb hdd in it already so i purchased a secondary 36gb fcal harddrive to increase my harddrive space however, how do i get it to detect the second harddrive? I have tried boot -r... (2 Replies)
Discussion started by: crzywut
2 Replies

8. Shell Programming and Scripting

Detecting hard or soft disk errors in Solaris

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

9. UNIX for Dummies Questions & Answers

How to copy MBR from old harddrive to new harddrive?

How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies

10. Shell Programming and Scripting

need help in detecting errors

Hi All , I need a script to find errors in a particular and in a particular path Actually in my logs i`ve so many kinds of errors(i can even say as 100 types also).if i run the script i need to know the error (some errors can aviod ) so finally the script o/p should be a numeric... (3 Replies)
Discussion started by: radha254
3 Replies
UNSHIELD(1)						       http://www.synce.org						       UNSHIELD(1)

NAME
unshield - extract CAB files from an InstallShield installer archive SYNOPSIS
unshield [-c COMPONENT] [-d DIRECTORY] [-D LEVEL] [-g GROUP] [-h] [-j] [-L] [-n] [-o] [-O] [-r] [-v] [-V] c|g|l|t|x CABFILE DESCRIPTION
Unshield extracts CAB files from InstallShield installers, used to install software on Microsoft Windows based machines. OPTIONS
-c COMPONENT Only list/extract this component -d DIRECTORY Extract files to DIRECTORY -D LEVEL Set debug log level 0 - No logging (default) 1 - Errors only 2 - Errors and warnings 3 - Errors, warnings and debug messages -g GROUP Only list/extract this file group -h Show help message -j Junk paths (do not make directories) -L Make file and directory names lowercase -n Never overwrite files -o Always overwrite files -O Use old compression -r Save raw data (do not decompress) -v Be verbose -V Print version information Commands: c List components g List file groups l List files t Test files x Extract files Other: CABFILE The InstallShield installer file to act upon AUTHOR
This manual page was adapted by Mark Ellis <mark@mpellis.org.uk>, from the skeleton generated by help2man The SynCE project July 2004 UNSHIELD(1)
All times are GMT -4. The time now is 03:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy