- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvdisplay shows LVM_disk=yes
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-26-2007 09:16 AM
09-26-2007 09:16 AM
pvdisplay shows LVM_disk=yes
db2i:/ > strings /etc/lvmtab | grep c6t0d6
db2i:/ > pvdisplay -v /dev/dsk/c6t0d6
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c6t0d6" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c6t0d6".
db2i:/ > pvdisplay -l /dev/dsk/c6t0d6
/dev/dsk/c6t0d6:LVM_Disk=yes
db2i:/ > pvcreate /dev/rdsk/c6t0d6
pvcreate: The physical volume already belongs to a volume group
Thanks in advance for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2007 09:41 AM
09-26-2007 09:41 AM
Re: pvdisplay shows LVM_disk=yes
for disk in /dev/dsk/c*
do
echo $disk `echo 0x2010?2x | adb $disk`
done
Although I wouldn't trust this as the VGID could match other disks since you mention it was previously used for snapshot testing.
You could also identify it by the Clariion's LUN ID from powermt display.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2007 09:47 AM
09-26-2007 09:47 AM
Re: pvdisplay shows LVM_disk=yes
All the steps above show that the disk is not currently being used. Especially after you vgexported it. If it were in use and mounted you would not have been able to vgchange and vgexported it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2007 06:36 PM
09-26-2007 06:36 PM
Re: pvdisplay shows LVM_disk=yes
you would have exported this from this system, but it is imported from some other system. Hence it does not have a /etc/lvmtab entry on this system, but the metadata is present on the disk
Try this.
1.
Verify whether the node is part of a cluster
#cmviewcl
If it is part of cluster then run
#cmquerycl
This would give you some lvm info. If this is not sufficient to debug
run scsimgr command on both the nodes with appropriate device files. This would give u wwid of the disks which is unique.( on 11iv3 only)
#scsimgr get_attr -a wwid -H
If the same wwid is obtained on both the machines, then it is the shared disk.
2. If it is not part of cluster, Then u can take a backup of the disk and go for a freas pvcreate -f
-Keshava
http://keshavabharadwaj.googlepages.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2007 03:00 AM
09-27-2007 03:00 AM
Re: pvdisplay shows LVM_disk=yes
I would like to confirm one statement just in case I run into any related issue in the future. I didn't mention that this server IS part of a cluster but I did mention the disk is on EMC. Wouldn't I have been able to export the vg on this server even if it was being used actively on another server since they are all connected to the EMC?
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2007 03:41 AM
09-27-2007 03:41 AM
Re: pvdisplay shows LVM_disk=yes
If this volume was shared between SG cluster members then there is probably more work to do.
Remove from the SG config is the 1st item I can think of.
I do not believe there would be anything stopping you from vgexporting on one SG member and not the other. Another good way to check is to review the masking config on the EMC. If the EMC only allows access to server1 then it cannot be used anywhere else.
Another good check when trying to determine where volumes are used.
If this is a symmetrix then a symmaskdb list database will give you the contents of the masking database.