Gparted crash while moving/expanding ext3 ext partition
Posted: 31 Jan 2013, 02:55
Hi All
I have an ext3 file system in an extended partition /dev/sdb5
I reduced another partition to extend and move /dev/sdb5 to the left.
The extend/move was being done from a Mint Live CD.
During the extend/move gparted crashed and the partition now shows as fully extended into the space and shows as a linux partition, however it is now showing with no filesystem (no I didn't back it up, yes I am an idiot).
I'm currently running testdisk across the drive to see if I can detect then recover the existing superblocks.
I have a couple of questions.
1. When gparted is doing an extend/move I think it does a sector by sector copy?
2. As I'm not sure at what point gparted crashed (It could have been before the data was being copied or during) I'm trying to get my head around where I might be.....
If the data copy hadn't started and we were still doing the extend does it just write the new start sector to the extended partition marker and the actual partition, this seems to have been successful as the partition is the new bigger size.
How do I tell the OS that the partition should be ext3?
If the data copy has started I could be in the horrible situation of half the data moved to the left correctly and half the data hanging in the middle of the new partition, as most of the examples here are talking about windows and ntfs partitions how do I go about merging my data back together?
Thanks in advance.
I have an ext3 file system in an extended partition /dev/sdb5
I reduced another partition to extend and move /dev/sdb5 to the left.
The extend/move was being done from a Mint Live CD.
During the extend/move gparted crashed and the partition now shows as fully extended into the space and shows as a linux partition, however it is now showing with no filesystem (no I didn't back it up, yes I am an idiot).
I'm currently running testdisk across the drive to see if I can detect then recover the existing superblocks.
I have a couple of questions.
1. When gparted is doing an extend/move I think it does a sector by sector copy?
2. As I'm not sure at what point gparted crashed (It could have been before the data was being copied or during) I'm trying to get my head around where I might be.....
If the data copy hadn't started and we were still doing the extend does it just write the new start sector to the extended partition marker and the actual partition, this seems to have been successful as the partition is the new bigger size.
How do I tell the OS that the partition should be ext3?
If the data copy has started I could be in the horrible situation of half the data moved to the left correctly and half the data hanging in the middle of the new partition, as most of the examples here are talking about windows and ntfs partitions how do I go about merging my data back together?
Thanks in advance.