- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgextend error while attempting to mirror boot dis...
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
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
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
тАО01-30-2008 12:30 PM
тАО01-30-2008 12:30 PM
vgextend error while attempting to mirror boot disk
I get the following error when I run:
bash-3.2# vgextend vg00 /dev/disk/disk2_p2
Couldn't open physical volume "/dev/rdisk/disk5_p2":
Verification of unique LVM disk id on each disk in the volume group
vg00 failed.
Researching this error I have only found this reference:
vgimport(1M)
Message Text:
Verification of unique LVM disk id on each disk in the volume group /dev/vgname failed.
Cause:
There are two possible causes for this message:
1.The vgimport command used the тАУs option, and two or more disks on the system have the same LVM identifier; this can happen when disks are created with BC copy or cloned with dd.
2.LVM was unable to read the disk header; this can happen when you create new logical units on a SAN array.
Recommended Action:
1.Do not use the тАУs option to vgimport. Alternatively, use vgchgid to change the LVM identifiers on copied or cloned disks.
2.Retry the vgimport command.
--------------------------------------
I have never run the vgimport command on this box. It was simply built from the HP-UX DVD using one of 2 disks. I built the other blade identically, and it mirrored ok.
I think this is the source of the problem:
bash-3.2# vgscan -pv
Physical Volume "/dev/dsk/c0t0d0s2" is not part of a Volume Group
/dev/vg00
/dev/disk/disk5_p2
bash-3.2# strings /etc/lvmconf/vg00.conf
CONFIG01
/dev/vg00
/dev/rdisk/disk5_p2
LVMREC01",
HPLVMBDRG
VGDA0001
VGSA0001G
bash-3.2# diskinfo /dev/rdisk/disk5
io_search failed: I/O tree node does not exist.
bash-3.2# diskinfo /dev/rdisk/disk3
SCSI describe of /dev/rdisk/disk3:
vendor: COMPAQ
product id: BF0728A4BA
type: direct access
size: 71132000 Kbytes
bytes per sector: 512
bash-3.2# diskinfo /dev/rdisk/disk2
SCSI describe of /dev/rdisk/disk2:
vendor: COMPAQ
product id: BF0728A4BA
type: direct access
size: 71132000 Kbytes
bytes per sector: 512
It appears that vg00 thinks it's using disk5, but it is actually using disk3.
How can I fix this error so I can continue the mirroring process?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 12:51 PM
тАО01-30-2008 12:51 PM
Re: vgextend error while attempting to mirror boot disk
Regarding what caused this error, did you pvcreate -f -B this mirror before doing anything else? Note the -B option for boot disks is absolutely necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 12:57 PM
тАО01-30-2008 12:57 PM
Re: vgextend error while attempting to mirror boot disk
# cp /etc/lvmtab /etc/lvmtab.orig
# vgscan -a -v
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 01:09 PM
тАО01-30-2008 01:09 PM
Re: vgextend error while attempting to mirror boot disk
I just now tried vgreduce -f vg00, but it didn't help.
I had already tried to recreate lvmtab yesterday, but I followed Sandman's advice and tried his commands exactly as he specified:
bash-3.2# mv lvmtab lvmtab.1.30.08
bash-3.2# vgscan -a -v
Creating "/etc/lvmtab".
Physical Volume "/dev/dsk/c0t0d0s2" is not part of a Volume Group
/dev/vg00
/dev/disk/disk5_p2
Scan of Physical Volumes Complete.
*** LVMTAB has been created successfully.
*** Do the following to resync the information on the disk.
*** #1. vgchange -a y
*** #2. lvlnboot -R
I followed up with the vgchange and lvlnboot commands as the system suggested. vgextend still fails with the exact same error:
vgextend vg00 /dev/disk/disk2_p2
Couldn't open physical volume "/dev/rdisk/disk5_p2":
Verification of unique LVM disk id on each disk in the volume group
vg00 failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 01:20 PM
тАО01-30-2008 01:20 PM
Re: vgextend error while attempting to mirror boot disk
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1197800
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 01:56 PM
тАО01-30-2008 01:56 PM
Re: vgextend error while attempting to mirror boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 12:17 AM
тАО01-31-2008 12:17 AM
Re: vgextend error while attempting to mirror boot disk
can you do a diskinfo /dev/rdisk/disk5_p2
and a vgdisplay -v vg00
to check the vgheader on the disk:
echo '0X2010?2X' | adb /dev/dsk/disk5_p2 | expand | tr -d '' | sed 's/2010:/VGID/'
ps i am not sure this still works on 11.31...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 11:13 AM
тАО01-31-2008 11:13 AM
Re: vgextend error while attempting to mirror boot disk
diskinfo: can't open /dev/rdisk/disk5_p2: Permission denied
bash-3.2# 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 1
Act PV 1
Max PE per PV 4294
VGDA 2
PE Size (Mbytes) 16
Total PE 4285
Alloc PE 4284
Free PE 1
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0.0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 112
Allocated PE 112
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 7792
Current LE 487
Allocated PE 487
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 10992
Current LE 687
Allocated PE 687
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 64
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 16000
Current LE 1000
Allocated PE 1000
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 12000
Current LE 750
Allocated PE 750
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 8704
Current LE 544
Allocated PE 544
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk5_p2
PV Status available
Total PE 4285
Free PE 1
Autoswitch On
Proactive Polling On
I'm completely unfamiliar with the method suggested for checking the vgheader on the disk, and some of the syntax didn't work. I substituted small x for the caps in the echo part cause the cap x failed:
bash-3.2# echo '0x2010?2x'|adb /dev/disk/disk5_p2|expand|tr -d ''|sed 's/2010:/VGID/'
adb: warning: /dev/disk/disk5_p2: Unknown file type.
adb: warning: File '/dev/disk/disk5_p2' is not an object file.
0xVGID
0x222cc0ab 0x470c0fa1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 12:17 PM
тАО01-31-2008 12:17 PM
Re: vgextend error while attempting to mirror boot disk
# ioscan -funC disk
# ll /dev/rdisk/disk5_p2
Imho /dev/rdisk/disk5_p2 maynot be a device special file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 12:38 PM
тАО01-31-2008 12:38 PM
Re: vgextend error while attempting to mirror boot disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE COMPAQ BF0728A4BA
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s3
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s1
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE COMPAQ BF0728A4BA
/dev/dsk/c0t1d0 /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s1 /dev/rdsk/c0t1d0 /dev/rdsk/c0t1d0s3
/dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0s1
bash-3.2# ll /dev/rdisk/disk5_p2
crw-r----- 1 bin sys 22 0x000003 Oct 9 16:37 /dev/rdisk/disk5_p2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 03:29 PM
тАО01-31-2008 03:29 PM
Re: vgextend error while attempting to mirror boot disk
I'd seriously consider reinstalling. This choose the mirror to be the primary and let the O/S sort it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 03:39 PM
тАО01-31-2008 03:39 PM
Re: vgextend error while attempting to mirror boot disk
Your vgdisplay listing shows that the /dev/rdisk/disk5_p2 is already a member of vg00.
> --- Physical volumes ---
> PV Name /dev/disk/disk5_p2
> PV Status available
> Total PE 4285
> Free PE 1
> Autoswitch On
> Proactive Polling On
You can not be using the same disk to extend vg00 and mirror the boot disk.
Also, your ioscan shows that the valid disk devices are /dev/dsk/c0t0d0s2 and /dev/dsk/c0t1d0s2
> bash-3.2# ioscan -funC disk
> Class I H/W Path Driver S/W State H/W Type > Description
> ==================================
> disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE
> COMPAQ BF0728A4BA
> /dev/dsk/c0t0d0 /dev/dsk/c0t0d0s3
> /dev/rdsk/c0t0d0s2
> /dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0
> /dev/rdsk/c0t0d0s3
> /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s1
> disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE
> COMPAQ BF0728A4BA
> /dev/dsk/c0t1d0 /dev/dsk/c0t1d0s3
> /dev/rdsk/c0t1d0s2
> /dev/dsk/c0t1d0s1 /dev/rdsk/c0t1d0
> /dev/rdsk/c0t1d0s3
> /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0s1
>
> bash-3.2# ll /dev/rdisk/disk5_p2
> crw-r----- 1 bin sys 22 0x000003 Oct 9
> 16:37 /dev/rdisk/disk5_p2
The /dev/rdisk/disk5_p2 does not show up in ioscan. Does this blade have an internal RAID controller and the two disks are bound to that /dev/rdisk/disk5_p2 volume? Then the other two disks should not show up in ioscan.
Please compare all of these commands with the "other" blade whre everything worked fine.
Also post the output of "lvlnboot -v"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 04:08 PM
тАО01-31-2008 04:08 PM
Re: vgextend error while attempting to mirror boot disk
I did have one problem with both of these blades:
Symptoms:
Both NIS and automountint worked originally, but I was getting an rpc error of some sort when starting the automounter. I think it was rpc.statd, but am not sure. I didn't have time to investigate further at that point, and both NIS and automounting
were working then. After vacation and the emergency power shutdown during the 10/07 San Diego wildfires, neither NIS nor automounting worked anymore.
I found this fix on the web:
----------------------------------
HP moderator Dave Olker
Aug 14, 2007 23:40:42 GMT 10 pts
Hi Mario,
I think this is a known problem that was supposed to be fixed prior to 11i v3 shipping
but it may have reappeared somehow. It may be a corrupted /stand/ioconfig file.
Try this:
# /sbin/init.d/nfs.server stop
# /sbin/init.d/autofs stop
# /sbin/init.d/nfs.client stop
# /sbin/init.d/lockmgr stop
# /sbin/init.d/nfs.core stop
Then rebuild your /stand/ioconfig file by issuing the command:
# insf -e
Then see if you can get all the RPC daemons to start normally:
# /sbin/init.d/nfs.core start
# /sbin/init.d/lockmgr start
# /sbin/init.d/nfs.client start
# /sbin/init.d/autofs start
# /sbin/init.d/nfs.server start
Let me know if this works.
Regards,
Dave
--------------------------------
That fixed the problem. As I said, this happened with both of these BL60p blades, the one I mirrored successfully and this one.
I'm not sure if I could get customer permission to rebuild this blade right now. I'd rather avoid that if at all possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2008 04:24 PM
тАО01-31-2008 04:24 PM
Re: vgextend error while attempting to mirror boot disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2008 05:32 PM
тАО02-04-2008 05:32 PM
Re: vgextend error while attempting to mirror boot disk
This is a BL60p blade and they do not have the HP SmartRaid array controller.
bash-3.2# lvlnboot -v
bash-3.2#
--------------------------------------------
Commands on the other blade that mirrored OK:
vgdisplay -v (partial output)
--- Physical volumes ---
PV Name /dev/disk/disk5_p2
PV Status available
Total PE 4285
Free PE 1
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk4_p2
PV Status available
Total PE 4285
Free PE 1
Autoswitch On
Proactive Polling On
-bash-3.2# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE COMPAQ BF0728A4BA
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3
disk 0 0/1/1/0.1.0 sdisk CLAIMED DEVICE COMPAQ BF0728A4BA
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
/dev/dsk/c0t1d0s1 /dev/rdsk/c0t1d0s1
/dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s3
---------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2008 06:55 PM
тАО02-04-2008 06:55 PM
Re: vgextend error while attempting to mirror boot disk
take a look at
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1160821&admit=109447627+1202179775059+28353475
and at the mentioned docs.
The command to use is
ioscan -m dsf
and that will give you a translation of the new devices to the old ones.