How many disks are physically installed on the server?

Started by venty, February 13, 2024, 10:33:28 AM

Previous topic - Next topic

venty

Hi,

Can I find out through the panel how many disks are physically installed on the server?

Thanks !

BR
Venty

overseer

If it's a VPS or VM, you are abstracted from the hardware, including disks. Or is your CWP server installed as bare metal?

leisegang

f you really want to display only the hardware, and not RAID volumes and partitions that might be seen by the OS as physical drives. You might want to try lshw

lshw -class disk -short

QuoteH/W path        Device      Class       Description
===================================================
/0/1/0.0.0      /dev/cdrom  disk        DVD-RAM GSA-H55N
/0/1/0.1.0      /dev/sda    disk        160GB ST3160021A
/0/2/0.0.0      /dev/sdb    disk        160GB ST3160815AS