1753971 Members
7575 Online
108811 Solutions
New Discussion юеВ

Corrupting a LIF area

 
Pavankumar.B.P
Occasional Contributor

Corrupting a LIF area

Hello Guys,

How to corrupt a LIF area, so that I can practise the recovery process in the test system.

Thanks & Regards,
Pavan
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: Corrupting a LIF area

Hi,

# lifrm /dev/rdsk/cxtydz:F

or something more wild, dd something to the first part of the disk

# dd if=/dev/zero of=/dev/rdsk/cxtydz bs=2k count=2

Robert-Jan
Bill Hassell
Honored Contributor

Re: Corrupting a LIF area

Note that corrupting th LIF area has diffrent meanings..the lifrm command removes commands like hpux (the HP-UX bootstrap program) but using dd to the beginning of the disk area will not only destroy the LIF area but also the BDRA (Boot Data Reserved Area) which contains information about the LIF and boot areas, and also destroy the disks VGRA which has all the details about the logical volumes on this disk. So recovering from the dd command will be much more involved than removing files from the LIF area.


Bill Hassell, sysadmin