- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- volume group
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
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
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
тАО09-12-2001 04:46 PM
тАО09-12-2001 04:46 PM
Need help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 05:11 PM
тАО09-12-2001 05:11 PM
SolutionHowever, if you reduce a mirror without specifing which disk to reduce, then it will probably take he disk that is in the right hand column of the lvdisplay -v LV output...
Just my thoughts... Can anyone correct me ?
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 05:24 PM
тАО09-12-2001 05:24 PM
Re: volume group
Are you looking for this command ?
#lvdisplay -v /dev/vg00/lvol3|more
Will show the of physical volumes
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t6d0 35 35
/dev/dsk/c2t6d0 35 35
Normally we call first disk as primary but it hardly matters as both the disk are same.
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 05:33 PM
тАО09-12-2001 05:33 PM
Re: volume group
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 05:40 PM
тАО09-12-2001 05:40 PM
Re: volume group
On the first LV I created on disk1 and extended (lvextend -m 1) to disk2.
On the second LV I created on disk2 and extended it to disk1.
The output from lvdisplay -v shows both LVs similarly, i.e. that they both span both disk, and list both disk in the same order, i.e. lexigraphically (?). BUT, the logical extents area list disk1 as PV1 and disk2 as PV2 on the first LV, whereas the the second LV list disk2 as PV1 and disk1 as PV2.
So doesn't this mean that PV1 is the primary disk and PV2 is the mirror copy?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 06:14 PM
тАО09-12-2001 06:14 PM
Re: volume group
My opinion is Santosh is right. When you do lvdisplay -v /dev/vg_name/lv_name it show you the distribution of extent and refer to the first link as PV1 and the other as PV2. So it should be safer to say that the disk on which the first extent is there would be the primary disk and the disk on which the copy of that extent is present is the seconday copy. This is if you are having mirror on different disks.
Hope this helps.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2001 11:17 PM
тАО09-12-2001 11:17 PM
Re: volume group
you can try
#lvlnboot -v
The Hard disk shown first is generally taken as the primary HDD and the second as Mirrored HDD.
HTH,
S.Sudhakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 12:14 AM
тАО09-13-2001 12:14 AM
Re: volume group
Just execute
# lvdisplay -v /dev/vg##/lvol#
In --Logical extents-- section you will get information on how PEs are distributed and which PV is primary and which is mirror.
Later,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 11:02 AM
тАО09-13-2001 11:02 AM
Re: volume group
it depends upon which mirror copy was broken, and
then the "surviving" one is mirrored onto the other
(after this has been replaced, and re-activated).
But you can ask your kernel, from which of the disks
it did actually boot, if that is, what you are looking for:
echo "boot_string/S" | adb /stand/vmunix /dev/mem
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2001 01:06 PM
тАО09-13-2001 01:06 PM
Re: volume group
There is no command that specifcally says that PV? is the primary.
The general understanding when working with LVM is that the left hand column of your lvdisplay -v is the "primary" while the right
hand column is the mirror. If you were to do an lvdisplay -v before you mirror the output would be displayed on the left hand side for the physical extents which is why most equate the "primary" with the left side of the output.
If you were to do an lvreduce and specify PV1 as the mirror to get rid of, then PV2 would assume the left side of the lvdisplay -v output. Consequently if you were to establish a mirror copy again specifying PV1, it would be on the right side of the lvdisplay output.
It's really what you are comfortable with when you talk about mirrors but I've always equated the "primary" with the lefthand side and the mirror with the righthand side of the lvdisplay -v output. Others may see it differently though.
My $.02
Jeff