Operating System - HP-UX
1753774 Members
6531 Online
108799 Solutions
New Discussion юеВ

Re: /dev/vg00 deleted - no mapfile

 
SOLVED
Go to solution
sujit kumar singh
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

hi

to know about waht disks were a part of vg00

u can also run the vgcfgrestore command in the following manner depending on that the VG vg00 LVM Conf backup file that is as /etc/lvmconf/vg00.conf is okay and that shud be OK.

#vgcfgrestore -l -n vg00

or

#vgcfgrestore -l -f /etc/lvmconf/vg00.conf /dev/vg00


Wreagards
Sujit
TMcB
Super Advisor

Re: /dev/vg00 deleted - no mapfile

i realy appreciate your help.

I
recreated all the files under /dev/vg00 using, :
mknod lvol1 b 64 0x000001
mknod rlvol1 c 64 0x000001

now when I reboot I get eror below
lvlnboot: Could not find root lv related info to create /stand/rootconf file
: ioinit: Rebooting the system because /etc/ioconfig and /stand/ioconfig files are inconsistent

thanks
sujit kumar singh
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

hello


remeber that even if u have not a map file for a VG, u can still import the VG and get that running if u know the list of the PVs in that VG.

and if u have forgot that list of PVs also u can get that if u have an intact VG conf file for that VG, generally kept as /etc/lvmconf/.conf

and u can get this by

#vgcfgrestore -l -n /dev/

or

by

#vgcfgrestore -l -f /etc/lvmconf/.conf /dev/


-l option of vgcfgrestore is for listing the PVs and some other informations ... do not worry.
this list u the PVs which u can use witht the vgimport command.

Please refer to the man pages of vgcfgrstore(1M) and vgimport(1M) for the further details.


Regards
Sujit
sujit kumar singh
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

hi

please read all the three posts that i have made before u are planning to do anything .. and after that decide...

root vg can be modified imported , exported only in the LVM MAINTENANCE MODE.



I again say please read all my three erlier posts.

regards
Sujit
sujit kumar singh
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

hi


read the post of Torsten that u can vgimport root vg even if u have no map file.


but the vgexport and vgimport that is rewd to solve this scenario can be done only in LVM Maintenance mode.


Please reboot in LVM maintenance mode.

and post the errors that u get in the LVM Maintenance mode.


The error that u are getting is due to the fact that u have those lvol files created.

the /stand/ioconfig file is intact but the /etc/ioconfig is not valid.

u will need to recreate but do not worry fpr that

first boot the system in LVM Maintenance mode and tell me what u can see the system says.


Regards
Sujit

regards
Sujit
Torsten.
Acclaimed Contributor

Re: /dev/vg00 deleted - no mapfile

Do you know how to get into LVM Maintenance mode?

If not, tell us your server model (HP9000 or Integrity) and we can guide you ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
TMcB
Super Advisor

Re: /dev/vg00 deleted - no mapfile

sorted - guys thanks you all for your help - I really appreciate it- probably wouldnt have got it back on my own

Bye

sujit kumar singh
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

Hi

congrats and great news friend... well done indeed ....

REgards
Sujit
TTr
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

> sorted - guys thanks you all for your help

If you don't mind, tell everybody what you did exactly to fix it. It is not clear that it was the LVM maintenance mode or a simple reboot to sync the ioconfig files.
Without a confirmed solution, this entire thread with all these great answers is totally useless.
sujit kumar singh
Honored Contributor

Re: /dev/vg00 deleted - no mapfile

Hi freind,


This shall be great indeed if u can share waht actually went to solve the problem.


Reply awaited...

Regards
Sujit