- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot Add alternate PV to a VG
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
04-25-2010 09:57 PM
04-25-2010 09:57 PM
Cannot Add alternate PV to a VG
-- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 32
Cur PV 1
Act PV 1
Max PE per PV 3236
VGDA 2
PE Size (Mbytes) 8
Total PE 3236
Alloc PE 0
Free PE 3236
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 809g
VG Max Extents 103552
--- Physical volumes ---
PV Name /dev/dsk/c13t0d3
PV Status available
Total PE 3236
Free PE 3236
Autoswitch On
Proactive Polling On
root@sinsx046 [/dev]
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk59_p2
/dev/vg01
/dev/dsk/c13t0d3
root@sinsx046 [/dev]
# vgextend /dev/vg01 /dev/dsk/c19t0d3
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.
Following are the sets of disks having identical LVM disk id
/dev/dsk/c13t0d3 /dev/dsk/c19t0d3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:20 PM
04-25-2010 10:20 PM
Re: Cannot Add alternate PV to a VG
# ioscan -m dsf
to find it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:21 PM
04-25-2010 10:21 PM
Re: Cannot Add alternate PV to a VG
/dev/dsk/c19t0d3
else do a pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:22 PM
04-25-2010 10:22 PM
Re: Cannot Add alternate PV to a VG
Is there a possibility to run a vgscan command ?
Else you can try to export and import the VG
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:25 PM
04-25-2010 10:25 PM
Re: Cannot Add alternate PV to a VG
You are recommending to do a pvcreate on alternate link!!! Do you know that it will distroy existing LVM information ???
Regards
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:28 PM
04-25-2010 10:28 PM
Re: Cannot Add alternate PV to a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:34 PM
04-25-2010 10:34 PM
Re: Cannot Add alternate PV to a VG
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:50 PM
04-25-2010 10:50 PM
Re: Cannot Add alternate PV to a VG
vgcreate -s 8 -p 32 vg02 /dev/dsk/disk66
vgcreate: Physical volume "/dev/dsk/disk66" is not a block special file.
Usage:
For creating version 1.0 volume group,
vgcreate
[-V 1.0]
[-f]
[-A Autobackup]
[-x Extensibility]
[-e MaxPhysicalExtents]
[-l MaxLogicalVolumes]
[-p MaxPhysicalVolumes]
[-s PhysicalExtentSize]
[-g PhysicalVolumeGroupName]
VolumeGroupName PhysicalVolumePath ...
For creating version 2.x volume group,
vgcreate -V Version -S VolumeGroupSize -s PhysicalExtentSize
[-A Autobackup]
[-x Extensibility]
[-g PhysicalVolumeGroupName]
VolumeGroupName PhysicalVolumePath ...
For volume group version 2.x,
vgcreate -V Version -E
{-S VolumeGroupSize |
-s PhysicalExtentSize}
Note: The "-f" option is not available for volume group version 2.0 or higher.
"PhysicalVolumePath": must be a block special file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2010 10:50 PM
04-25-2010 10:50 PM
Re: Cannot Add alternate PV to a VG
#diskinfo /dev/dsk/c13t0d3
#diskinfo /dev/dsk/c19t0d3
* Unmount all the filesystems that belong to .
Deactivate the volume group:
#vgchange -a n /dev/
* Activate the VG:
#vgchange -a y
* If it will activate, mount the filesystems and start the database.
* Add the alternate link:
#vgextend /dev/
* Unmount all the filesystems that belong to .
Deactivate the volume group:
#vgchange -a n /dev/
* Activate the VG:
#vgchange -a y
* If it will activate, mount the filesystems
* Add the alternate link:
#vgextend /dev/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 12:07 AM
04-26-2010 12:07 AM
Re: Cannot Add alternate PV to a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 03:57 AM
04-26-2010 03:57 AM
Re: Cannot Add alternate PV to a VG
>>You are recommending to do a pvcreate on alternate link!!! Do you know that it will distroy existing LVM information ???
if you see the question it says
cannot add alt PV not alt link to the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 04:00 AM
04-26-2010 04:00 AM
Re: Cannot Add alternate PV to a VG
Following are the sets of disks having identical LVM disk id
/dev/dsk/c13t0d3 /dev/dsk/c19t0d3
which ofcourse indicates its an alt link.
im sorry for overlooking the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 04:52 PM
04-26-2010 04:52 PM
Re: Cannot Add alternate PV to a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 05:17 PM
04-26-2010 05:17 PM
Re: Cannot Add alternate PV to a VG
# vgdisplay -v /dev/vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 32
Cur PV 1
Act PV 1
Max PE per PV 3236
VGDA 2
PE Size (Mbytes) 8
Total PE 3236
Alloc PE 0
Free PE 3236
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 809g
VG Max Extents 103552
--- Physical volumes ---
PV Name /dev/disk/disk65
PV Status available
Total PE 3236
Free PE 3236
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 05:22 PM
04-26-2010 05:22 PM
Re: Cannot Add alternate PV to a VG
Second, try exporting the existing volume group and the import the volume group using both disk paths in the same command. This is not destructive but having a backup of your data is a good idea. And you have to unmount the volume(s) before exporting the disk. But if there is a bug in LVM you will probably get the same or similar error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 05:26 PM
04-26-2010 05:26 PM
Re: Cannot Add alternate PV to a VG
ioscan -P health -C lunpath. also see using
ioscan -m dsf /dev/disk/disk65 that will show both paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 05:36 PM
04-26-2010 05:36 PM
Re: Cannot Add alternate PV to a VG
# ioscan -m dsf /dev/disk/disk65
Persistent DSF Legacy DSF(s)
========================================
/dev/disk/disk65 /dev/dsk/c13t0d3
#ioscan -P health -C
what is lunpath?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 05:40 PM
04-26-2010 05:40 PM
Re: Cannot Add alternate PV to a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 05:45 PM
04-26-2010 05:45 PM
Re: Cannot Add alternate PV to a VG
If no more solution , I will recreate the Lun again from scratch!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 09:04 PM
04-26-2010 09:04 PM
Re: Cannot Add alternate PV to a VG
The problem occurred because LVM found two disks with the same PVID. This is impossible unless the LUNs are
alternate links.This is why the error "Verification of unique
LVM disk id on each disk in the volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 11:39 PM
04-26-2010 11:39 PM
Re: Cannot Add alternate PV to a VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 11:46 PM
04-26-2010 11:46 PM
Re: Cannot Add alternate PV to a VG
export the VG and import with alternate link details.
check man page for
#vgchange
#vgexport
#vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2010 11:57 PM
04-26-2010 11:57 PM
Re: Cannot Add alternate PV to a VG
do a vgscan
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010 01:58 AM
04-27-2010 01:58 AM
Re: Cannot Add alternate PV to a VG
your lvmtab has
vg00 >>> diskXX
vg01 >>> cXdXtX
I think you should change it to dsf name
by
/usr/contrib/bin/vgdsf â c
Read the below document carefully.
http://docs.hp.com/en/LVMmigration1/LVM_Migration_to_Agile.pdf
Do you have lvmtab_p??
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2010 09:30 AM
04-27-2010 09:30 AM
Re: Cannot Add alternate PV to a VG
You have above:
I tried using the /dev/dsk/disk66 got this error;
vgcreate -s 8 -p 32 vg02 /dev/dsk/disk66
vgcreate: Physical volume "/dev/dsk/disk66" is not a block special file
TRY THIS:
vgcreate -s 8 -p 32 vg02 /dev/disk/disk66
and you'll likely have more success.
There's several HP documents on the subject, but I've attached one that should help explain this all perfectly. Here's a simple note from that document:
Typical legacy and persistent DSFs for a LUN are shown below:
Legacy DSF: /dev/dsk/c8t1d3 and /dev/rdsk/c8t1d3 Persistent DSF: /dev/disk/disk66 and /dev/rdisk/disk66
Let us know if this helps, and don't forget to assign points :)
RCP