- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- corrupted vg00.conf file
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
10-16-2002 01:26 AM
10-16-2002 01:26 AM
the problem is in my vg00.conf file, when i do a strings, i get multiple entrys of 1ia after my entries of LVMREC01, and all other entries...
i've checked other vg00.conf files on other machines, and this line with 1ia does not appear...
on our corrupt system, the 1ia line then appears in the lvmtab file...
we've tried using vgscan to recreate the lvmtab file, but the 1ia line still appears...
the system is a HPL200 running hpux11...
thanks for any help
jerome
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 01:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 01:45 AM
10-16-2002 01:45 AM
Re: corrupted vg00.conf file
Hmm. After removing lvmtab and running vgscan to recreate it when you then do a strings /etc/lvmtab it still comes back corrupt ?? can we see the output ?
If so it looks like the LVMREC on the header of the disk is possible corrupt. It doesnt look good - you may need to blask the disk and start again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 02:31 AM
10-16-2002 02:31 AM
Re: corrupted vg00.conf file
I appended a tool that dumps the lvmtab contents in a more reliable way...
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 02:45 AM
10-16-2002 02:45 AM
Re: corrupted vg00.conf file
your attachment is no good - can you check/retry ?
Cheers,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 03:40 AM
10-16-2002 03:40 AM
Re: corrupted vg00.conf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 03:44 AM
10-16-2002 03:44 AM
Re: corrupted vg00.conf file
Ok, here is the source.
# cc -o dumplvmtab dumplvmtab.c
---
/* dumplvmtab, @(#)dumplvmtab.c (2000-01-17) dietmar_konermann@hp.com */
#include
#include
#include
#include
#include
main (argc, argv)
int argc;
char ** argv;
{
char header[12];
char vg_info[1054];
char pv_info[1028];
size_t fd;
int vg_cnt, pv_cnt, vgno, pvno;
if ((fd = open("/etc/lvmtab",O_RDONLY)) == -1)
{
perror ("Unable to read /etc/lvmtab");
exit (1);
}
if (read (fd, &header, sizeof (header)) != sizeof (header))
{
perror ("Unable to read lvmtab header");
exit (1);
}
vg_cnt=*(int*)(header+0x04);
printf ("vers_no:%04hX zero:%04hX vg_count:%08X\n",
*(short*)header,
*(short*)(header+0x02),
vg_cnt=*(int*)(header+0x04));
for (vgno=0; vgno
if (read (fd, &vg_info, sizeof (vg_info)) != sizeof (vg_info))
{
perror ("Unable to read vg_info");
exit (1);
}
vg_info[1023]=0;
printf ("vg_path:%s\n vg_id:%08X%08X vg_state:%04X vg_incno:%08X pv_cnt:%08X\n",
vg_info,
*(int*) (vg_info+0x400),
*(int*) (vg_info+0x404),
*(short*) (vg_info+0x408),
*(short*) (vg_info+0x40c),
pv_cnt=*(short*) (vg_info+0x410));
for (pvno=0; pvno
if (read (fd, &pv_info, sizeof (pv_info)) != sizeof (pv_info))
{
perror ("Unable to read pv_info");
exit (1);
}
pv_info[1023]=0;
printf (" pv_path:%s\n", pv_info);
}
}
close (fd);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 03:45 AM
10-16-2002 03:45 AM
Re: corrupted vg00.conf file
thanks
jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 01:09 PM
10-17-2002 01:09 PM
Re: corrupted vg00.conf file
Just have a look at the man pages of
vgcfgbackup.
regards,
Hamdy