- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending mirrored LV onto second set of drive...
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
Discussions
Discussions
Forums
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
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
тАО06-23-2008 07:02 AM
тАО06-23-2008 07:02 AM
Extending mirrored LV onto second set of drives
The VG consists of two physical volumes (100GB each), from separate storage arrays, and the data is mirrored with LVM, so that loss of an array will not cause any data loss.
All is well.
Now, I need to add an additional pair of physical volumes (80GB each), and grow my LV.
Do I need to use PVG to make this happen, or can I simply extend my LV onto one of the new 80GB drives, and (since I have already configured for a mirror copy) have it continue to mirror extents to the second 80GB volume?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 07:45 AM
тАО06-23-2008 07:45 AM
Re: Extending mirrored LV onto second set of drives
you need to pvcreate first.
after an ioscan and insf -e, you should vgextend.
and finally use lvextend.
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 10:16 AM
тАО06-23-2008 10:16 AM
Re: Extending mirrored LV onto second set of drives
pvcreate /dev/dsk/disk1(new disk)
vgextend /dev/vg01 /dev/dsk/disk1
then lvextend -L size(new size) -n logical volume name /dev/vg01
first create physical volume then volume group exnted then logical volume extend
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 10:17 AM
тАО06-23-2008 10:17 AM
Re: Extending mirrored LV onto second set of drives
pvcreate /dev/dsk/disk1(new disk)
vgextend /dev/vg01 /dev/dsk/disk1
then lvextend -L size(new size) -n logical volume name /dev/vg01
if u want to mirror copy u have to use -m option
for example lvextend -m 1 -L new size of the logical volume -n logical volume name volume group name
first create physical volume then volume group exnted then logical volume extend
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 10:21 AM
тАО06-23-2008 10:21 AM
Re: Extending mirrored LV onto second set of drives
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2008 10:24 AM
тАО06-23-2008 10:24 AM
Re: Extending mirrored LV onto second set of drives
If you have 100GB in one PVG mirrored (using 200GB from 2 LUN's) just create additional PVG group with 2 new disks.
After extending logical volume +80GB LVM automaticaly will use both disks. Mirror is automatically.
regards,
ivan