- 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
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
тАО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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 07:03 PM
тАО04-28-2010 07:03 PM
Re: Cannot Add alternate PV to a VG
root@ [/dev]
# mknod /dev/vg01/group c 64 0x010000
root@ [/dev]
# pvcreate -f /dev/rdisk/disk65
Physical volume "/dev/rdisk/disk65" has been successfully created.
root@ [/dev]
# vgcreate -s 8 -p 32 /dev/vg01 /dev/disk/disk65
Increased the number of physical extents per physical volume to 3236.
Volume group "/dev/vg01" has been successfully created.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
root@ [/dev]
# 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
root@ [/dev]
# vgextend /dev/vg01 /dev/disk/disk95
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/disk/disk65 /dev/disk/disk95
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 07:43 PM
тАО04-28-2010 07:43 PM
Re: Cannot Add alternate PV to a VG
Is it your DR server, does it have R2 devices present on the server.
I had the smthing similar issue and I could see the R2 devices on DR servers and hence the error.
RIght now you should confirm R2 device and one more thing, disk65 and disk95 cannot/should not be same disk.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 07:49 PM
тАО04-28-2010 07:49 PM
Re: Cannot Add alternate PV to a VG
/dev/rdisk/disk65 M(3) EMC SYMMETRIX 5670 15005C5000 26516160
/dev/rdisk/disk95 M(3) EMC SYMMETRIX 5670 15005C5000 26516160
/dev/rdsk/c13t0d3 M(3) EMC SYMMETRIX 5670 15005C5000 26516160
/dev/rdsk/c19t0d3 M(3) EMC SYMMETRIX 5670 15005C5000 26516160
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 07:53 PM
тАО04-28-2010 07:53 PM
Re: Cannot Add alternate PV to a VG
I would suggest to remove device file for disk65/95 and recreate them again.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 08:22 PM
тАО04-28-2010 08:22 PM
Re: Cannot Add alternate PV to a VG
It should be
smthing is wrong....there is no point having 2 dsf device for the same device.
BR,
Kapil+