LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2017, 06:55 PM   #1
slurt
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
Disk Utilties that Give the Most Info.


Hi,

Is there a utility that can identify a hard disk configuration. Let's say I have broken RAID array, it's software RAID and I don't know anything about the desktop PC beforehand. Is there something I can run that can look at the "signature" of the disks or a disk and say "there are two disks for RAID 0 and it's corrupted"?

Or how would I get quickly understand I was dealing with two RAID disk or another config? Would fdisk -l give a hint. I'm new to this and just searching for utilities to try. thanks.
 
Old 04-15-2017, 07:57 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
To find out what RAID the kernel knows about:

Code:
cat /proc/mdstat
To look at the RAID info on an individual disk:

Code:
mdadm --examine /dev/sda
 
Old 04-15-2017, 08:00 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

There is a Disk Inspection and Monitoring tool that you can use for hard disks called S.M.A.R.T.
https://sourceforge.net/projects/smartmontools/

The command fdisk -l will show you all of the partitions on a machine.

https://raid.wiki.kernel.org/index.php/Linux_Raid

Test Disk is another tool you can use but it's for Recovery:-
http://www.cgsecurity.org/wiki/TestDisk

More Tools here:
http://www.makeuseof.com/tag/avoid-l...h-these-tools/

HTH
 
Old 04-15-2017, 09:03 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I like to use "lsblk -f" as a first attempt. Shows LVM, RAID, whatever - for more RAID detail, as per post #2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a command/program to give me wifi info? jacatone Linux - Newbie 1 02-15-2009 10:57 PM
need some info before i give linux a go ! ceborame Linux - Newbie 5 01-27-2005 03:13 PM
Can someone give me grub boot info? alphster Slackware 1 01-05-2005 11:38 AM
cardctl doesn't give info kalvnhobbz Linux - Wireless Networking 7 09-28-2004 05:18 AM
How to install redhat linux on windows machine? please give detailed info.. superman254 Linux - Software 1 11-16-2000 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration