GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Online disk remove.
Operating System - HP-UX
1846870
Members
3187
Online
110256
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
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
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
09-15-2004 12:20 PM
09-15-2004 12:20 PM
I have a vg with 2 device. I wish to remove one device and add one new device on line. Can I use pvmove option to do it? If yes can a pvmove command runs on MCSG VG?
Tanmay
Tanmay
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 12:31 PM
09-15-2004 12:31 PM
Solution
Hi Tanmay,
Yes. But there is a little risk associated with pvmove. So I would try for mirror extend/reduce method than pvmove if possible. What you have to do is
1. add the new disk to the VG.
pvcreate /dev/rdsk/cxtydz
vgextend vgxx /dev/dsk/cxtydz
2. Extend the mirrors and break the mirrors
lvextend -m 1 /dev/vgxx/lvol1 /dev/dsk/cxtydz
lvreduce -m 0 /dev/vgxx/lvol1 /dev/dsk/cutvdw
If the logical volumes are spread across multiple disks of which you are only going to replace one, then you can't use mirror process. Use 'pvmove' but make sure you don't break it in between.
pvmove /dev/dsk/cutvdw /dev/dsk/cxtydz
will move all the physical extents from cutvdw to cxtydz
This can be done online when the cluster is running. However, you will have to export/import the VG on on the other node using the latest map files on the node where you did the maintenance.
-Sri
Yes. But there is a little risk associated with pvmove. So I would try for mirror extend/reduce method than pvmove if possible. What you have to do is
1. add the new disk to the VG.
pvcreate /dev/rdsk/cxtydz
vgextend vgxx /dev/dsk/cxtydz
2. Extend the mirrors and break the mirrors
lvextend -m 1 /dev/vgxx/lvol1 /dev/dsk/cxtydz
lvreduce -m 0 /dev/vgxx/lvol1 /dev/dsk/cutvdw
If the logical volumes are spread across multiple disks of which you are only going to replace one, then you can't use mirror process. Use 'pvmove' but make sure you don't break it in between.
pvmove /dev/dsk/cutvdw /dev/dsk/cxtydz
will move all the physical extents from cutvdw to cxtydz
This can be done online when the cluster is running. However, you will have to export/import the VG on on the other node using the latest map files on the node where you did the maintenance.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
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
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP