- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM Problems
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
02-06-2006 07:22 AM
02-06-2006 07:22 AM
I had a system crash and got stale partitions in a volume group VG03.
The disk /dev/dsk/c0t1d0 is mirrored on /dev/dsk/c1t1d0.
The VG belongs to cluster.
Follow the sequence of my issues:
1) vgchange -c n /dev/vg03 --- successful
2) vgchange -a y /dev/vg03 --- successful
3) fsck -f VXFS /dev/vg03 --- failed
4) dd if=/dev/dsk/c0t1d0 of=/dev/null bs=1024k
-- failed (I/0 Error)
5) vgchange -a n /dev/vg03
6) vgchange -c y /dev/vg03
Now, I have:
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t1d0": Cross-device link
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t1d0": Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t1d0":The specified path does not correspond to physical volume attached to this volume groupvgchange: Warning: couldn't query physical volume "/dev/dsk/c1t1d0":The specified path does not correspond to physical volume attached to this volume groupvgchange: Warning: couldn't query all of the physical volumes.vgchange: Couldn't activate volume group "/dev/vg03":Quorum not present, or some physical volume(s) are missing.
So, I tried "vgscan" to create a new lvmtab:
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c0t0d0
/dev/dsk/c1t0d0
Physical Volume "/dev/dsk/c0t1d0" contains no LVM information
Physical Volume "/dev/dsk/c1t1d0" contains no LVM information
Can you help me?
Is it possible to recover this LVM Information without data loss?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:27 AM
02-06-2006 07:27 AM
SolutionHave you check the system logs (/var/adm/syslog) for I/O errors?
If you run ioscan do you see the controller?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:29 AM
02-06-2006 07:29 AM
Re: LVM Problems
Yes, I can see now, after a reboot:
vmunix: SCSI: Attempt to access partially open device - dev: bc022000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:41 AM
02-06-2006 07:41 AM
Re: LVM Problems
tobstones/ts99
Also check using the crashconf to see why the system failed. If problems/any patches needed can be vital for a production system
also to ensure that system is fine, log a call with HP.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:46 AM
02-06-2006 07:46 AM
Re: LVM Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:47 AM
02-06-2006 07:47 AM
Re: LVM Problems
I'm not sure I understood your answer.
Follow the TS99 file.
Regards,
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:54 AM
02-06-2006 07:54 AM
Re: LVM Problems
the disks are in different controllers:
c0t1d0 is 8/0.1.0
c1t1d0 is 8/4.1.0
Attached, the result of ioscan command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:59 AM
02-06-2006 07:59 AM
Re: LVM Problems
(Kinda nullifies the controller theory).
"ioscan -fn" please...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:03 AM
02-06-2006 08:03 AM
Re: LVM Problems
Follow the ioscan -fn results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:10 AM
02-06-2006 08:10 AM
Re: LVM Problems
I've not seen "partially open" messages like that before.
Can you post the output of
"vgdisplay -v vg03" ?
"pvdisplay /dev/dsk/c0t0d0"
"pvdisplay /dev/dsk/c1t0d0"
I'm wondering if lvmtab got hosed ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:12 AM
02-06-2006 08:12 AM
Re: LVM Problems
I am a member of the its a controller and the data is fine club.
Sometimes when disks die totally, ioscan stops showing them even in NO_HW mode.
You need HP hardware to diagnose and correct this and replace parts.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:14 AM
02-06-2006 08:14 AM
Re: LVM Problems
PVDISPLAY returns:
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t1d0":The specified path does not correspond to physical volume attached to this volume group
If I re-create the PV, do I lose data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:34 AM
02-06-2006 08:34 AM
Re: LVM Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:35 AM
02-06-2006 08:35 AM
Re: LVM Problems
Now, I have the results of vgdisplay and lvdisplay.
Attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:59 AM
02-06-2006 08:59 AM
Re: LVM Problems
You've got hardware missing. Are the two SCSI controller cards plugged into the same I/O expansion bay (cell board I/O bay)? This leaves you waiting on HP for a hardware fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:05 AM
02-06-2006 09:05 AM
Re: LVM Problems
The disks are in blue.
I can't activate the VG in the adoptive node, too.
Where could be the HW problem? On both disks? It's very strange, don't you think?
Do you think it could be a good workaround powering off the whole system, checking physical connections and powering it on again?
Unfortunatelly, I don't have HP HW support at this time :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:11 AM
02-06-2006 09:11 AM
Re: LVM Problems
Re: powering down and checking connections. Not a bad idea at all. Shouldn't hurt a bit. Just make sure you've got your grounding straps on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:25 AM
02-06-2006 09:25 AM
Re: LVM Problems
Will you be there in the next 30 minutes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:25 AM
02-06-2006 09:25 AM
Re: LVM Problems
Just give a try.
I think you have physical disk problem
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:28 AM
02-06-2006 09:28 AM
Re: LVM Problems
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:28 AM
02-06-2006 09:28 AM
Re: LVM Problems
At this moment, I'm trying to power off the system, and I've just shut it down.
After the restart, I'll check the disks again!
Regards,
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:34 AM
02-06-2006 09:34 AM
Re: LVM Problems
You asked for ems, normally it is Event Monitoring Serv, installe on all system,
Any event (h/w) will be logged in syslog.log, all you have o do is just cut that line from syslog.log to run it,
This is give what is event that has problem, also it gives that Event #, go can browse that site in that output message to know what is wrong...
Hope I confused you much,
Check you have EMS running
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:40 AM
02-06-2006 09:40 AM
Re: LVM Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:42 AM
02-06-2006 09:42 AM
Re: LVM Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:52 AM
02-06-2006 09:52 AM
Re: LVM Problems
John, I won't color you, unfortunatelly the situation is the same.
The unique difference is that I could activate the VG without disabling quorum...
What about if I break the mirror?
c1t1d0 seems to be accessible, isn't it?