- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgchange: Warning: Couldn't attach to volume group...
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-29-2009 01:29 AM
тАО04-29-2009 01:29 AM
Server: rp5470
OS: HP-UX 11.11
The above error appears for VGs which contain 4 LUNs presented from EVA 3000 as shown below:
#vgchange -a y vg02
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t0d1":
Device busy
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t0d2":
Device busy
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t0d1":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t0d2":
The specified path does not correspond to physical volume attached to this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg02":
Quorum not present, or some physical volume(s) are missing.
Above error is reported for each of vg03 and vg04. Following is the /etc/lvmtab:
#strings /etc/lvmtab
/dev/vg01
/dev/dsk/c2t2d0
/dev/vg02
/dev/dsk/c4t0d1
/dev/dsk/c4t0d2
/dev/vg03
/dev/dsk/c4t0d3
/dev/vg04
/dev/dsk/c4t0d4
***************
Diskinfo for above disks show 0 bytes but in the ioscan, the disks show to be claimed.
--------------------------------
SCSI describe of /dev/rdsk/c4t0d1:
vendor: HP
product id: HSV100
type: direct access
size: 0 Kbytes
bytes per sector: 0
rev level: 3020
---------------------------------
above o/p is similar for other 3 disks with diskinfo command
***********
#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=================================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GST3146807LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 146 GST3146807LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 3 0/10/0/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE HP HSV100
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 4 0/10/0/0.1.0.0.0.0.2 sdisk CLAIMED DEVICE HP HSV100
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 5 0/10/0/0.1.0.0.0.0.3 sdisk CLAIMED DEVICE HP HSV100
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
disk 6 0/10/0/0.1.0.0.0.0.4 sdisk CLAIMED DEVICE HP HSV100
/dev/dsk/c4t0d4 /dev/rdsk/c4t0d4
disk 7 0/10/0/0.1.0.0.0.0.5 sdisk CLAIMED DEVICE HP HSV100
/dev/dsk/c4t0d5 /dev/rdsk/c4t0d5
********************
Is this HW issue? Should I log call with HP?
Regards,
Ram.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 01:46 AM
тАО04-29-2009 01:46 AM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
You should check the EVA side - how about the status of the vdisks?
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-29-2009 02:26 AM
тАО04-29-2009 02:26 AM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
Thanks for your reply.
Forgot to update that I checked the Status of Vdisk in CV-EVA. Irony is, all Vdisks presented to the server show operational state to be Good and in the navigation pane, none of Vdisks show warning.
What could be other reason?
Regards,
Ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 03:18 PM
тАО04-29-2009 03:18 PM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 10:13 PM
тАО04-29-2009 10:13 PM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
ioscan
pvdisplay /dev/dsk/c4t0d3
pvdisplay /dev/dsk/c4t0d4
(these will tell you if they are assigned to any volume group)
mv /etc/lvmtab /etc/lvmtab /etc/lvmtab.bak1
vgscan
(recreate /etc/lvmtab)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 09:06 PM
тАО05-04-2009 09:06 PM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
@ Henry
No chance, even after rebooting server once again. Presentation is all fine. No changes done. Also, Vdisks are not connected to multiple hosts.
@ Basheer
tried mv /etc/lvmtab /etc/lvmtab.old and then vgscan. No luck. Still same error as earlier.
*********************************************
FYI, On 26th the server hanged and was not responding. Even was not able to telnet. Console was also hanging. So hardbooted server and it came up. While booting, it threw messages saying unable to activate VGs. So checked the Oldsyslog and at the point of time of the issue, found following logs:
--------------------------------------------
Apr 26 20:04:05 disney vmunix: DIAGNOSTIC SYSTEM WARNING:
Apr 26 20:04:05 disney vmunix: The diagnostic logging facility has started receiving excessive
Apr 26 20:04:05 disney vmunix: errors from the I/O subsystem. I/O error entries will be lost
Apr 26 20:04:05 disney vmunix: until the cause of the excessive I/O logging is corrected.
Apr 26 20:04:05 disney vmunix: If the diaglogd daemon is not active, use the Daemon Startup command
Apr 26 20:04:05 disney vmunix: in stm to start it.
Apr 26 20:04:05 disney vmunix: If the diaglogd daemon is active, use the logtool utility in stm
Apr 26 20:04:05 disney vmunix: to determine which I/O subsystem is logging excessive errors.
--------------------------------------------
Any idea why even after booting the PVs are not shown up. In ioscan, everthing seems to be fine, all coressponding PVs are CLAIMED, same is case with link to EVA.
Any idea on what could be the issue?
Regards,
Ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 09:43 PM
тАО05-04-2009 09:43 PM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
Because the vdisks are visible but zero in size, the problem could be related either to secure path anyhow or it is likely on the array side.
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
тАО05-04-2009 09:59 PM
тАО05-04-2009 09:59 PM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
---------------------------------------------------
Apr 25 23:00:52 disney ftpd[7863]: FTP session closed
Apr 26 20:03:40 disney vmunix: LVM: Path (device 0x1f040100) to PV 0 in VG 2 Failed!
Apr 26 20:03:40 disney vmunix: LVM: vg[2]: pvnum=0 (dev_t=0x1f040100) is POWERFAILED
Apr 26 20:03:40 disney vmunix: LVM: vg[2]: pvnum=1 (dev_t=0x1f040200) is POWERFAILED
Apr 26 20:03:40 disney vmunix: LVM: Path (device 0x1f040300) to PV 0 in VG 3 Failed!
Apr 26 20:03:40 disney vmunix: LVM: vg[3]: pvnum=0 (dev_t=0x1f040300) is POWERFAILED
Apr 26 20:03:40 disney vmunix: LVM: Path (device 0x1f040400) to PV 0 in VG 4 Failed!
Apr 26 20:03:40 disney vmunix: LVM: vg[4]: pvnum=0 (dev_t=0x1f040400) is POWERFAILED
Apr 26 20:04:05 disney vmunix: DIAGNOSTIC SYSTEM WARNING:
Apr 26 20:04:05 disney vmunix: The diagnostic logging facility has started receiving excessive
Apr 26 20:04:05 disney vmunix: errors from the I/O subsystem. I/O error entries will be lost
Apr 26 20:04:05 disney vmunix: until the cause of the excessive I/O logging is corrected.
Apr 26 20:04:05 disney vmunix: If the diaglogd daemon is not active, use the Daemon Startup command
Apr 26 20:04:05 disney vmunix: in stm to start it.
Apr 26 20:04:05 disney vmunix: If the diaglogd daemon is active, use the logtool utility in stm
Apr 26 20:04:05 disney vmunix: to determine which I/O subsystem is logging excessive errors.
-----------------------------------------------
Torsten- There is no secure path installed. Also, in CV-EVA, the Vdisk size is not zero. Even the Vdisk status shows to be in good condition.
Any idea?
Ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 11:05 PM
тАО05-04-2009 11:05 PM
SolutionIt looks like your server has only 1 HBA, connected to a single controller of the EVA.
If the controller failes or gives the ownership of the LUN to the other controller for any reason, your server is disconnected.
Looks like this is what happened here.
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
тАО05-05-2009 09:12 PM
тАО05-05-2009 09:12 PM
Re: vgchange: Warning: Couldn't attach to volume group physical volume "/dev/dsk/c4t0d1": Device busy
You are right. The Server has only 1 HBA and connected to SAN Switch. Probably need to check zoning if both controllers are in same zone as the port connected from server. If not- seems to be so, can I add other controller into the zone?
But this seems to be illogical on controller part of taking ownership of VDISK. What I understand is one among two controllers will be master which takes ownership of entire EVA rather than VDISKs, which would mean any server zoned only with slave controller at that point in time wouldn't see its LUNs, which probably wouldn't be the case in my setup. Anyhow, shall check and get back.
Regards,
Ram.