How do I check 4 physical damaged on Linux hard disks?


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory How do I check 4 physical damaged on Linux hard disks?
# 1  
Old 12-15-2009
How do I check 4 physical damaged on Linux hard disks?

How do I check for physical damage on red hat linux hard disks? I tried smartctl /dev/sdb but it came back so fast saying it was ok. Is there a better linux command to check for bad sectors or physical disks in linux? Is there a good way such as with parted or something else? I normally in HP use the ioscan and if it says NO_Hardware then know the disk is bad. Thanks.
# 2  
Old 12-15-2009
you could do a dd raw read test or boot off a vendor supplied cd and run diagnostics. seagate and western digital have diagnostics freely available.
# 3  
Old 12-16-2009
Do you have the command line for the dd?
# 4  
Old 12-16-2009
it might take a while depending on the size of the disk. you have more options if you can write to the disk. also check out badblocks(8)
Code:
# changing blocksize may speed up things.
# make sure there are no I/O read errors
dd if=/dev/sdb of=/dev/null bs=1024k

Also keep an eye on /var/log/messages while this is running.

Last edited by Yogesh Sawant; 01-14-2011 at 01:49 PM.. Reason: added code tags
# 5  
Old 12-17-2009
Thank you Frank.

Thank you Frank. I am running the dd command and tailing var/log messages to see if it shows anything. My gut tells me there is nothing wrong with the disk and the problems resulted as of the server being powered down with oracle running and oracle having issues with that factor. Thanks again and have a nice XMAS by the way.

Henry
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with damaged hard drive during bootup

Hello, I have a problem with the hard drive connected to my setup. When I connect the HDD which is damaged, and try to bring up my system, I get some error messages continuously on my console saying ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 frozen ata2.01: failed command:... (4 Replies)
Discussion started by: sai2krishna
4 Replies

2. Red Hat

Create volume using LVM over 2 physical disks

I wanted to know how we can combine volumes over 2 physical drives. # fdisk -l Disk /dev/sda: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 ... (16 Replies)
Discussion started by: ikn3
16 Replies

3. AIX

How to determine the physical volume fo the disks

This is the report I got running the comand rptconf, but I would like to know what is the capacity of the disks installed into our server power 6 with AIX System Model: IBM,7778-23X Machine Serial Number: 1066D5A Processor Type: PowerPC_POWER6 Processor Implementation Mode: POWER 6... (6 Replies)
Discussion started by: cucosss
6 Replies

4. Linux

Linux Library symbolic link damaged

Hi, firstly I am not so familiar with linux and i think i have done some damage to the red hat server. It seems that now in command line I am unable to use any basic command whatsoever (ls, move, cp, bash, etc). I was trying to deploy an application and have changed the symbolic link (soft... (1 Reply)
Discussion started by: zaxx
1 Replies

5. Solaris

6120 Array. Additional physical Disks and ZFS

Hi; I have 4 new disks in a 6120 Array attached to a SUN server running zfs. There are already two virtual disks on the array comprising of 3 disk raid 5 for each Vdisk. I need to add two more disks to each vdisk making each a 5 disk raid 5 Vdisk. If ZFS already has the original... (3 Replies)
Discussion started by: myjess
3 Replies

6. HP-UX

determine the physical size of the hard disk

Hi is there a cmd in hpux 11 to determine the physical size of the hard disk. not bdf command. i have searched the other threads here but cant find an answer. thank you guys (4 Replies)
Discussion started by: hoffies
4 Replies

7. UNIX for Dummies Questions & Answers

Vertias (physical disks monitoring)

Can anyone tell me what Vertias is? Is it free? What is it used for exactly? Thank you in advance. (1 Reply)
Discussion started by: VeroL
1 Replies

8. UNIX for Dummies Questions & Answers

monitoring the state of physical disks

Hello, I would like to know if there are commands that can be used to monitor the state of physical disks (including RAID) under AIX and SUN unix platforms? Thank you in advance. (4 Replies)
Discussion started by: VeroL
4 Replies

9. Filesystems, Disks and Memory

how to assign same mount point for file systems mounted on physical disks

We have 6 hard disks attached to the hardware. Of this 2 hard disks are of 9 GB each. Now I want combine both the same in such a way that i see a combined entry in the output of df -k . The steps I follow are 1. Create partition on hard disks (Using format partition) 2. Run newfs -v for... (6 Replies)
Discussion started by: Hitesh Shah
6 Replies
Login or Register to Ask a Question