- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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 10:30 AM
02-06-2006 10:30 AM
Re: LVM Problems
Looks like a whole piece of the I/O sub-system is at least partially hosed. You can play around, but you're going to risk losing data.
The safest thing is to shutdown and move all of the disks over to another server (like the other one in the drawing), and see if everything comes up. If it does (and I think it will), get a backup of everything and then ask management "which server they want up" if you don't have a spare or test server - because I don't think you're going to get both. But, HP (or somebody who's better than myself at hardware) can tell you that better than me.
In any case, I'd start using another server I could spare to start troubleshooting, by putting all of the disks from this server into another almost exactly like it and see if it will come up.
If you've got no spare test servers, then I'm stuck as to tell you to go next, other than calling HP and getting a billing for time and materials. But I think you've got a "D" and you need to decide if beginning troubleshooting at $300 to $400 an hour so (plus travel) plus parts is going to be worth that little server.
You can buy them used cheaply, but I'm not sure about in your area...
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 10:48 AM
02-06-2006 10:48 AM
Re: LVM Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 10:51 AM
02-06-2006 10:51 AM
Re: LVM Problems
results an error for c0t1d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 11:13 AM
02-06-2006 11:13 AM
Re: LVM Problems
I'd like to know how to use insf without recreating the special file.
I've foun a thread in this forum similar to my problem and the solution was
insf -e -C disk.
Could you help, please?
Regards, Leila.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 12:34 PM
02-06-2006 12:34 PM
Re: LVM Problems
The problem looks like due to the faulty disk (c0t1d0) and you need to replace this harddisk, because the dd command result already gives you the I/O result.
I believe there's nothing wrong with your connection and the SCSI card, since the situation that made by these will be worse (cause will happen on the affected bus, not just a single disk).
Now is how to makes the VG03 online even with single harddisk (c1t1d0) and later put the replacement for the mirror harddisk (c0t1d0).
You can try to break the mirror first and see if you can activate + mount the file system into the OS on the single disk.
Meanwhile prepare your backup for vg03.
The simple method is to recreate the vg03 and restore the data from the backup (if the valid & uptodate backup is available).
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:00 PM
02-06-2006 07:00 PM
Re: LVM Problems
The data should be intact atleast in one of the drives (One mirror copy). A close look at various parameters show that the devices attached to vg03 are /dev/dsk/c0t2d0 and /dev/dsk/c1t2d0 whereas the error is coming in other two disks i.e. /dev/dsk/c0t1d0 & /dev/dsk/c1t2d0.
The error reported is usual if the two disks are being used for some other purpose than LVM. If the two disks belongs to LVM then I would suspect that two disks has been replaced physically without notifying the changes to the system.
Also out of 4 volumes configured into vg03 only 2 are available making only one LVOL available (LVOL5) you can try mounting it and everything in this LVOL should be fine.
You can check from "strings /etc/lvmtab" for two other LVOLs configured in this VG and try to see any error with them. If the disks are not yet physically replaced I am sure you will be able to recover data still.
Post
#strings /etc/lvmtab
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:49 PM
02-06-2006 08:49 PM
Re: LVM Problems
Could you help me on the steps for breaking mirror and setting up VG03 again?
Regards,
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 08:57 PM
02-06-2006 08:57 PM
Re: LVM Problems
Good Evening as it is evening here in India.
Breaking and recreating mirrors will not help as two disks are missing and they hold both copies of four LVOLs.
Post #strings /etc/lvmtab
as mentioned earlier.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:03 PM
02-06-2006 09:03 PM
Re: LVM Problems
If a D class has O/S been recently updated to 11.
HP-UX 11 does not support EISA h/w and will therefore discable it, meaning half system port unavailable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:19 PM
02-06-2006 09:19 PM
Re: LVM Problems
Follow the lvmtab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:21 PM
02-06-2006 09:21 PM
Re: LVM Problems
The OS is HP-UX 10.20.
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:49 PM
02-06-2006 09:49 PM
Re: LVM Problems
Luckily the two disks found extra are the same two which are missing from vg03. You will have to try vgexport/vgimport to try recovering the whole data fro either copy prior to replacing the disk.
Note down minor number of the VG by "ll /dev/vg03/group". Also post the output of
#pvdisplay -v /dev/dsk/c0t1d0
&
#pvdisplay -v /dev/dsk/c1t1d0
#vgexport /dev/vg03
#mkdir /dev/vg03
#mknod /dev/vg03/group c 64 0x??0000
Where 0x??0000 is the minor number noted from above.
#vgimport /dev/vg03 /dev/dsk/c0t1d0 /dev/dsk/c0t2d0 /dev/dsk/c1t1d0 /dev/dsk/c1t2d0
#vgchange -a y /dev/vg03
#vgdisplay -v /dev/vg03
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:58 PM
02-06-2006 09:58 PM
Re: LVM Problems
Follow the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 10:13 PM
02-06-2006 10:13 PM
Re: LVM Problems
Also do a
#vgchange -a n /dev/vg03 before doing vgexport.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 10:17 PM
02-06-2006 10:17 PM
Re: LVM Problems
I've tried vgimport before, but I've got "PV does not contain any LVM information"
By the way, I'll try again.
Is there any risk of losing data?
Regards,
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 10:23 PM
02-06-2006 10:23 PM
Re: LVM Problems
The data will not be lost by doing so. But the current stage shows that some data is allready lost and is not accessible. If the vgimport reports that the disk do not contain any LVM information I would suspect that the disks has been either physically replaced or the information is lost due to drive problems.
lvol5 (Which is off more than 4GB) should be accessible at present and you should back it up before doing something else. Also I will be leaving for the day in another 45 minutes.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:32 AM
02-07-2006 12:32 AM
Re: LVM Problems
Unfortunatelly, I had to give up.
My customer established a deadline and my time is over.
I recreated the whole structure of the VG, excluding the damaged disk.
The last backup was recovered.
I'd like to thank you all for helping me!!!
I hope there won't be a next time ;-)
Best regards,
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 02:25 AM
02-07-2006 02:25 AM
Re: LVM Problems
- « Previous
-
- 1
- 2
- Next »