Operating System - HP-UX
1832864 Members
2997 Online
110048 Solutions
New Discussion

fsck: sanity check failed on vg01when boot the system

 
SOLVED
Go to solution
Hanry Zhou
Super Advisor

fsck: sanity check failed on vg01when boot the system

The same messages complains all logical volumes under vg01, but these LV are all existed on another server, not the server I just built.
This new server was cloned from another server.

most likely the problem is caused by some vg01 infor. on the server I cloned from. But, I don't know what I can do to clean it up.
I did rm -r /dev/vg01 already, and no infor in /etc/lvmtab. Please let me know. Thanks,
none
9 REPLIES 9
Robert-Jan Goossens
Honored Contributor

Re: fsck: sanity check failed on vg01when boot the system

Hi,

Try a

# vgexport /dev/vg01

Robert-Jan
Hanry Zhou
Super Advisor

Re: fsck: sanity check failed on vg01when boot the system

# vgexport /dev/vg01
vgexport: Volume group "/dev/vg01" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "/dev/vg01".
#

none
Robert-Jan Goossens
Honored Contributor

Re: fsck: sanity check failed on vg01when boot the system

Roger,

Check the /etc/lvmconf directory and remove the vg01 info.

# vgdisplay -v

and check if there is still info about vg01.

Robert-Jan
Hanry Zhou
Super Advisor

Re: fsck: sanity check failed on vg01when boot the system

I did see /etc/lvmconf/vg01.conf, and removed it, reboot the server, but the errors still came up.
none
Devender Khatana
Honored Contributor
Solution

Re: fsck: sanity check failed on vg01when boot the system

Hi,

What is the output of

#strings /etc/lvmtab

It seems the entry exists either in lvmtab or in /etc/fstab which is causing this. Can you confirm that there is no entry in /etc/fstab for file systems existing in vg01.

Also if the entry in /etc/lvmtab exists for vg01 then you need to recreate it using vgscan command.

HTH,
Devender
Impossible itself mentions "I m possible"
Sยภเl Kย๓คг
Respected Contributor

Re: fsck: sanity check failed on vg01when boot the system

Hi,
How did u clone system, is it thorugh ignite with an interactive session or a non user interface.

what is the o/p of #vgdisplay -v vg01: is it showing any PVs in vg01.

1.How many disks do you have in the system
2.vg00 is spread on which disks.
3.#strings /etc/lvmtab |grep vg01 : any entrites for vg01
4.remove any enrties for vg01 in /etc/fstab

revert with these details.
regards,
Sunil
Your imagination is the preview of your life's coming attractions
Devender Khatana
Honored Contributor

Re: fsck: sanity check failed on vg01when boot the system

Hi,

No further response received ? Has the problem got resolved if yes what solution actually worked? Please share.

HTH,
Devender
Impossible itself mentions "I m possible"
Hanry Zhou
Super Advisor

Re: fsck: sanity check failed on vg01when boot the system

There might be some weired characters in /etc/fstab file. Removed some un-necessary lines, then works.
Thanks!
none
Just-In
Occasional Advisor

Re: fsck: sanity check failed on vg01when boot the system

Hi,

Check for the folowing:

1) /etc/fstab - no entries for vg01, If there # those entries.
2) strings /etc/lvmtab - no entries for vg01, if there vgexport vg01. Ensure vgchange -a n vg01 before vgexport.

Rgds, Granite