Re: Need help with LVM recovery

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

 



On Tue, Jan 3, 2017 at 8:20 PM,  <shadhin71@xxxxxxxxx> wrote:
>
> Once, I resized volumes, I ran resizee2fs.  However, system will not boot properly due to bad geometry.

Too late to help now, but you should run "lvresize -r" when shrinking
filesystems, so that the filesystem is resized first.

> To correct the situation, I ran mk2efs.   This fix the geometry but, my /home/<user> is gone.

If you've run mke2fs, it's probably time to go to backups.

> I found a recovery point from 2014 in /etc/ LVM/archive.  However, my problem is when I try to recover with
> Pvcreate --uuid xxxx --restorefile file /dev/sda8
> I get partition is already mounted error

If there's any hope of using that, you'd probably need to boot the
installer, copy that file out of the damaged system, unmount the
damaged filesystems, and then attempt to recover the old LVM
configuration, and then recover the filesystems.  However, recovery of
the filesystem in place may not be possible, and as Chris indicated,
you almost certainly want to avoid making any changes to the data on
the disk (filesystems or files) until your data is recovered.  That
means copying data off of that disk to another disk.

You probably want to look at photorec and testdisk.  Run them from a
bootable live USB installation to see if they can find your files.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[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