- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Boot mirror
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
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
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
тАО09-08-2004 07:17 AM
тАО09-08-2004 07:17 AM
Boot mirror
I am planning to split root mirror. Remove all lvolxb and recreate mirror.
In this i doubt what shall do about /stand as it is a HFS FS. And what else is recommended when I do so.
Thanks and regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:22 AM
тАО09-08-2004 07:22 AM
Re: Boot mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:23 AM
тАО09-08-2004 07:23 AM
Re: Boot mirror
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:35 AM
тАО09-08-2004 07:35 AM
Re: Boot mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 07:58 AM
тАО09-08-2004 07:58 AM
Re: Boot mirror
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:00 AM
тАО09-08-2004 08:00 AM
Re: Boot mirror
As noted above, MirrorDx/UX deals with Lvols and not with filesystem. So it should not make any difference.
You dont have to remove any lvols, just lvreduce them and lvextend.
If you need to change the allocation policy on the LV change it to strict or PVG-strict using lvchange command before doing so.
If PVG-Strict, you need to create /etc/lvmpvg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:24 AM
тАО09-08-2004 08:24 AM
Re: Boot mirror
I have set it PVG-strict. And also I am able to mirror all across. I want to know what makes it possible to mirror across same physical extent of the other disk. Isn't the strict policy sufficient as I am seeing it is mirrored across different physical mapping of the LV. Please reply
Thanks anf rgdz
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:34 AM
тАО09-08-2004 08:34 AM
Re: Boot mirror
In PVG-strict, you inturn need to create PVG groups, ideally each PVG listing the disks connected to a different controller.
When a LV with PVG-strict allocation policy is mirroed, it will be mirrored to one of the disks in a PVG other than the one the disk that holds the LV is currently member of.
PVG-strict allows you to elimiate the controller as a single point of failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:41 AM
тАО09-08-2004 08:41 AM
Re: Boot mirror
Thanks I really appreciate all replies.
Rgdz
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:47 AM
тАО09-08-2004 08:47 AM
Re: Boot mirror
Do you mean the PE1 and PE2 number do not match for a LV ? which LV is that ?
If you have mirrored them in order then there is no way this could happen
# for LV in 1 2 3 4 5 6 7 8
do
lvreduce -m 0 /dev/vg00/lvol${LV}
lvchange -s g /dev/vg00/lvol${LV}
lvextend -m 1 /dev/vg00/lvol${LV}
done
-- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 08:52 AM
тАО09-08-2004 08:52 AM
Re: Boot mirror
Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c3t6d0 is the disk you want to make a mirror of.
1. Create a bootable LVM disk to be used for the mirror.
pvcreate -B /dev/rdsk/c3t6d0
2. Add this disk to the current root volume group.
vgextend /dev/vg00 /dev/dsk/c3t6d0
3. Make the new disk a boot disk.
mkboot -l /dev/rdsk/c3t6d0
4. Copy the correct AUTO file into the new LIF area.
mkboot -a "hpux -lq (;0)/vmunix" /dev/rdsk/c3t6d0
5. Mirror the boot, root and primary swap logical volumes to the new
bootable disk. Ensure that all devices in vg00, such as /usr, /swap,
etc., are mirrored.
The following is an example of mirroring the boot logical volume:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0
The following is an example of mirroring the primary swap logical
volume:
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0
The following is an example of mirroring the root logical volume:
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0
6. Update the boot information contained in the BDRA for the mirror
copies of boot, primary swap and root.
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
7. Check if the BDRA is correct.
/usr/sbin/lvlnboot -R /dev/vg00
8. Verify that the mirrors were properly created.
lvlnboot -v /dev/vg00
The output of this command is shown in a display like the following:
Boot Definitions for Volume Group /dev/vg00:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
vgdisplay -v vg00
Then lvextend for all other lvols:
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0
lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c3t6d0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 09:19 AM
тАО09-08-2004 09:19 AM
Re: Boot mirror
I did as recommended like
for lv in lvol1 lvol2 lvol3 ...
do
lvreduce -m 0 $LV
lvchange -s g $LV
lvextend -m 1 $LV
done
Still it is showing PV1 PV2 different starting from lvol2 and thus ahead.
Is it a serious problem. Can I overcome it?
Thanks
best regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 09:25 AM
тАО09-08-2004 09:25 AM
Re: Boot mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 09:54 AM
тАО09-08-2004 09:54 AM
Re: Boot mirror
Thanks and rgdz
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 10:26 AM
тАО09-08-2004 10:26 AM
Re: Boot mirror
Thanks a lot for all responses. It's just great help from all of you. I appreciate it very much.
Cheers
Thanks with best rgdz
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2004 10:32 AM
тАО09-08-2004 10:32 AM
Re: Boot mirror
There is something you are missing here :-).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 10:11 AM
тАО09-13-2004 10:11 AM
Re: Boot mirror
Thanks for all help. Do I still need to be concerned for this. As it is differing in PE allocation of PV's of 1-1 policy.
Thanks and rgdz
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 10:37 AM
тАО09-13-2004 10:37 AM
Re: Boot mirror
vgdisplay -v /dev/vg00 | grep "LV Name" | awk '{print $3}' | xargs -n1 | while read LV
do
lvdisplay -v $LV
done >>/tmp/lvout 2>&1
ftp /tmp/lvout and attach it here. I am unable to view your attachment.
-- Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2004 01:27 PM
тАО09-13-2004 01:27 PM
Re: Boot mirror
It very well opens in wordpad. Please try it.
Thanks and regards
Prashant