Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   hard drive info (http://www.linux-archive.org/centos/121945-hard-drive-info.html)

Hiep Nguyen 07-09-2008 07:18 PM

hard drive info
 
i'm acessing a centos box via ssh, is there any way that i can find out
the hard drive info, such IDE/SATA, format, size, make & model, etc...?


thanks


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Joshua Baker-LePain 07-09-2008 07:21 PM

hard drive info
 
On Wed, 9 Jul 2008 at 12:18pm, Hiep Nguyen wrote

i'm acessing a centos box via ssh, is there any way that i can find out the
hard drive info, such IDE/SATA, format, size, make & model, etc...?


dmesg
df
man smartctl

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Jeff 07-09-2008 07:25 PM

hard drive info
 
On Wed, Jul 9, 2008 at 2:18 PM, Hiep Nguyen <hiep@ee.ucr.edu> wrote:
> i'm acessing a centos box via ssh, is there any way that i can find out the
> hard drive info, such IDE/SATA, format, size, make & model, etc...?

dmesg | grep Model


--
Jeff
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

"Joseph L. Casale" 07-09-2008 07:25 PM

hard drive info
 
>i'm acessing a centos box via ssh, is there any way that i can find out
>the hard drive info, such IDE/SATA, format, size, make & model, etc...?

Cat something from /sys such as
#cat /sys/block/sda/size
xxxxx

#cat /sys/devices/pci0000:00/0000:00:10.0/host0/target0:0:0/0:0:0:0/model
0/model
Virtual disk

jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 06:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.