- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- adding newly acquired disk drives to PVG's in /etc...
Operating System - HP-UX
1823255
Members
3015
Online
109648
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО03-27-2001 01:11 PM
тАО03-27-2001 01:11 PM
adding newly acquired disk drives to PVG's in /etc/lvmpvg and max size of file system
I've just purchased an additional disk enclosure and 4 disk drives for an N class server. I would like to extend both the LV and one of existing files systems to these newly acquired drives. The LV that I wish to extend to these drives was created using the Distributed Allocation Policy with extent based mirrored stripes. Do I simply add the new drive addresses to the PVG's in the /etc/lvmpvg and then perform the necessary commands? And if that is the case what would be the necessary commands?
Secondly, what is the max size of a file system these days? The current file system that I wish to extend is 41GB, I would like to increase the size to nearly 78GB. Is that possible? Any help would be greatly appreciated.
Secondly, what is the max size of a file system these days? The current file system that I wish to extend is 41GB, I would like to increase the size to nearly 78GB. Is that possible? Any help would be greatly appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 02:00 PM
тАО03-27-2001 02:00 PM
Re: adding newly acquired disk drives to PVG's in /etc/lvmpvg and max size of file system
Hi Chris:
First, filesystems under 11.x JFS can be as large as 1TB.
As far as extending your stripping to your new volumes, you can't do this. You will need to offload the data, create the volume group from scratch, and reload the data. See this thread for some comments.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x656e37f45ef7d4118fef0090279cd0f9,00.html
...JRF...
First, filesystems under 11.x JFS can be as large as 1TB.
As far as extending your stripping to your new volumes, you can't do this. You will need to offload the data, create the volume group from scratch, and reload the data. See this thread for some comments.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x656e37f45ef7d4118fef0090279cd0f9,00.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 12:11 PM
тАО03-28-2001 12:11 PM
Re: adding newly acquired disk drives to PVG's in /etc/lvmpvg and max size of file system
I tend to disagree with James on 2 points:
1. Need to create "volume group" from scratch.
If something has to be recreated from scratch it would be the logical volume after updating the physical volume
groups.
2. Extending your stripping to your new disks cannot be done.
Extent based stripping (lvcreate -D y) is different from what I would call standard stripping (lvcreate -i nb_disks). I know you cannot extend an LV from new disks if this LV is using standard stripping.
Here is what I would try to extend your existing volume without destroying it first (I don't have a machine available with both free disks and LVM mirroring in order to test what I suggest):
- I assume you already have 2 PVGs, let's call them pvg1 and pvg2, and that your LV has the allocation
policy set to "PVG-strict/distributed" (lvcreate -s g -D y).
- Create 2 new PVGs, pvg3 and pvg4, each containing 2 new disks.
- Extend your LV from these new PVGs:
lvextend -L new_size lv_path pvg3 pvg4
I would not recommend adding the new disks to pvg1 and pvg2, because lvextend will try to distribute the
new required size from all the PVs in a PVG no matter how much space is currently allocated from them. If
you don't have space left on the existing disks you will not be able to extend your LV. If you have space left
on your existing disks you could extend the LV by the size equal to ( N * smallest free size on a disk in the
PVGs) where N is the new number of drives in one PVGs.
What do you think James?
Daniel.
1. Need to create "volume group" from scratch.
If something has to be recreated from scratch it would be the logical volume after updating the physical volume
groups.
2. Extending your stripping to your new disks cannot be done.
Extent based stripping (lvcreate -D y) is different from what I would call standard stripping (lvcreate -i nb_disks). I know you cannot extend an LV from new disks if this LV is using standard stripping.
Here is what I would try to extend your existing volume without destroying it first (I don't have a machine available with both free disks and LVM mirroring in order to test what I suggest):
- I assume you already have 2 PVGs, let's call them pvg1 and pvg2, and that your LV has the allocation
policy set to "PVG-strict/distributed" (lvcreate -s g -D y).
- Create 2 new PVGs, pvg3 and pvg4, each containing 2 new disks.
- Extend your LV from these new PVGs:
lvextend -L new_size lv_path pvg3 pvg4
I would not recommend adding the new disks to pvg1 and pvg2, because lvextend will try to distribute the
new required size from all the PVs in a PVG no matter how much space is currently allocated from them. If
you don't have space left on the existing disks you will not be able to extend your LV. If you have space left
on your existing disks you could extend the LV by the size equal to ( N * smallest free size on a disk in the
PVGs) where N is the new number of drives in one PVGs.
What do you think James?
Daniel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 01:35 PM
тАО03-28-2001 01:35 PM
Re: adding newly acquired disk drives to PVG's in /etc/lvmpvg and max size of file system
Hi Daniel (and Chris):
Daniel, I believe you see what I didn't.
1: You're correct that I said "volume group" when I should have said "logical volume". I was thinking simplisticly of one LV on one VG.
2. I hadn't thought about defining a second physcial volume group (PVG); rather I had imagined adding the new disks to the existing ones. In that case, my thinking was that the lvextend would fail for the very reason you cited.
I don't have a system on which to try this either.
Thanks for offering your thoughts! I think, in retrospect, that you are correct.
Regards!
...JRF...
Daniel, I believe you see what I didn't.
1: You're correct that I said "volume group" when I should have said "logical volume". I was thinking simplisticly of one LV on one VG.
2. I hadn't thought about defining a second physcial volume group (PVG); rather I had imagined adding the new disks to the existing ones. In that case, my thinking was that the lvextend would fail for the very reason you cited.
I don't have a system on which to try this either.
Thanks for offering your thoughts! I think, in retrospect, that you are correct.
Regards!
...JRF...
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP