How can I found which disk ( harddisk) is corrupted ?
georgios at biotek.uio.no
Fri Jan 16 08:40:07 UTC 2009
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
George Magklaras BSc Hons MPhil
Senior Computer Systems Engineer/UNIX-Linux Systems Administrator
EMBnet Technical Management Board
The Biotechnology Centre of Oslo,
University of Oslo
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.
> On Wed, Jan 14, 2009 at 8:25 PM, Mridul Dutta <i.mridul at gmail.com> wrote:
>> Run vgscan command
>> On Wed, Jan 14, 2009 at 9:50 AM, Santosh Kumar <tosantoshkumar at gmail.com
>>> How can I find which disk ( harddisk) is corrupted if we have more than
>>> disk attache with the system?
>>> Please help me out.
>>> Thanks and regards,
>>> Santosh Kumar
>>> redhat-list mailing list
>>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> Best Regards
>> Mridul Dutta
>> IBM India Pvt Ltd, Embassy Golf Links,
>> Email:- mriddutt at in.ibm.com
>> Mobile: 9972811644
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
More information about the redhat-list