- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PVMOVE - replace 2 old disks with one new disk
Operating System - HP-UX
1753781
Members
7373
Online
108799
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
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
тАО10-17-2000 04:04 PM
тАО10-17-2000 04:04 PM
PVMOVE - replace 2 old disks with one new disk
Env: E55 running 10.20
I currently have 2 x 2GB disks (quite old)within vg01 for which I wish to replace with 1 x 4GB disk within an existing HASS.
This will then have all data disks (vg01 and vg02) on this server within the HASS. vg00 are the internal system disks.
Please comment on the abbreviated procedure I am looking to follow:
I will of course make a full backup before attemping this and have a current make_recovery tape.
1. Add new 4GB disk to vg01
2. Run pvdisplay on both old disks to display data.
3. pvmove
4. pvmove
5. Run pvdisplay again on old disks to very physical data move.
6. Run pvdisplay on new disk
7. Remove old disks from vg01
Any tips or comments most appreciated.
Leon.
I currently have 2 x 2GB disks (quite old)within vg01 for which I wish to replace with 1 x 4GB disk within an existing HASS.
This will then have all data disks (vg01 and vg02) on this server within the HASS. vg00 are the internal system disks.
Please comment on the abbreviated procedure I am looking to follow:
I will of course make a full backup before attemping this and have a current make_recovery tape.
1. Add new 4GB disk to vg01
2. Run pvdisplay on both old disks to display data.
3. pvmove
4. pvmove
5. Run pvdisplay again on old disks to very physical data move.
6. Run pvdisplay on new disk
7. Remove old disks from vg01
Any tips or comments most appreciated.
Leon.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2000 04:24 PM
тАО10-17-2000 04:24 PM
Re: PVMOVE - replace 2 old disks with one new disk
Leon:
Your plan looks fine. I think the use of pvdisplay to verify the outcome of each step is prudent. You could also do a 'vgdisplay -v vg01' before and after as well as a verbose (-v) 'lvdisplay' of each logical volume, makeing note that logical extents are allocated in the correct number and only on the "new" physical disk only when you are done.
...JRF...
...JRF...
Your plan looks fine. I think the use of pvdisplay to verify the outcome of each step is prudent. You could also do a 'vgdisplay -v vg01' before and after as well as a verbose (-v) 'lvdisplay' of each logical volume, makeing note that logical extents are allocated in the correct number and only on the "new" physical disk only when you are done.
...JRF...
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2000 10:55 PM
тАО10-17-2000 10:55 PM
Re: PVMOVE - replace 2 old disks with one new disk
Hi,
the only problem i see is the value of MAX PE at your vg01.
If it's not increased by option at vg creation time you will have not enough MAX PE for adding 4GB disk to the vg. Instead it will only take 2GB to the vg.
There is no way to modify the MAX PE on the fly. You have to recreate the vg.
Regards
the only problem i see is the value of MAX PE at your vg01.
If it's not increased by option at vg creation time you will have not enough MAX PE for adding 4GB disk to the vg. Instead it will only take 2GB to the vg.
There is no way to modify the MAX PE on the fly. You have to recreate the vg.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2000 11:51 PM
тАО10-17-2000 11:51 PM
Re: PVMOVE - replace 2 old disks with one new disk
Hi,
I suspect that you will get away with the MAX PE for the volume group as the default is 1016. However step 4 of your plan will fail because old disk 2 is not in vg01 - pvmove can only operate on volumes within the same volume group.
You'll have to create new volumes/filesystems to replace the current vg02 data and copy them over.
Another option is to create a new volume group on the 4Gb disk and copy both vg01 and vg02 to it - I use find/cpio. This is pretty much a no-risk strategy using temporary mount points. Having mounted the new volumes to replace the current ones and tested everything out, you can then trash the current vg01 and vg02. If there are any problems (unlikely) then you still have the original volumes to revert to.
Regards,
John
I suspect that you will get away with the MAX PE for the volume group as the default is 1016. However step 4 of your plan will fail because old disk 2 is not in vg01 - pvmove can only operate on volumes within the same volume group.
You'll have to create new volumes/filesystems to replace the current vg02 data and copy them over.
Another option is to create a new volume group on the 4Gb disk and copy both vg01 and vg02 to it - I use find/cpio. This is pretty much a no-risk strategy using temporary mount points. Having mounted the new volumes to replace the current ones and tested everything out, you can then trash the current vg01 and vg02. If there are any problems (unlikely) then you still have the original volumes to revert to.
Regards,
John
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