Operating System - HP-UX
1834826 Members
2906 Online
110070 Solutions
New Discussion

Re: LVM structures inconsistancy?

 
SOLVED
Go to solution
Sridhar Bhaskarla
Honored Contributor

Re: LVM structures inconsistancy?

Hi Mark,

You are left with no option except to reimport your vg00.

Move your /etc/lvmtab back and do a vgexport. Make sure that you have gotten rid of /dev/vg00 directory. You can follow Eran's process as it is.

I hope to see that it's working message tomorrow.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Mark Tiwari
Advisor

Re: LVM structures inconsistancy?

Ok... I have tried out Erans method and things look BETTER. The vgchange works.

At boot up, before the maint prompt, I still get :
"
/sbin/ioinitrc:
fsck: /dev/vg00/lvol1: possible swap device (cannot determine)
exiting
/dev/vg00/lvol1: No such device or address.
Unable to mount /stand -please check the entried in /etc/fstab
"

after getting the maint prompt, vgchange -a y gives:


vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
vgchange: Couldn't re-synchronize stale partitions of the logical volume:
I/o Error
Volume Group 'vg00' has been successfully changed.
v_syncx: returning error: 5
v_syncx: returning error: 5
v_syncx: returning error: 5
v_syncx: returning error: 5
v_syncx: returning error: 5
v_syncx: returning error: 5
v_syncx: returning error: 5
v_syncx: returning error: 5

_________________________________

mount -a gives:

/dev/vg00/lvol8: unrecognized file system.
/dev/vg00/lvol7: unrecognized file system.
/dev/vg00/lvol6: unrecognized file system.
/dev/vg00/lvol5: unrecognized file system.
/dev/vg00/lvol4: unrecognized file system.
/dev/vg00/lvol1: unrecognized file system.

___________________________________________

As far as i understand and guess, my next step is to create a new file system on these logical volumes using newfs? and then restore files from backup?

things definitely look preetier now, with all your help

-mark


Mark Tiwari
Advisor

Re: LVM structures inconsistancy?

Eran:

The only reason i delayed trying out your method was my doubts about the kernel. and since this method was the most involved, I never doubted it's merit though. Thanks.


-mark