HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding disk to a mirrored lvol
Operating System - HP-UX
1831356
Members
2928
Online
110024
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
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
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-18-2003 12:44 AM
09-18-2003 12:44 AM
Adding disk to a mirrored lvol
Hi,
I think my problem is similar to the one from Grace yesterday, but I need some more details to solve my problem.
I have a mirrored lvol (one mirror) and I have 2 disks I want to add, one for more dataspace and and one for mirror.
My allocation policy i strict.
Do I have to change the allocation policy before adding the disks?
Do I need to break the mirror before adding the disks?
Which commands do I have to run in which order to do it right?
Regards
Tina Stevnhoved
tiste@wmdata.com
I think my problem is similar to the one from Grace yesterday, but I need some more details to solve my problem.
I have a mirrored lvol (one mirror) and I have 2 disks I want to add, one for more dataspace and and one for mirror.
My allocation policy i strict.
Do I have to change the allocation policy before adding the disks?
Do I need to break the mirror before adding the disks?
Which commands do I have to run in which order to do it right?
Regards
Tina Stevnhoved
tiste@wmdata.com
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 12:53 AM
09-18-2003 12:53 AM
Re: Adding disk to a mirrored lvol
The strict allocation policy will ensure that the mirror is not on the same physical volume as the data so all you have to do is vgextend the volume group to get the disks in (after pvcreate of course) and then lvextend the logical volume to cover one of the new disks and the other disk will become the mirror of the new extents.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 01:27 AM
09-18-2003 01:27 AM
Re: Adding disk to a mirrored lvol
No problem.
1. add the 2 new disks to your VG.
2. when you lvextend your mirrored lvol specify the disk for data and the mirror on the lvextend command, and it will put the data on the first one and the mirror on the second, eg;
lvextend /dev/vg00/lvol5 /dev/dsk/c0t6d0 /dev/dsk/c0t8d0
and it will put the data on c0t6d0 and the mirror on c0t8d0
1. add the 2 new disks to your VG.
2. when you lvextend your mirrored lvol specify the disk for data and the mirror on the lvextend command, and it will put the data on the first one and the mirror on the second, eg;
lvextend /dev/vg00/lvol5 /dev/dsk/c0t6d0 /dev/dsk/c0t8d0
and it will put the data on c0t6d0 and the mirror on c0t8d0
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 03:40 AM
09-18-2003 03:40 AM
Re: Adding disk to a mirrored lvol
Hello,
I should switch from strict to group (-s g). Be sure you have defined the volume group into /etc/lvmpvg, something like :
VG /dev/vg01
PVG PVG0
/dev/dsk/c2t0d0
PVG PVG1
/dev/dsk/c3t0d0
Add the two disks with vgextend (see answer before) and add the two new disks into /etc/lvmpvg. As such, you are not only sure that the mirror is on an other disk, but also on an other disk-group.
Hope this helps,
Nico
I should switch from strict to group (-s g). Be sure you have defined the volume group into /etc/lvmpvg, something like :
VG /dev/vg01
PVG PVG0
/dev/dsk/c2t0d0
PVG PVG1
/dev/dsk/c3t0d0
Add the two disks with vgextend (see answer before) and add the two new disks into /etc/lvmpvg. As such, you are not only sure that the mirror is on an other disk, but also on an other disk-group.
Hope this helps,
Nico
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 2025 Hewlett Packard Enterprise Development LP