LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-16-2009, 03:45 PM   #1
troy.mcclure
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
GParted resizing has corrupted a partition


Hi All,

I was running Karmic 64bit, and wanted to install a 32 bit version.
I've resized a partition with GParted, shrank it with 20GB. It was previously mounted to /home.

All partitions are ext4, and I'm on RAID0 using my Intel's ICH9R.

After shrinking and installing the 32 bit karmic on the new partition, the old /home partition isn't accessible.

fsck.ext4 /dev/mapper/isw_bahdiiijae_Volume06 (the problematic partition) returned:

The filesystem size (according to the superblock) is 46026217 blocks
The physical size of the device is 40905498 blocks
Either the superblock or the partition table is likely to be corrupt!


I know that the physical size is "right", since it's after the shrink. The superblocks see the data before the shrink.

I have done many tries and google searches, and nothing helped.
I didn't manage getting testdisk, fsck, fsck.ext4, resize2fs nor e2fsck to work.
Also, all my tries to find how to change the size of the disk as the filesystem thinks it is, have failed.

Please, help me save my dear /home!
 
Old 11-16-2009, 06:02 PM   #2
jonesr
Member
 
Registered: Feb 2008
Location: Sacramento
Distribution: RHEL AS, mostly
Posts: 44

Rep: Reputation: 18
Quote:
Originally Posted by troy.mcclure View Post
... I didn't manage getting testdisk, fsck, fsck.ext4, resize2fs nor e2fsck to work. ...
According to the FAQ, resize2fs or ext2resize were the programs that could have resized the logical structures to prepare the file system for the change of physical size. What happened when you tried resize2fs?

Others can/should chime in and deliver lectures on backing up your data, but IMHO you can now only try to fsck your way through /home and cross your fingers that most of your data was not in the far end of the file system. Since you have already reallocated and reused the space I don't know of any way to back out of where you are now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 9.x install corrupted NTFS partition; repair corrupted TrueCrypt partition halfer Linux - General 1 06-30-2009 02:59 PM
Resizing the hard disk with Gparted altella Ubuntu 4 11-17-2008 04:43 AM
Problem with resizing NTFS partitions (Gparted) Hamlets Linux - Software 4 05-20-2007 08:46 AM
GParted NTFS Resizing-Has anyone had any problems with it? FreeDoughnut Linux - Software 11 11-08-2006 06:14 AM
error resizing NTFS partition with gParted live CD Nived87 Linux - Newbie 5 05-29-2006 01:53 AM


All times are GMT -5. The time now is 01:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration