Re: recommendations on how to recover a corrupted, LVM-based hard drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 12, 2014, at 9:39 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> 
> 
>  /dev/vg1/home /opt/home     ext4    defaults        1 2
> 
> so that (obviously) what used to be the "home" logical volume in the
> old "vg1" volume group appeared under /opt/home, and was available for
> the occasional restoration of old content.
> 
>  problem: person was trying to write a 2G bootable (embedded Linux)
> image to an inserted USB drive and, rather than writing to /dev/sdc
> (the USB drive), "dd"ed to /dev/sdb instead, overwriting the first 2G
> of the secondary hard drive and, with it, whatever LSM content resided
> in that first 2G.

What was the approximate partition scheme of the disk before it was overwritten with dd? Typical would be a boot partition first, causing the LVM partition to be offset well back from 2MB from the start of the disk, in which case pvck can be used to find it.

man pvck

Chris Murphy

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux