Link to home
Create AccountLog in
Avatar of m0nk3yza
m0nk3yzaFlag for South Africa

asked on

Determine physical HardDrive size on RedHat 7.3

Hi Guys,

We have several Compaq/HP (G1 & G2) servers running RedHat 7.3.

I need to compile a list of all the HardDrives in these servers.

Some have RAID, some don't, some use SCSI, some IDE.

df -k shows the disk size/space (but that's not what I need).

My manager wants a hardware inventory.

Which command(s) can I use to query this?

I would need to use this in a script, as we have several servers we need to audit.

Thank you.
Avatar of michofreiha
michofreiha
Flag of Lebanon image

Did you try df -H ????
ASKER CERTIFIED SOLUTION
Avatar of michofreiha
michofreiha
Flag of Lebanon 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
Avatar of m0nk3yza

ASKER

Thank you Michofreiha, this is exactly what I was looking for.