Re: Need help with LVM recovery

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

 



On Tue, Jan 3, 2017 at 9:20 PM,  <shadhin71@xxxxxxxxx> wrote:
> All,
>   I need help with following situation
>
> OS: fedora 22
> Dell
>
> My root logical volume was full.  As a result, I attempted to resize my home partition.
>
> My physical volume :/dev/sda8
>
>
> My VG:fedora
>
> Logical volumes are:
>
>
> /dev/mapper/fedora-root
>
> /dev/mapper/fedora-root
>
> Once, I resized volumes, I ran resizee2fs.  However, system will not boot properly due to bad geometry.
>
> To correct the situation, I ran mk2efs.   This fix the geometry but, my /home/<user> is gone.

I'm gonna guess you meant you ran e2fsck. If you really ran mke2fs,
the fs probably not recoverable, if additionally you mounted it, I
don't see how it's recoverable (mounting causes inode initialization
which will write over large areas of the volume, due to the resize, it
will be writing on top of both data and old metadata - the whole thing
will be a mess).

Anyway, I think this is a case for debugfs, but you're probably best
off asking about serious ext4 related problems on the ext4 list. The
more you keep making modifications without actually knowing what
you're doing, the greater the chance of total data loss.



>
>
> Now, I know data is there and I need to recover it.
>
> 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

Doesn't seem related at all. In your steps you've only done a resize
of the fs volume. You hadn't yet resized the LV, and in any case
that's not the problem if you can mount home successfully and it's
just empty. I




-- 
Chris Murphy
_______________________________________________
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