Link to home
Create AccountLog in
Avatar of Los Angeles1
Los Angeles1

asked on

How to determine hard drive capacity on RHEL

I am running RHEL 6.4

How do I determine what the capacity of my disk drive is (SAS) ?

Thanks
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Do you know which drive is it located in?
cat /proc/scsi/scsi

Open in new window


Try -
fdisk -l/code]
[code]fdisk -l /dev/sda

Open in new window

Avatar of rajeev2353
rajeev2353

hi,

First check the your hdd are mount in your system

# fdisk -l

show your scsi hdd from this command

again,

#df -Th

show your size hdd with mount your system
Fdisk -l
Dmesg also reflects a set of data including the hard drives.
Some hard drives include their capacity as part of the model.
St3450xxxss 450GB sas seagate
Etc.
Wd300xyyyy western digital 300 GB sas.

Maxtor/quantum, IBM,hitachi, fujitsu do not include capacity information as the above.  There might be a way to decipher their models to calculate the capacity.
SOLUTION
Avatar of deviprasad_s
deviprasad_s
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.