How many drives?

Miner, Jonathan W (CSC) (US SSA) jonathan.w.miner at baesystems.com
Thu Sep 27 15:06:51 UTC 2007




-----Original Message-----
From:	fedora-list-bounces at redhat.com on behalf of Ashley M. Kirchner
Sent:	Thu 09/27/2007 10:53 AM
To:	For users of Fedora Core releases
Cc:	
Subject:	How many drives?


    What's a quick (even dirty) way of finding out how many HDs a system 
has?  
----------------------------

Quick, and dirty...

fdisk -l | grep '^Disk ' | wc -l

This will fail to report correctly on systems with embedded hardware RAID controllers, also mis-counts on systems with software volume management.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2601 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070927/daf67fb9/attachment-0001.bin 


More information about the users mailing list