Re: How can I found which disk ( harddisk) is corrupted ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Depends on what you mean with corruption. A failed disk should give read/write I/O errors. So: grep /var/log/messages for I/O errors. Usually these are associated with a device identifier (such as sda, hda, etc). Write down the device identifier and do a:

dmesg | grep -1 [hda, sda or whatever the identifier disk is]

You should have the failed disk.

If what you call corruption is not a hardware issue but a filesystem one, then again /var/log/messages should give you the filesystem and the device id.

GM

--
--
George Magklaras BSc Hons MPhil
RHCE:805008309135525

Senior Computer Systems Engineer/UNIX-Linux Systems Administrator
EMBnet Technical Management Board
The Biotechnology Centre of Oslo,
University of Oslo
http://folk.uio.no/georgios


Santosh Kumar wrote:
I think, vgscan will work only if we have LVM running on the system. But I
don't have LVM on the system. Log msg will help me sometime but i don't know
what error it will display. Please suggest me any other way.

Thanks,
Santosh

On Wed, Jan 14, 2009 at 8:25 PM, Mridul Dutta <i.mridul@xxxxxxxxx> wrote:

Run vgscan command

On Wed, Jan 14, 2009 at 9:50 AM, Santosh Kumar <tosantoshkumar@xxxxxxxxx
wrote:
Hi,

 How can I find which disk ( harddisk) is corrupted if we have more than
one
disk attache with the system?

Please help me out.

Thanks and regards,
Santosh Kumar
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



--
Best Regards

Mridul Dutta

IBM India Pvt Ltd, Embassy Golf Links,
Bangalore.

Email:- mriddutt@xxxxxxxxxx
Mobile: 9972811644
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list







--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux