I maked a gz backup with dd from the two partitions of a raid1 with ext3, then i'am trying to recover any of it into a lvm logic vol (bigger than the original partition size).
I did a dd if=theGzFile | gunzip | dd of=/dev/volGroup/name and later ... and later... when i try to mount it as ext3 i received:
incorrect file system type, incorrect option, incorrect superblok on /dev/VolGroup/name missing code page, or any other error BLA BLA BLA ... (Translated from spanish)
Then i try fsck.ext3 /dev/VolGroup/name receiving:
Couldn't find ext2 superblock, trying backup blocks...
/sbin/fsck.ext3: Bad magic number in super-block while trying to open /dev/VolGroupRaid5/ubuntu
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193
And using mdadm -E /dev/VolGroup/name gives me:
mdadm: No md superblock detected on /dev/VolGroupRaid5/ubuntu.
Not idea on where is my mistake/s, ?needs to be same partition size for recovering it? ?or worst, need to be the same partition? ?i cant recover it on a lvm logic volume?
thx for your help.