LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   Finding capacity of Hard disk (https://www.linuxquestions.org/questions/aix-43/finding-capacity-of-hard-disk-817916/)

manoj.linux 07-04-2010 12:40 AM

Finding capacity of Hard disk
 
Hi,

I would like to know is it possibel to find the capacity of Hard disk when it is mapped to aix os from Storage if it is RAW.

for example if I am givng command lspv, and it is showing below output , I have just given the command cfgmgr after mapping hard disk from storage to aix.


hdisk1 none none

paulsm4 07-04-2010 12:59 AM

Hi -

lspv is the command to check your physical volume(s). lslv and lsvg to check your logical volumes and volume groups.

'Hope that helps .. PSM

0rphu 07-20-2010 07:32 AM

use

bootinfo -s hdisk0

for example

linuxlearner17 10-01-2010 01:58 PM

Try lspv with the following

Run lspv to see how many disks you have. Then run this:

lspv -l hdisk0 (or hdisk1) depending on what drive you want to see that will give you the LP and PP (showing if it's mirrored or not) as well as the mount point

then run

lspv hdisk0 (or again hdisk1, hdisk3) to see the capacity, what volume group it belongs to how many free PP (physical partitions) are available etc.

Hope this helps!

baznz 12-06-2010 11:51 PM

lsattr -El hdisk1 | grep size

Ofcourse if you add it to a volume group you just type:
lspv hdisk1


All times are GMT -5. The time now is 04:04 AM.