- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- pvg under lvm2 on redhat
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
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
тАО11-21-2007 01:09 AM
тАО11-21-2007 01:09 AM
pvg under lvm2 on redhat
I have a dl385 on 2 xp1024. Is it possible to mirror one array on the second array by using lvm pvg (lvm2-2.02.01-1.3 on redhat as4 u3) ?
I do it find on hpux 11.23 on the same array
If it's not possible on this way (i find nothing on pvg in redhat) there is a another way to synchronize/backup lvol on 2 arrays.
thank for your help
regards
francois
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 01:16 AM
тАО11-21-2007 01:16 AM
Re: pvg under lvm2 on redhat
You can use lvextend to do this.
You have to mirror the entire logical volume,not the physical volume.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 01:59 AM
тАО11-21-2007 01:59 AM
Re: pvg under lvm2 on redhat
For example, to mirror 2 LUNs, you need 3, one small lun acting as "LOG" to avoid full resync (unless --corelog is used, but this requires full resync at reboot, it really sucks).
Full information here:
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Cluster_Logical_Volume_Manager/mirrored_volumes.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 02:23 AM
тАО11-21-2007 02:23 AM
Re: pvg under lvm2 on redhat
i tried whith both lvextend and lvconvert with no result :
lvdisplay -m /dev/vgSAP/lvTESTFL
--- Logical volume ---
LV Name /dev/vgSAP/lvTESTFL
VG Name vgSAP
LV UUID pkZCl0-0DRP-IvAP-PfKY-q5VP-s3Hk-dfIDc8
LV Write Access read/write
LV Status available
# open 1
LV Size 1000.00 MB
Current LE 125
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:32
--- Segments ---
Logical extent 0 to 124:
Type linear
Physical volume /dev/sdc
Physical extents 1080 to 1204
lvextend -m 1 /dev/vgSAP/lvTESTFL /dev/sdz
Please specify either size or extents (not both)
lvextend: Add space to a logical volume
lvextend
[-A|--autobackup y|n]
[--alloc AllocationPolicy]
[-d|--debug]
[-h|--help]
[-i|--stripes Stripes [-I|--stripesize StripeSize]]
{-l|--extents [+]LogicalExtentsNumber |
-L|--size [+]LogicalVolumeSize[kKmMgGtT]}
[-m|--mirrors Mirrors]
[-n|--nofsck]
[-r|--resizefs]
[-t|--test]
[--type VolumeType]
[-v|--verbose]
[--version]
LogicalVolume[Path] [ PhysicalVolumePath... ]
lvconvert -v -d -m 1 /dev/vgSAP/lvTESTFL /dev/sdz
Checking for existing volume group "vgSAP"
Archiving volume group "vgSAP" metadata (seqno 13).
Adding mirror images is not supported yet.
what's happend ? have you an idea ?
thank a lot for your help
francois
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 02:37 AM
тАО11-21-2007 02:37 AM
Re: pvg under lvm2 on redhat
You need a newer Red Hat Update. Mirror support was introduced in U4 or U5, i'm not sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 03:20 AM
тАО11-21-2007 03:20 AM
Re: pvg under lvm2 on redhat
Another option is to do it at a lower level and create a software RAID1 set across the arrays. You would then put a volume group on that instead of directly on the array devices.