- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending a distributed LV
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
тАО10-28-2003 05:25 AM
тАО10-28-2003 05:25 AM
Extending a distributed LV
I have a Volume group with two PVS. The VG has only one LV. The LV is distributed across the two PVS. Note the LVs are not mirrored.
LE PV1 PE1
00000 /dev/dsk/c14t5d4 00000
00001 /dev/dsk/c17t5d5 00000
00002 /dev/dsk/c14t5d4 00001
00003 /dev/dsk/c17t5d5 00001
00004 /dev/dsk/c14t5d4 00002
00005 /dev/dsk/c17t5d5 00002
00006 /dev/dsk/c14t5d4 00003
....................
I have a requirement to add 4 PVS to the VG. The PVs are going to be the same size as the current one in the VG.
Now the question is if I use lvextend command, will the new extends will be distributed across the new PVS or how the structure will be.
Appreciate any inputs.
Thanks,
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 05:27 AM
тАО10-28-2003 05:27 AM
Re: Extending a distributed LV
I think this quote from the man page of lvextend answers your question:
"LVM always ensures that physical extent allocation
can satisfy the current allocation policy or policies."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 05:37 AM
тАО10-28-2003 05:37 AM
Re: Extending a distributed LV
I agree with Pete.
But it might ease your worries if you run lvdisplay against that LV & examine the output for Allocation to determine it is indeed distributed.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 05:53 AM
тАО10-28-2003 05:53 AM
Re: Extending a distributed LV
I re-read your post & believe you may also be asking what will happen to:
A) Existing extents - Nothing. They will not be redistibuted across all six PV. They will remain ditributed across the original two. You could backup the LV & recreate again using all six & then ALL PVs would be used to distibute from the get-go.
B) Newly created extents - They will be ditributed across all six extents in round-robin fashion UNTIL the original two PVs have exhausted their free extents. Then they will be ditributed evenly across the remaining four until they are exhausted.
I trust this helps.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 07:12 AM
тАО10-28-2003 07:12 AM
Re: Extending a distributed LV
Exactly that is what I am looking for - what will happen to the existing and the new extends.
Do u folks see any potential bottlenecks in leaving the 2 disks as is, add the 4 new PVS and extend the LV rather than recreating it ?
I would guess this should not impact the performance... ??
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 11:16 AM
тАО10-28-2003 11:16 AM
Re: Extending a distributed LV
Your 4 new disks will simply be added to the LVol. They will be available but unallocated.. You will have to move data over to them if you so choose.
My guess is that you will have to backup your data to another fielsystem and then reassign the data to the Lvol after you add the 4 disks for a total of 6.
Then you can reallocate across all 6 disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 11:17 AM
тАО10-28-2003 11:17 AM
Re: Extending a distributed LV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 12:14 PM
тАО10-28-2003 12:14 PM
Re: Extending a distributed LV
As far as bottlenecks go, that depends entirely on your data. If you leave the data on the current 2 PVs, then whenever that data is requested it will only be read from those 2 disks, while all newer data that is written will be spread across 6 disks. The bottleneck issue will depend on how often your current data is accessed.
If I had the time to do it, I would seriously consider backing up your current data, blowing away the current LV, extending the VG with the new disks, create a new distributed LV with all of your disks, and then restore your data.
Why would I blow away the LV and re-create? Probably because I'm a glutten for punishment. ;) I just want to make sure that the LV will span all 6 disks when I restore the data. I doubt that there would be any problems just extending the LV, but since it was created originally with just 2 disks, you never know.