Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-18-2008, 08:31 AM   #1
Registered: May 2007
Posts: 64

Rep: Reputation: 15
Rescued my system-partition using dd... now it is full?

Might b, this os not the right place for this post.

After having trouble with knoppix using qtparted for making my sys-partition bigger, I created a bigger one and dd'd my sys-partition to that.
The bigger one had suddenly a usage of 100 %.

I created another, with the same size of the one to rescue data on.

And dd'd again on that new hoping having now more place for some reasons.
but it also has a usage of 100%( I could have guessed that).

Is there a possibility to get this unused space free for usage again?

My first was 3.8 GB, my new one should take 4.5 GB, so normally on a 4.5 GB 3.8 GB are used, but why is it called 100%.
Does anyone know something useful for that problem?

THX in advance.
Old 12-18-2008, 09:48 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
If the file structure on the bad partition was corrupt then the inode table for the new partition would have received the bad file structure. I would recommend using tar if it will work. That way files on the new partition are created through the kernel and the file structure will be okay.

You could try running fsck on the new partition to see if that frees up the disk space. Note that if you are not using ext2 or ext3 then you will have to use a different utility to repair the file system. (i.e. xfs_fsr or xfs_repair for an XFS file system)
Old 12-19-2008, 02:38 AM   #3
Registered: May 2007
Posts: 64

Original Poster
Rep: Reputation: 15
It got even worse now...

It did not work.

all e2fsck-tries ended up immediately wih one line as result, which tolde me the block and directory-usage.

After I checked by tune2fs, how many starts an automatic checks would need (4) I restarted four times instead of setting it to one or the next.
The automatic told me, check forced and checked bit freed nothing.
Instead of that I get the information, that my fstab is not correct.
It all ended in the misery, that I cannot boot any more, because everytime the dmesg at the beginning tells me to start 32fsck manually.
But it does not work, I only get one line with the result of used directories and blocks.

I checked my fstab: empty.

I could not write into it nor write a new one, because the fs tells me, it is fully occupied.

Even more strange is the fact, that qtperted on knoppix tells me, this partition has a size of4.5 GB and 3.2 are used, means, qtparted gets the right information……. E2fsck and the kernel itself does not seem to scan the pertition right.

What can I do ( not to mention, never using dd for such things any more), because qtparted seems to scan correctly, there MUST be a possibility… but which?

THX in advance.
Old 12-19-2008, 02:45 AM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,188

Rep: Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131Reputation: 4131
It is the filesystem that is reporting as it was when you imaged it - as it should.
Simply resize it - it will fill the partition by default - "man resize2fs".
Old 12-19-2008, 03:59 AM   #5
Registered: May 2007
Posts: 64

Original Poster
Rep: Reputation: 15
THX. Will try that and post the results.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rescued w/Knoppix, now can't click KDE desktop Icons mjdava Mandriva 5 01-12-2007 11:00 AM
How to install Grub by using rescued disk? oneononexy Fedora 3 12-05-2006 08:47 AM
Partition full giraf Debian 10 08-10-2006 09:08 AM
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
why the partition is full? xyfan Linux - Newbie 4 11-09-2003 05:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:42 AM.

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