1837512 Members
3859 Online
110117 Solutions
New Discussion

Re: i loss /dev/vgxx

 
Manuel_5
Advisor

i loss /dev/vgxx

I can recover /dev/vgxx from tape?
Manuel Parra
8 REPLIES 8
Dave La Mar
Honored Contributor

Re: i loss /dev/vgxx

Manuel -
Your question is a bit vague. Dependent upon your need -

1. vgrestore may fix your problem
2. data from tape may fix yor problem

Is it data, or the vg altogether?

Best of luck.

Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Michael Tully
Honored Contributor

Re: i loss /dev/vgxx

What part have you lost, the whole directory and it's contents ...?
or the volume group ?

Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: i loss /dev/vgxx

If you made a make_tape_recovery tape, yes.

Boot off the tape and restore the volume groups you included in the recovery tape.

If you didn't and you somehow deleted the files in /dev/vgxx

No, you will need to go through another procedure.

Tell us what you did and someone will help you.

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
Michael Steele_2
Honored Contributor

Re: i loss /dev/vgxx

mkdir /dev/vgxx
mknod /dev/vgxx/group c 64 0x#0000 (* where # is the previous minor number used *)
vgcreate /dev/vgxx
vgcfgrestore /dev/vgxx /dev/dsk/cXtYdZ

To find the disk of /dev/vgxx

vgcfgrestore -f /dev/lvmconf/vgxx.conf -l

-or-

strings /etc/lvmtab | more

mount -a
bdf
Support Fatherhood - Stop Family Law
Michael Tully
Honored Contributor

Re: i loss /dev/vgxx

The best way is to probably restore from backup tape providing you have one that works. What format is the backup in?

If you don't have a backup it can be done manually but it is extremely messy and further problems could arise.

How did it get like this?
Anyone for a Mutiny ?
Manuel_5
Advisor

Re: i loss /dev/vgxx

I have hp-ux 11.00
I loss alone directory and it's contents(/dev/vg03 and /dev/vg04).
Data and operating system is OK.
Manuel Parra
Tim Adamson_1
Honored Contributor

Re: i loss /dev/vgxx

Hi,

If you are only missing the file in /dev/vg03 and /dev/vg04 then the data should be fine.

You can restore the files from backup or recreate them. Restoring from backup would be the best idea as recreating them may get tricky if you can't remember the group name and if the lvols were named differently.

Cheers!

Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Manuel_5
Advisor

Re: i loss /dev/vgxx

thanks to all.
I recover of tape


Manuel,
Manuel Parra