On Tue, Jan 3, 2017 at 9:20 PM,  <shadhi...@gmail.com> 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to