1755703 Members
3583 Online
108837 Solutions
New Discussion юеВ

vg00 problems

 
Fayez
Trusted Contributor

vg00 problems

We have rp3410 with mirrored boot disk, when it attempt to boot, it crashed with lots of LVM errors, So I disconnect the primary boot disk, and tried to boot from the alternate boot disk.

I issued hpux -lm, to enter the maintenance mode, run vgcfgrestore command and lvlnboot to restore configuration on this disk, then
I tried to activate the vg00:

#vgchange -a y -g n /dev/vg00

But when I tried to mount any file system it failed, so I tried to run fsck command on one of the file system, it gives me error like:

Not valid vxfs file system.

If there help or comments on this, it will be appreciatedтАж
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: vg00 problems

Shalom

# fsck -F vxfs -o full -y /dev/vg00/

example.

# fsck -F vxfs -o full -y /dev/vg01/rlvol3

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fayez
Trusted Contributor

Re: vg00 problems

I already tried this command, also the following:

#fsck -F vxfs -o full,nolog -y /dev/vg00/lvoln

and still have the same problem...
Mridul Shrivastava
Honored Contributor

Re: vg00 problems

First thing I would say that it is not advisable to mount the filesystem in lvm maintenance mode. In this mode we are supposed to execute only vg related commands like you did then reboot the server in multiuser mode/ single user mode.
Please don't try to go to multiuser mode from lvm maintenance mode it may corrupt the filesystems....

Even after executing the above command you are unable to mount fs then I would suggest you to resotore the ignite image.
Time has a wonderful way of weeding out the trivial
Fayez
Trusted Contributor

Re: vg00 problems

Yes Mridul, You are right, but I did not tried that only after I reboot the system normally after issuing the LVM commands to retore LVM configuration, and the system could not mount all file systems except the root.