Operating System - Linux
1826432 Members
3922 Online
109692 Solutions
New Discussion

Re: how many disks are configured and what is the total size of disks in linux.

 
vvsha
Frequent Advisor

how many disks are configured and what is the total size of disks in linux.

Hi

Please let me know how many disks are configured and what is the total size of disks in linux.

In hp-ux we have "ioscan -funC disk" and "diskinfo" , same way what there in linux ?
3 REPLIES 3
OlivierDrouin
New Member

Re: how many disks are configured and what is the total size of disks in linux.



Use lshw (list hardware)

# yum install lshw.i386

For a ioscan like output use

# lshw --short
Ivan Ferreira
Honored Contributor

Re: how many disks are configured and what is the total size of disks in linux.

Do the following command:

fdisk -l

You will see list of disk devices and their size.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skt_skt
Honored Contributor

Re: how many disks are configured and what is the total size of disks in linux.

have a look at /proc/partitions too.