[Novalug] Dclug Digest, Vol 42, Issue 10

Ivan imak at endosys.com
Fri Apr 16 09:11:45 EDT 2010


Turns out this is also in Fedora 12. Am about to give it a shot on a new
USB drive that seems to have gone blank on me.

- Ivan

On 04/15/2010 12:00 PM, dclug-request at calypso.tux.org wrote:
> Date: Thu, 15 Apr 2010 10:15:48 +0000 (GMT)
> From: Miguel Gonzalez <miguel_3_gonzalez at yahoo.es>
> Subject: Re: [Dclug] testdisk - disk utility for recovery of disk
> 	problems
> To: dclug <dclug at calypso.tux.org>,	Maxwell Spangler
> 	<maxlists at maxwellspangler.com>
> Message-ID: <595272.28913.qm at web23302.mail.ird.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> This tool (also Photorec) is included in the very useful toolbox live cd called system rescue CD.
> 
> Regards,
> 
> Miguel
> 
> --- El mi?, 14/4/10, Maxwell Spangler <maxlists at maxwellspangler.com> escribi?:
> 
>> > De: Maxwell Spangler <maxlists at maxwellspangler.com>
>> > Asunto: [Dclug] testdisk - disk utility for recovery of disk problems
>> > Para: "dclug" <dclug at calypso.tux.org>
>> > Fecha: mi?rcoles, 14 de abril, 2010 18:13
>> > Just found this yesterday while
>> > helping someone in North Carolina with
>> > an LVM problem.  In his case, he accidentally deleted
>> > a primary
>> > partition containing an LVM and needed to regain access to
>> > his data.
>> > 
>> > Testdisk http://www.cgsecurity.org/wiki/TestDisk
>> > is a Linux utility that
>> > allows recovery of various disk related problems like
>> > missing
>> > partitions.
>> > 
>> > On my test system I was able to delete two LVM partitions,
>> > reproduce his
>> > environment, then use testdisk to scan the disk, recover
>> > the partitions
>> > exactly and restore the LVM's volume groups.  Really
>> > easy and a great
>> > tool to have in your toolbox for future problems.
>> > 
>> > Specifically, the procedure to recover was:
>> > 
>> > 1. rpm install of testdisk
>> > 2. run testdisk as root
>> > 3. point it to the physical hard drive in question
>> > 4. let it scan the drive from start to finish, allowing it
>> > to find
>> > partitions
>> > 5. write a new partition table out, thus recovering the
>> > partitions that
>> > were lost
>> > 6. # partprobe (or reboot) to allow the kernel to
>> > re-discover recovered
>> > partitions
>> > 7. # vgscan to find the volume groups
>> > 8. # vgchange -a y      to reactivate the
>> > found volume groups
>> > 9. # mount..  the lvms on those volume groups
>> > 
>> > Hope you find this useful,
>> > -- 
>> > Maxwell Spangler
>> > ========================================================================
>> >         Linux, Unix and Database
>> > Administration
>> >         Currently: Boulder, Colorado
>> >         LinkedIn: http://www.linkedin.com/in/maxwellspangler
>> > 




More information about the Novalug mailing list