- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Warning mirroring disks
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
06-22-2006 07:57 PM
06-22-2006 07:57 PM
I've just mirrored two disk in a brand new server. The mirroring has finished successfully, even I've tried to shutdown the server, keep out the primary disk and its has booted with the alternate mirrored disk without problems. However, during the mirroring process, after the lvextend command, it has started to appear a message that says
"lvlnboot: Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes."
It is just a Warning, but I'm wondering what is going wrong. I've tried to recreate lvmtab, it has been recreated correctly but the message persists doing a lvlnboot -v...
Diskinfo and pvdisplay works and all the HW checks works as well, so, what can be the problem?
If you need more information don't hesitate to ask me.
Thanks a lot
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:04 PM
06-22-2006 08:04 PM
Re: Warning mirroring disks
This indicates to me that the server has noticed that you have removed one of the mirrored discs. I would suggest putting the disc back and rebooting again. I expect the message will disappear.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:08 PM
06-22-2006 08:08 PM
Re: Warning mirroring disks
How did u recreate lvmtab. I would suggest you to move lvmtab and do vgscan -av so it will recreate the lvmtab..
There may be a possibility that LVM header got corrupted, in that case I would suggest you to boot into lvm maintenance mode by interrutping the auto boot process and give hpux -lm
then do vgcfgrestore on both the disk and reboot then check for errors....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 08:14 PM
06-22-2006 08:14 PM
Re: Warning mirroring disks
lvlnboot -v
strings /etc/lvmtab
ioscan -fnC disk
-AMit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 10:24 PM
06-22-2006 10:24 PM
Re: Warning mirroring disks
I am not sure if the error you are getting is when both the disks are online and are
accessible, i assume that they are accessible, else the error would have been different. If not correct me.
a) do you get any errors during the
# vgdisplay -v
# vgcfgbackup -f /tmp/vg00.conf /dev/vg00
# vgdisplay -v vg00 (do you find any difference b/w ACT PV and CUR PV)
b) Can you post the following
# vgcfgrestore -f /etc/lvmconf/vg00.conf -l
#vgcfgrestore -f /etc/lvmconf/vg00.conf.old -l
# strings /etc/lvmtab
# vgdisplay -v
regards
Albert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 01:11 AM
06-23-2006 01:11 AM
Re: Warning mirroring disks
Sorry for the delay.
I've rebooted the server, but the problem persists.
Here you've got more information:
# lvlnboot -v
lvlnboot: Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t6d0
/dev/dsk/c2t6d0
# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 1 1/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 0 1/0/0/2/1.2.0 sdisk CLAIMED DEVICE _NEC DVD+RW ND-2100AD
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
#
As the server is not yet in production, I can "play" with it.
I've remake the lvmtab by moving it to another folder and issuing vgscan -a.
Thanks a lot for all you ideas!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 01:18 AM
06-23-2006 01:18 AM
Re: Warning mirroring disks
I think its better to remove the mirror and redo it. It's better to have a good mirror.
See document, appendix A:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 01:46 AM
06-23-2006 01:46 AM
Re: Warning mirroring disks
Check if the following resolve the issue
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -v
You should see both the disks..
# lvlnboot -R /dev/vg00
Can you reply to my queries..regarding the issue..
regards
albert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 01:53 AM
06-23-2006 01:53 AM
SolutionI recommend starting over.
pvcreate -B /dev/rdsk/c1t0d0 #use real disk
mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
If you are running 64-bit OS:
# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
# real disk. repeat for other lvols
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 02:19 AM
06-23-2006 02:19 AM
Re: Warning mirroring disks
Albert, sorry I haven't see your questions. Answering them, I will tell you that I found no errors performing this operations:
# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 3478
Free PE 5270
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) 304
Current LE 19
Allocated PE 38
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 400
Current LE 25
Allocated PE 50
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 640
Allocated PE 1280
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 2
Allocated PE 4
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 4384
Current LE 274
Allocated PE 548
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 3248
Current LE 203
Allocated PE 406
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 288
Allocated PE 576
Used PV 2
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 64
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
PV Status available
Total PE 4374
Free PE 2610
Autoswitch On
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 4374
Free PE 2660
Autoswitch On
# vgcfgbackup -f /tmp/vg00.conf /dev/vg00
Volume Group configuration for /dev/vg00 has been saved in /tmp/vg00.conf
# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 3478
Free PE 5270
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) 304
Current LE 19
Allocated PE 38
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 400
Current LE 25
Allocated PE 50
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 640
Allocated PE 1280
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 2
Allocated PE 4
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 4384
Current LE 274
Allocated PE 548
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 3248
Current LE 203
Allocated PE 406
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4608
Current LE 288
Allocated PE 576
Used PV 2
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 64
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
PV Status available
Total PE 4374
Free PE 2610
Autoswitch On
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 4374
Free PE 2660
Autoswitch On
I'm going to follow now your last instructions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 02:21 AM
06-23-2006 02:21 AM
Re: Warning mirroring disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 02:31 AM
06-23-2006 02:31 AM
Re: Warning mirroring disks
Following Albert steps I've forced the lvols creation, but it didn't work :((
So, I'm going to undo the mirror and do it again, then I will come back to you to tell you the results.
Thanks a lot to all who has tried to help me and have a nice weekend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 11:00 PM
06-26-2006 11:00 PM
Re: Warning mirroring disks
Steven's solution has worked!!!!!
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (1/0/0/3/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
Before try it, I've changed the HD to avoid a HW failure, but redoing the mirror on my way failed again...
So I've tried Steven steps and it has worked.
Thanks for your help, Steven. And all the rest, of course.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 05:10 PM
06-27-2006 05:10 PM
Re: Warning mirroring disks
-Amit