- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Finding physical harddisk information
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:19 PM
12-02-2008 10:19 PM
'pvdisplay' only shows the volume groups information.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:25 PM
12-02-2008 10:25 PM
Re: Finding physical harddisk information
So from where this PV is presented from ..?
regards
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:30 PM
12-02-2008 10:30 PM
Re: Finding physical harddisk information
can u please clarify your question
i think u need number of physical volume in a volume group
for that u have to use
vgdisplay -v /dev/vg00(your vgname)
or
strings /etc/lvmtab
there is no difference between physical disk and physical volume.
physical disk if it comes to LVM and having lvm structures means its called as physical volume
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:36 PM
12-02-2008 10:36 PM
Re: Finding physical harddisk information
#vgdisplay -v < volume group>,
you get no of PV used, including the PV details at end.
Yes with the Strings /etc/lvmtab , also we can get the no of disk associated with the particular volume group.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:37 PM
12-02-2008 10:37 PM
Re: Finding physical harddisk information
Hi Saravanan,
You are wrong,
one or more physical disk consist a single physical volume.
Actually maxell asking is how many HDD is in a Singal volume,how to find out.
Am i right Maxell?
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:39 PM
12-02-2008 10:39 PM
Re: Finding physical harddisk information
To my understanding, a physical volume can contain multiple SAS disks.
Therefore, how can I know the number of SAS disks configured as 1 of the physical volume
say in /dev/disk/disk4?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:41 PM
12-02-2008 10:41 PM
Re: Finding physical harddisk information
i m new to this HPux
and moreover this is my first post in ITRC
k i l correct this in future and ur sugesstion wil be very much useful for me
i welcome this from ur side thank u
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:47 PM
12-02-2008 10:47 PM
Re: Finding physical harddisk information
Use sasmgr
Don know the syntax.. Probably man page will help u
Regards
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:54 PM
12-02-2008 10:54 PM
Re: Finding physical harddisk information
We can use the command vgdisplay -v /dev/vgxx
and we can use strings /etc/lvmtab
Regards,
Niceguy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:58 PM
12-02-2008 10:58 PM
Re: Finding physical harddisk information
Hi Niceguy,
Welcome to Forums,
Niceguy is correct,
Sorry Saravanan,Your Answer is correct.
Hi Maxell follow the niceguy solution you will get the Answer.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2008 12:15 AM
12-03-2008 12:15 AM
Re: Finding physical harddisk information
Below is the output of my 'vgdisplay' command. At the bottom of the output it specify that the physical volume is /dev/disk/disk7.
But supposedly I was told that this physical volume has is pooled from 6 SAS disks and I can't find that piece of info saying that this physical volume contains 6 SAS disks.
Please enlighten me. Thanks
***************************************
# vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 52493
VGDA 2
PE Size (Mbytes) 8
Total PE 52492
Alloc PE 35000
Free PE 17492
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 6719104m
VG Max Extents 839888
--- Logical volumes ---
LV Name /dev/vg01/lvsvr10g1_root
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g2_root
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g3_root
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g4_root
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g1_spare
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g2_spare
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g3_spare
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
LV Name /dev/vg01/lvsvr10g4_spare
LV Status available/syncd
LV Size (Mbytes) 35000
Current LE 4375
Allocated PE 4375
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk7
PV Status available
Total PE 52492
Free PE 17492
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2008 12:59 AM
12-03-2008 12:59 AM
Re: Finding physical harddisk information
I think sasmgr command will give youwhat you require..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2008 01:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2008 01:44 AM
12-03-2008 01:44 AM
Re: Finding physical harddisk information
Yah thats the command that Im looking for and it shows me the SAS disks configured in a volume group.
John,
Tried the sasmgr but to no avail.
Everyone, thanks for the speedy response.