- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to do LVM cross site mirroring.
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
03-01-2007 12:49 AM
03-01-2007 12:49 AM
How to do LVM cross site mirroring.
I have to increase a mirrored FS which has got SAN disks allocated
/dev/vgsan02/lvol1 28745728 17561076 10485958 63% /oracle/archivelog_EUP02FMS
Disk Allocated::
/dev/dsk/c30t8d0 ( 20GB)
/dev/dsk/c28t8d0 ( 20GB)
Objective::
Increase the FS by 20GB and ensure that mirroring happens across these 2 disks.Volume group already has other disks with some free PE's in each but I dont want to use them.Only these two new disks.
I have attached the lvdisplay output for info
Pls let know how to ??
Many Thanks for your advices
Rgds
Marvik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 01:28 AM
03-01-2007 01:28 AM
Re: How to do LVM cross site mirroring.
(Extend to 48 GB)
# lvextend -L 49152 /dev/vgsan02/lvol1 /dev/dsk/c28t8d0 /dev/dsk/c30t8d0
Now do an fsadm (assuming you have online JFS)
# fsadm -b 49152m /oracle/archivelog_EUP02FMS
You can then do an lvdisplay on the LV to make sure everything is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 01:28 AM
03-01-2007 01:28 AM
Re: How to do LVM cross site mirroring.
Mirror a logical volume onto a particular physical volume.
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0
- and -
Mirror a logical volume onto a particular physical volume.
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t3d0
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 01:30 AM
03-01-2007 01:30 AM
Re: How to do LVM cross site mirroring.
Mavik
you tell the lvextend command to place the lvol extension on specific disk(s) by using the disk addresses /dev/dsk/c30t8d0 and /dev/dsk/c28t8d0 as the last parameters of the lvextend command
man lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 02:02 AM
03-01-2007 02:02 AM
Re: How to do LVM cross site mirroring.
But How can i extend it to 48GB.I can get max 20GB(in mirrorred) hence I asked for 40GB from SAN team.But if I do lvextend -L that will only add space for mirroring I have to do lvextend -m 1
# lvextend -L 49152 /dev/vgsan02/lvol1 /dev/dsk/c28t8d0 /dev/dsk/c30t8d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 06:20 AM
03-01-2007 06:20 AM
Re: How to do LVM cross site mirroring.
You have only 20 GB. How are you expecting to mirror a 48 GB LV ?
The LV is currently mirrored to which PV?
Can you post the lvdisplay -v /dev/vgsan02/lvol1 output ? (ofcourse, you dont need to post the complete output, just the top 50 lines will do :-)
Sundar.