- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: get allocated, free space of a volume group (o...
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
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
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-20-2011 06:11 AM - edited 12-20-2011 11:47 PM
12-20-2011 06:11 AM - edited 12-20-2011 11:47 PM
hello,
i have following issue:
- we have several storage systems ( internal disk, san storage,etc). one configuration is : one storage is with "LVM" mirrored with the second storage system. also with standalone san storage (not mirrored)
- how can i get the information , if a volume group is mirrored with a second storage system ?
because i want to get total, allocated,free space of a volume group ( net value and gross value)
i tried several things and i created a script "vgstat" which calls "vgd" ( display if a vg is mirrored or not ).
example : vgstat ( last column is "MC" (Mirror Copies) )
vgstat vg00
vgstat -n ( get net values)
in the attachmend are the scripts and a output
regards
Solved! Go to Solution.
- Tags:
- vgdisplay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2011 03:26 PM - edited 12-20-2011 03:26 PM
12-20-2011 03:26 PM - edited 12-20-2011 03:26 PM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
You don't have any attachments. You may need to give them a suffix of ".txt".
You can edit your reply to add them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2011 11:59 PM
12-20-2011 11:59 PM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
attachment ( below) : rename vgd.sh.txt to vgd and rename vgstat.sh.txt to vgstat
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2011 12:17 AM
12-21-2011 12:17 AM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
vg00 mirrored
vg01 mirrored
vgsanstorage not mirrored
You need to compare the "ioscan -fn" and "vgdisplay -v" output to find out where the copies are.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2011 06:21 AM
12-22-2011 06:21 AM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
hello,
"ioscan -fn" and "vgdisplay -v" output to find out where the copies are.
what is the relationship between "ioscan -fn" and "vgdisplay -v"
output of ioscan -fnC disk and vgdisplay -v . the disks of "vgdisplay -v" i can't find in "ioscan"
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2011 06:49 AM
12-22-2011 06:49 AM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
You should get "evainfo" from the web (SSSU package from software.hp.com).
Then do
# evainfo -d /dev/disk/disk142
# evainfo -d /dev/disk/disk157
You will see the WWN of the EVA6400 where the LUN resides.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Tags:
- evainfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2011 01:24 AM
12-23-2011 01:24 AM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
hello,
i used "ioscan -fknNC disk" to get the same disk device file like from the ouput of "vgdisplay"
i will test "evainfo" ( we had a too old version installed ).
but how can i see we "ioscan" , "evainfo" , that a VG is mirorred to another storage system ?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2011 02:48 AM
12-23-2011 02:48 AM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
You will see different WWns, this means different EVAs.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2011 05:47 AM
12-29-2011 05:47 AM
Re: get allocated, free space of a volume group (optional: depends if vg is mirrored)
i spoke here that we have several storage systems ( internal disk, san storage,etc).
then it will be a complex system :
for XP / P9500 i have to install : xpinfo
for EVA i have to install : evainfo
what about 3PAR ?
and how about internal disks ?
and i don't know, when i have a disk device file of volume group that it is a disk of an EVA storage ?
i must know that /dev/dsk/.... is a EVA disk , right ? how i know it ?
regards
- Tags:
- 3PAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2011 05:55 AM
12-29-2011 05:55 AM
SolutionThis is always a bit difficult.
There are several ways to find it out.
Different tools, array specific (e.g. evainfo, xpinfo, p9000info, etc).
Always watch the device identifier in ioscan, this usually tells you about the device (e.g. P2000 array, HSV = EVA, OPEN-V = XP array etc ...).
You may also try the good old ignite's print_manifest and read the storage device section.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!