- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- migrating data using lvmirror
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
Forums
Discussions
Discussions
Discussions
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
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
02-06-2004 07:50 AM
02-06-2004 07:50 AM
Here are the steps that I would like to go over it with you
insf -e - to bring in the new disk
pvcreate -f /dev/rdsk/newdisk
vgextend /dev/vgx /dev/dsk/newdisk
lvextend -m 1 /dev/vgx/lvol1 /dev/dsk/newdisk
lvreduce -m 0 /dev/vgx/lvol1 /dev/dsk/olddisk
my question: when i do lvreduce to reduce the mirror on the old disk, this doesn't automatically remove the /dev/dsk/olddisk from the vgx... am I correct on this... ? thanks so much your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:52 AM
02-06-2004 07:52 AM
Re: migrating data using lvmirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:54 AM
02-06-2004 07:54 AM
Re: migrating data using lvmirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:55 AM
02-06-2004 07:55 AM
Re: migrating data using lvmirror
Yes. You will need to do a 'vgreduce' on it.
vgreduce vgxx /dev/dsk/cxtyd0
Before that make sure you don't have any logical volumes on it by
pvdisplay -v /dev/dsk/cxtyd0
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 07:57 AM
02-06-2004 07:57 AM
SolutionIf you do an lvreduce -m 0, you don't have to worry about the physical volume being reduced out of the VG. Only the logical volume will be reduced.
-Sri