- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Single LUN mirroring within a VG
Operating System - Linux
1753629
Members
5757
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО02-04-2008 02:04 PM
тАО02-04-2008 02:04 PM
I have a VG which consists of 5 x 1.35TB Clariion LUNS. I was informed by the Storage team that one of these luns was experiencing parity errors for a while and the only way to correct is to relocate data elsewhere(maybe tape) and recreate the VG. This is not practicle due to the size invovled and the criticality of data.
Is it possible,that if they were to provide me with another 1.35 TB LUN, that i could mirror the problematic LUN on this and detach the bad lun?
The current probematic lun looks like this:
pvdisplay --- Physical volume ---
pvdisplay PV Name /dev/sdd1
pvdisplay VG Name vg1
pvdisplay PV Size 1.35 TB / not usable 0
pvdisplay Allocatable yes (but full)
pvdisplay PE Size (KByte) 4096
pvdisplay Total PE 354814
pvdisplay Free PE 0
pvdisplay Allocated PE 354814
pvdisplay PV UUID PvrSu9-NTgI-iZnZ-Xwi1-a6y1-12It-6wwKpT
Is it possible,that if they were to provide me with another 1.35 TB LUN, that i could mirror the problematic LUN on this and detach the bad lun?
The current probematic lun looks like this:
pvdisplay --- Physical volume ---
pvdisplay PV Name /dev/sdd1
pvdisplay VG Name vg1
pvdisplay PV Size 1.35 TB / not usable 0
pvdisplay Allocatable yes (but full)
pvdisplay PE Size (KByte) 4096
pvdisplay Total PE 354814
pvdisplay Free PE 0
pvdisplay Allocated PE 354814
pvdisplay PV UUID PvrSu9-NTgI-iZnZ-Xwi1-a6y1-12It-6wwKpT
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2008 02:52 PM
тАО02-04-2008 02:52 PM
Solution
Mirror? Well, not really; but you can migrate the data off the LUN onto the newly added space.
'pvmove' is your friend. 'vgextend' your volume group to include the new LUn, then 'pvmove' the data, followed by 'vgreduce' to remove the old LUN.
See http://tldp.org/HOWTO/LVM-HOWTO/removeadisk.html for exact details, in particular 13.5.2.
'pvmove' is your friend. 'vgextend' your volume group to include the new LUn, then 'pvmove' the data, followed by 'vgreduce' to remove the old LUN.
See http://tldp.org/HOWTO/LVM-HOWTO/removeadisk.html for exact details, in particular 13.5.2.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2008 03:44 PM
тАО02-04-2008 03:44 PM
Re: Single LUN mirroring within a VG
We do vgextend & lvextend(-m 1) and once the mirror synced do the lvreduce (-m 0) and do vgreduce.. similar procedure works well with HP-UX.. Not really done on Linux.
lvextend/lvreduce are aplicable to all the lvol where the defective device is in use.
lvextend/lvreduce are aplicable to all the lvol where the defective device is in use.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP