- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM Configuration corrupted
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
тАО07-19-2004 06:08 PM
тАО07-19-2004 06:08 PM
LVM Configuration corrupted
i have a problem where the system cannot detect the volume group (/dev/vg00).
when i did the : ioscan -funC disk , i can see the 2 disk /dev/dsk/c0t5d0 and /dev/dsk/c0t8d0
but when i did the : vgdisplay -v /dev/vg00 or pvdisplay , the system didn't responde, no error or any output.
i biggest problem is i don't have any backup for the kernel or the ignite.
all these problem occured when the primary disk (/dev/dsk/c0t5d0) failed, : vgreduce /dev/vg00 /dev/dsk/c0t5d0
and i replace with another old system disk from another machine, and did the : vgextend /dev/vg00 /dev/dsk/c0t5d0 ; mkboot /dev/rdsk/c0t5d0 ; mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/c0t5d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 06:19 PM
тАО07-19-2004 06:19 PM
Re: LVM Configuration corrupted
It sounds like you may have missed a step as you need to restore the LVM information to the disk:
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t5d0
# vgchange -a y
Then run your mkboot commands.
Then sync the LV's
# vgsync vg00
Presumably your system has booted off the alternate disk.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2004 07:01 PM
тАО07-19-2004 07:01 PM
Re: LVM Configuration corrupted
some of the files in /usr/sbin corrupted ( no idea how) but after i replace it from another similar machine, i can see the vgdisplay or pvdisplay.
but when i did the
mv lvmtab lvmtab.20Jul04
vgscan -v -a , it return as
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
/dev/vg00
/dev/dsk/c0t5d0
/dev/dsk/c0t8d0
any idea how to remove the /dev/dsk/c1t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 12:06 AM
тАО07-21-2004 12:06 AM
Re: LVM Configuration corrupted
(I don't remember exactly the name of the device file you are talking about. I know it was not c0t5d0 or c0t8d0. )
steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 12:21 AM
тАО07-21-2004 12:21 AM
Re: LVM Configuration corrupted
It looks like LVM info on /dev/dsk/c0t5d0
is corrupted or disk(PV) gone bad. See the status with "ioscan -fnC disk", whether it displays this disk.
"vgcfgrestore" could have worked for you properly. Well if you want to remove PV from the VG use "vgreduce" command.
See man vgreduce, vgcfgrestore
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 12:33 AM
тАО07-21-2004 12:33 AM
Re: LVM Configuration corrupted
Like Bharat said, do a vgreduce if you are sure the disk device file name it is complaining about is hard disk drive and not any other device.
If vgreduce doesn't work, then force it with
vgreduce -f
The above should work in removing a missing physical volume from a VG.
Please let us know if you were able to resolve it ?
Thanks,
Bhanu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 02:13 AM
тАО07-21-2004 02:13 AM
Re: LVM Configuration corrupted
But if your still having issue...could you run this for me:
echo "0x2008?4D" | adb /dev/dsk/c-t-d-
Do this for all the disks on vg00. Then compare the last field and see if they match. If they do...than the disks know they are part of the same vgid. If they don't...well that is a whole 'nother fix.
Let us know,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 12:30 PM
тАО07-21-2004 12:30 PM
Re: LVM Configuration corrupted
/dev/dsk/c1t2d0 is a cdrom
and problem is more like this
# vgdisplay
vgdisplay: Warning: couldn't query physical volume "":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
it seems like in /dev/vg00 there is another disk but with any pv and this guy have mirror to /dev/dsk/c0t5d0 and /dev/dsk/c0t8d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 06:16 AM
тАО07-28-2004 06:16 AM
Re: LVM Configuration corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2004 09:31 AM
тАО08-03-2004 09:31 AM
Re: LVM Configuration corrupted
Please try the following
Boot the machine in maintanance mode
ISl>hpux -lm
#mv /etc/lvmtab /etc/lvmtab/org
#vgimport /dev/vg00 /dev/dsk/c0t5d0
#strings /etc/lvmtab ?does it show as following
/dev/vg00
/dev/dsk/c0t5d0
if yes import other vgs manually(by vgimport command ) or try vgscan after copying the new lvmtab to a safe place.
regards
vinod