- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror help needed (testing mirrored 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
09-24-2007 06:21 AM
09-24-2007 06:21 AM
Mirror help needed (testing mirrored disk)
Boot
: disk(0/1/1/1.2.0.0.0.0.0;0)/stand/vmunix
disk(0/1/1/1.2.0.0.0.0.0;0)/stand/vmunix: cannot open, or not executable
Exec failed: No such file or directory
Here's the outputs that we looked at -
# ./lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c3t2d0 (0/1/1/1.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0
/dev/dsk/c3t2d0
Root: lvol3 on: /dev/dsk/c2t0d0
/dev/dsk/c3t2d0
Swap: lvol2 on: /dev/dsk/c2t0d0
/dev/dsk/c3t2d0
Dump: lvol2 on: /dev/dsk/c2t0d0, 0
# lifls -l /dev/dsk/c2t0d0
volume ISL10 data size 7984 directory size 8 06/04/19 14:02:34
filename type start size implement created
===============================================================
HPUX -12928 584 1024 0 06/04/19 14:02:34
ISL -12800 1608 242 0 03/08/29 23:48:24
AUTO -12289 1856 1 0 03/08/29 23:48:24
PAD -12290 1864 1644 0 03/08/29 23:48:24
LABEL BIN 3512 8 0 06/11/14 17:53:50
# lifls -l /dev/dsk/c3t2d0
volume ISL10 data size 7984 directory size 8 06/04/19 14:02:34
filename type start size implement created
===============================================================
ISL -12800 584 242 0 06/04/19 14:02:34
AUTO -12289 832 1 0 06/04/19 14:02:34
HPUX -12928 840 1024 0 06/04/19 14:02:34
PAD -12290 1864 1468 0 06/04/19 14:02:34
LABEL BIN 3336 8 0 07/01/18 11:18:16
# ./setboot
Primary bootpath : 0/1/1/0.0.0
Alternate bootpath : 0/1/1/1.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
Can you tell us what we missed, do we have to start over again on the mirrors. Thanks in advanced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 06:25 AM
09-24-2007 06:25 AM
Re: Mirror help needed (testing mirrored disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 06:49 AM
09-24-2007 06:49 AM
Re: Mirror help needed (testing mirrored disk)
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=514590
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 07:22 AM
09-24-2007 07:22 AM
Re: Mirror help needed (testing mirrored disk)
# ./vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 32
Total PE 8748
Alloc PE 8748
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 320
Current LE 10
Allocated PE 20
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 110432
Current LE 3451
Allocated PE 6902
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 5024
Current LE 157
Allocated PE 314
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 5024
Current LE 157
Allocated PE 314
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 5024
Current LE 157
Allocated PE 314
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 5024
Current LE 157
Allocated PE 314
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 5024
Current LE 157
Allocated PE 314
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4374
Free PE 0
Autoswitch On
PV Name /dev/dsk/c3t2d0
PV Status available
Total PE 4374
Free PE 0
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 07:27 AM
09-24-2007 07:27 AM
Re: Mirror help needed (testing mirrored disk)
If you didn't mirror your first three logical voulmes (lvol1, lvol2 and lvol3) in that order, this may be the problem. Reduce ('lvreduce') and re-mirror in order.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 07:39 AM
09-24-2007 07:39 AM
Re: Mirror help needed (testing mirrored disk)
I.e. lvol1, then lvol2, lvol3 etc ??
how about a pvdisplay -v /dev/dsk/c3t2d0
Can you boot from c3t2d0 and interact with ISL ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 07:55 AM
09-24-2007 07:55 AM
Re: Mirror help needed (testing mirrored disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 08:04 AM
09-24-2007 08:04 AM
Re: Mirror help needed (testing mirrored disk)
# ./pvdisplay -v /dev/dsk/c3t2d0 | more
--- Physical volumes ---
PV Name /dev/dsk/c3t2d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 32
Total PE 4374
Free PE 0
Allocated PE 4374
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 10 10
/dev/vg00/lvol2 128 128
/dev/vg00/lvol3 3451 3451
/dev/vg00/lvol4 157 157
/dev/vg00/lvol5 157 157
/dev/vg00/lvol6 157 157
/dev/vg00/lvol7 157 157
/dev/vg00/lvol8 157 157
--- Physical extents ---
PE Status LV LE
00000 current /dev/vg00/lvol1 00000
00001 current /dev/vg00/lvol1 00001
00002 current /dev/vg00/lvol1 00002
00003 current /dev/vg00/lvol1 00003
00004 current /dev/vg00/lvol1 00004
00005 current /dev/vg00/lvol1 00005
00006 current /dev/vg00/lvol1 00006
00007 current /dev/vg00/lvol1 00007
00008 current /dev/vg00/lvol1 00008
Standard input
04154 current /dev/vg00/lvol7 00094
04155 current /dev/vg00/lvol7 00095
04156 current /dev/vg00/lvol7 00096
04157 current /dev/vg00/lvol7 00097
04158 current /dev/vg00/lvol7 00098
04159 current /dev/vg00/lvol7 00099
04160 current /dev/vg00/lvol7 00100
04161 current /dev/vg00/lvol7 00101
04162 current /dev/vg00/lvol7 00102
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 08:12 AM
09-24-2007 08:12 AM
Re: Mirror help needed (testing mirrored disk)
No, that's the mirrored disk we wanted to test. What's the syntax for lvreduce in case we need to undo the mirror, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 08:54 AM
09-24-2007 08:54 AM
Re: Mirror help needed (testing mirrored disk)
> What's the syntax for lvreduce in case we need to undo the mirror
Why not consult the manpages?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 08:56 AM
09-24-2007 08:56 AM
Re: Mirror help needed (testing mirrored disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 09:01 AM
09-24-2007 09:01 AM
Re: Mirror help needed (testing mirrored disk)
> it safe to lvreduce while the server's online with users logged in running jobs.
Yes.
You can also safely mirror while your users are operating normally.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2007 04:09 AM
09-25-2007 04:09 AM
Re: Mirror help needed (testing mirrored disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2007 04:51 AM
09-25-2007 04:51 AM
Re: Mirror help needed (testing mirrored disk)
More then likely, he missed step 6:
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-27-2007 05:41 AM
09-27-2007 05:41 AM
Re: Mirror help needed (testing mirrored disk)
# mkboot -a "hpux -lq" /dev/rdsk/c0t5d0
can I still run that command even though I'm done going through the guide. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2007 05:51 AM
09-27-2007 05:51 AM
Re: Mirror help needed (testing mirrored disk)
Yes, you can run 'mkboot' to set the low quorum.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 11:15 PM
10-11-2007 11:15 PM
Re: Mirror help needed (testing mirrored disk)
you want to use -B option with pvcreate command
then vgextend to the root vg
then lvextend one by one lvs with -m 1 option
Pls cross check u did all these steps properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2007 05:39 AM
10-13-2007 05:39 AM
Re: Mirror help needed (testing mirrored disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2007 05:34 AM
10-17-2007 05:34 AM