- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PVG then mirroring
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
07-02-2010 07:57 AM
07-02-2010 07:57 AM
PVG then mirroring
Here is an example of what I have
vg01
/dev/dsk/c13t1d0
/dev/dsk/c13t1d1
I tried vgcreate -g emc /dev/dsk/c15t1d0 /dev/dsk/c15t1d1
then vgextend -g emc /dev/vg01 /dev/dsk/c15t1d2
then I tried lvextend -m 1 -s /dev/vg01/lvol1 emc
I get errors. I have removed the group emc with the hopes of finding out what I have done wrong to set this up correctly. Thank you for any information you can provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2010 11:35 AM
07-02-2010 11:35 AM
Re: PVG then mirroring
lvchange -s g /dev/vg01/lvol1
then
lvextend -m 1 /dev/vg01/lvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2010 11:54 AM
07-02-2010 11:54 AM
Re: PVG then mirroring
$> vgextend /dev/vg01 /dev/dsk/c15t1d1 /dev/dsk/c15t1d2
Now you'll just need to create your mirrors.
$> lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c15t1d1 /dev/dsk/c15t1d2
When it's done, you should be working.
To see where you are while the above is running, from another shell prompt:
$> lvdisplay -v /dev/vg01/lvol1 | grep -i "Stale"
That will show you the next PE that's going to be mirrored in the lvol, and if you repeat running it, you'll see it progress along until complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2010 04:34 AM
07-06-2010 04:34 AM
Re: PVG then mirroring
1) You need to add new disk (15GB) to VG01
#vgextednd /dev/vg01 /dev/dsk/c15t1d0 /dev/dsk/c15t1d1
After this there are 2 ways to do the mirroring Create PVG or mirror as we do with normal disk.
PVG :
2)Create /etc/lvmpvg file. For you it will look something like
VG /dev/vg01
PVG PVG0
/dev/dsk/c13t1d0
/dev/dsk/c13t1d1
Third_DISK
PVG PVG1
/dev/dsk/c15t1d0
/dev/dsk/c15t1d1
Save the file.
3) Now you need to just run lvextend cmd without specifying disk path. /etc/lvmpvg will take care of the disk.
# lvextend -m 1 /dev/vg01/lv_name
NORMAL Method;
4) Mirroe each LV by specifying pv_path.
# lvextend -m 1 /dev/vg01/lv_name pv_path
Sujit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 06:04 AM
07-14-2010 06:04 AM
Re: PVG then mirroring
I need to force the mirror copy to go onto the disk that is in the pvgroup. Does anyone know the syntax? I do not want to mirror from 1 disk to another, but instead from 1 lvol to available space that is is the new pv group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 06:43 AM
07-14-2010 06:43 AM