LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 07-04-2010, 01:40 AM   #1
Registered: Aug 2007
Posts: 259

Rep: Reputation: 15
Question Finding capacity of Hard disk


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
Old 07-04-2010, 01:59 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
Old 07-20-2010, 08:32 AM   #3
Registered: Sep 2009
Posts: 31

Rep: Reputation: 6

bootinfo -s hdisk0

for example
Old 10-01-2010, 02:58 PM   #4
Registered: Sep 2010
Posts: 31

Rep: Reputation: 2
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!
Old 12-07-2010, 12:51 AM   #5
LQ Newbie
Registered: Oct 2005
Posts: 19

Rep: Reputation: 1
lsattr -El hdisk1 | grep size

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I am finding difficulty in installing SAM Linux to my Hard Disk shiv_meg Linux - Newbie 2 12-17-2008 08:14 AM
I can't access the full capacity of my hard disk urpion Linux - Newbie 5 10-20-2008 02:04 PM
Finding Used / Free Space for the Entire Hard Disk Jayaraghavendran Programming 1 03-03-2006 06:33 AM
how to find disk capacity Henry_1 Linux - General 4 09-12-2003 12:40 AM
help me in finding out the hard disk number in Linux OS balki_27 Programming 0 08-04-2001 09:34 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration