Operating System - HP-UX
1752758 Members
5000 Online
108789 Solutions
New Discussion юеВ

Re: Hard Disk failed data Recover

 
SOLVED
Go to solution
Akif_1
Super Advisor

Re: Hard Disk failed data Recover

Hi Tareq,

If you are not able to view newly created VG under /etc/lvmtab this is an area of concern.

so first you take a backup of old /etc/lvmtab

and scan it for new changes . Hope for the best .


Follow below action plan as advice by our colleague.


# cp /etc/lvmtab /etc/lvmtab_backup
#vgscan -a
#strings /etc/lvmtab* and post the outputs ..


Rgd's
T(ogether) E(very one) A(chive) M(ore)
Enzo Genuardi
Advisor

Re: Hard Disk failed data Recover

Hi Tareq,

If the Akif method doesn't work, try to do first a:
# pvdisplay -l /dev/dsk/c3t6d0
If you have a HPUX 11iv1 or 11iv2, you may need to add some patch, unless it should report LVM_Disk=yes! In that case you could try to:
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgchgid /dev/dsk/c3t6d0
# vgimport -v vg01 /dev/dsk/c3t6d0
# vgchange -a vg01
# for x in /dev/vg01/lvol*
> do fsck -y $x
> done

Hope it will help!
Cheers.
tareq_2
Regular Advisor

Re: Hard Disk failed data Recover

hi Enzo
i have hp-ux 11i v1
what is the name of the patch what i need.
and i cannot understand the last two lines of your commands
thanks for help
johnsonpk
Honored Contributor

Re: Hard Disk failed data Recover

for x in /dev/vg01/lvol*
> do fsck -y $x
> done

above is a script to do fsck of lvs in the volume group vg01


By the way , you were successful in recreating lvmtab ?

tareq_2
Regular Advisor

Re: Hard Disk failed data Recover

hi john
when i try to create the lvmtab there is no anything about vg01 they tell me something like there is no vg01 or cannot find the vg01
thanks
johnsonpk
Honored Contributor

Re: Hard Disk failed data Recover

I guess there is some dark areas still ,

for better troubleshooting and to pin point exact problem ,you may think of providing screenshot / output (obviously it is your wish)


regards!
johnson
tareq_2
Regular Advisor

Re: Hard Disk failed data Recover

thnx for all