- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing volume group and mirroring disk
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
12-23-2003 07:32 AM
12-23-2003 07:32 AM
removing volume group and mirroring disk
I have to completely remove the whole volume group and mirror my 2nd disk instead.
i would like to know all the logical steps that I need to take.
I appreciate your help;
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 07:39 AM
12-23-2003 07:39 AM
Re: removing volume group and mirroring disk
By far the easist method for removing a VG, is the vgexport command.
e.g.
vgexport /dev/vg02
Now let's say that you are going to mirror lvol1 and lvol2 on vg01. Your new disk is /dev/dsk/c1t5d0.
1) pvcreate -f /dev/rdsk/c1t5d0.
2) vgextend /dev/vg01 /dev/dsk/c1t5d0
3) lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c1t5d0
lvextend -m 1 /dev/vg01/lvol2 /dev/dsk/c1t5d0
man vgexport,pvcreate,vgextend,lvextend for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 08:15 AM
12-23-2003 08:15 AM
Re: removing volume group and mirroring disk
Clay is quite correct, mirrors are done at the LV level.
# vgexport /dev/vg02
# pvcreate -Bf /dev/rdsk/xyz
# vgextend /dev/vg00 /dev/dsk/xyz
# mkboot /dev/rdsk/xyz
# mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/xyz
# lvextend -m 1 (with every lv on the vg )
# lvlnboot -R
# vgvcfgbackup /dev/vg00
or for an easy script method you can use this for the lvextend for LV's if they are all named lv....
# for i in /dev/vg00/lv*
> do
> echo $i
> lvextend -m 1 $i
> done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 08:36 AM
12-23-2003 08:36 AM
Re: removing volume group and mirroring disk
I will have unmount remove the entries from fstab before vgexport.
is there anything else I need to do before vgexport?
I understand all the steps were mentioned in mirroring process except mkboot -l and mkboot -a.
could you please explain?
I was implying to mirror all the logical volume of vg00 to my 2nd disk.sorry about the confusion.
so system can be booted from 2nd disk if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 08:13 PM
12-23-2003 08:13 PM
Re: removing volume group and mirroring disk
you use commands
mkboot /dev/dsk/cxtxdx
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/cxtxdx
to make bootable the disk you have to mirror
these comm make a cp of the LIF area, BDRA, VGRA
remember to use also at first
pvcreate -Bf /dev/dsk/cxtxdx
f=force
B=to be bootable
Hope this helps
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 09:29 PM
12-23-2003 09:29 PM
Re: removing volume group and mirroring disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 02:58 AM
12-24-2003 02:58 AM
Re: removing volume group and mirroring disk
I am having problem with ISL screen on console.
it is not very intuitive. how do i change the path for alternate disk.
PRI alt "whole path"