Author Topic: How many disks are physically installed on the server?  (Read 817 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
How many disks are physically installed on the server?
« on: February 13, 2024, 10:33:28 AM »
Hi,

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

Thanks !

BR
Venty

Offline
*****
Re: How many disks are physically installed on the server?
« Reply #1 on: February 13, 2024, 09:26:17 PM »
If it's a VPS or VM, you are abstracted from the hardware, including disks. Or is your CWP server installed as bare metal?

Offline
*
Re: How many disks are physically installed on the server?
« Reply #2 on: February 15, 2024, 01:36:17 PM »
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

Code: [Select]
lshw -class disk -short
Quote
H/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