Operating System - HP-UX
1755303 Members
3896 Online
108831 Solutions
New Discussion юеВ

deleted /dev/vg0x/group file!?!?

 
SOLVED
Go to solution
Mike Hassell
Respected Contributor

deleted /dev/vg0x/group file!?!?

Fellow HP-UXers,

So I'm right in the middle of doing a full scale disaster recovery test and I've restored using my ignite tape and I'm in the process of resotring my lvols and I've done something *very* stupid..

I used SAM to import the physical disks into /dev/vg03 and I wanted to create the new lvols there, so I had to remove the old ones, so I did a 'rm -rf /dev/vg03' and killed the group file. So I'm now at a loss of how I can get my lvmtab back in good shape. I do a vgscan and it tells me which physical disks I have that aren't attached to volume group, however I can't do anything without that group file. Any ideas?
The network is the computer, yeah I stole it from Sun, so what?
2 REPLIES 2
Sachin Patel
Honored Contributor
Solution

Re: deleted /dev/vg0x/group file!?!?

hi Mike,
You can create that group file
#mknod /dev/vg0n/group c 64 0x0n0000
#chmod 644 /dev/vg0n/group

Then
#vgimport vg0n
if necessarry.
It sould take care.

Sachin
Is photography a hobby or another way to spend $
Mike Hassell
Respected Contributor

Re: deleted /dev/vg0x/group file!?!?

Sachin,

Thanks for the quick response, worked just fine for me.

On to creating all those lvols..

- Mike
The network is the computer, yeah I stole it from Sun, so what?