Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: reiserfs partition corrupted

  1. #1

    Angry reiserfs partition corrupted

    hi guys, happy new year, it's been a while...

    i have a root reiserfs partition abt 13 GB, that seem to have been totally corrupted (unable to boot it anymore).

    it began with a mysterious disk-space issue, i had about 500 MB free,
    using df -h, I noticed that it would rapidly decrease from abt 500 to a few KBs, without apparent reason.

    now, i tried to fix it using reiserfsck, then reiserfsck --rebuild-tree, where fixed some things, but it stopped past PASS 1 b/c insufficient diskspace, at that point i was unable to mount/boot it anymore.

    does anyone know of a possible way to still rescue it? any program/procedure ?

    any help is appreciated.

    OS:
    slackware 11
    The second step on the way to become a hacker is to run GNU/Linux. (first step is to buy a computer)
    My old skewl http://www.skoz.nl/spelevaert/

  2. #2
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    7,177
    Did you have / and /swap as the only partitions? If /var is not on it's own partition, it CAN take up and fill the root drive pretty quick, but it shouldn't do 300 MBs like that unless you were running a server.

    Have you had a look at /var/log?

    I know it's possible to fill quick, I set up Slackware 13.0 on an OLD machine as a secondary FTP server and transferred over 50 GBs to it in an hour.

  3. #3
    yeah, /var was in the same partition, and im starting to get afraid that /home was there too :S since i can't locate it in my backups, but it was like in seconds, the whole partition gets full, i mean it got to be a problem with the filesystem.

    however, my main problem now is try find a way to repair it other that reiserfsck stuff,

    cheers

    EDIT:no it's not a server just for personal use. that's weird
    Last edited by HackerzMaster; January 5th, 2010 at 07:58 PM.
    The second step on the way to become a hacker is to run GNU/Linux. (first step is to buy a computer)
    My old skewl http://www.skoz.nl/spelevaert/

  4. #4
    Quote Originally Posted by HackerzMaster View Post
    however, my main problem now is try find a way to repair it other that reiserfsck stuff,

    cheers
    Again.... are you running a server or have a Media Center setup? You never told us what you're running. Could be a file permission problem. If you have scheduled recordings setup with the DVR setup, delete all those high-def mpegs. Those could suck the life out your rig.

    Try the following:
    1. boot with a livecd; login at the console
    2. Try to mount the suspected partition; 'fsck' to repair
    3. after mount, delete huge files in your /tmp in root and do the same for each account you have setup. Using the filemanager in GUI can quickly find those files by name and date using the search feature.
    4. Surgery: In your home directory, view hidden files. Delete everything in .Trash -- guessing your setup.
    5. You can regain some file space by deleting .gz or .zip files inside /var/logs

    [5] Keep your home directories off the system partition.

  5. #5
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    Hmmmm,

    A Slackware 11 root partition of 13Gb..............that sounds rather excessive to me, what else is in there? I don't know Slackware, but I can run Windows 2000 quite happily on a 2.1Gb HDD?

    Have you tried booting with a live CD and see if you could get into the partition? If you can, you might try moving stuff into another partition to create more space. Or just temporarily save it onto a DVD or USB drive.

    I guess the first thing I would do in these circumstances is get the HDD manufacturer's diagnostic tool and run that. When strange things like this happen right out of the blue it frequently means that the HDD is on the way out.

  6. #6
    Quote Originally Posted by nihil View Post
    I guess the first thing I would do in these circumstances is get the HDD manufacturer's diagnostic tool and run that. When strange things like this happen right out of the blue it frequently means that the HDD is on the way out.
    Keep it simple. If that HDD is S.M.A.R.T. it can tell right away if it's dieing. For the OP....on the commandline 'ls /usr/bin | grep smart'.

    -rwxr-xr-x 1 root root 1230268 Apr 7 2009 gsmartcontrol*
    -rwxr-xr-x 1 root root 2871 Apr 7 2009 gsmartcontrol-root*

    gsmartcontrol can give you a status on all your active HDD's
    Attached Images Attached Images
    Last edited by Linen0ise; January 5th, 2010 at 08:29 PM.

  7. #7
    hi there,
    it's not a file permission problem the partition is messsed up.
    used a live cd, and no mounting, and as i said im now only concerned about recovering it.
    the thing happened when rebuild-tree froze in the middle, (i was told this is a serious thing)

    EDIT: im running now on a windows partition on the same hd, have similar issues, with disk-space.
    but what i need now is any advice on recovering the reiserfs partition.

    EDIT: no media centre or anything, just regular use, couple of movies that's all
    cheers
    Last edited by HackerzMaster; January 5th, 2010 at 08:37 PM.
    The second step on the way to become a hacker is to run GNU/Linux. (first step is to buy a computer)
    My old skewl http://www.skoz.nl/spelevaert/

  8. #8
    Quote Originally Posted by HackerzMaster View Post
    what i need now is any advice on recovering the reiserfs partition.

    cheers
    Try this from the liveCD

    reiserfstune --no-journal-available <disk>

    allows reiserfstune to continue when the current journal's block device is no longer available. This might
    happen if a disk goes bad and you remove it (and run fsck).


    Hope you get your stuff back

  9. #9
    will try this and get back,
    The second step on the way to become a hacker is to run GNU/Linux. (first step is to buy a computer)
    My old skewl http://www.skoz.nl/spelevaert/

  10. #10
    Before you pull the life support on that HDD, search for a low-level disk tool that allows you to flash or reset all stored "bad" blocks it think it has. I forgot what you call those programs but I know they exist. You probably need to check the drive company's download section for that drive model.

Similar Threads

  1. Windows Error Messages
    By cheyenne1212 in forum Miscellaneous Security Discussions
    Replies: 7
    Last Post: February 1st, 2012, 02:51 PM
  2. The Partition Sector (boot process)
    By KissCool in forum Other Tutorials Forum
    Replies: 5
    Last Post: September 30th, 2006, 06:34 PM
  3. Partitions
    By IcSilk in forum Hardware
    Replies: 14
    Last Post: March 5th, 2005, 04:59 PM
  4. Fdisk and Diskpart commands
    By DeadAddict in forum Other Tutorials Forum
    Replies: 2
    Last Post: February 20th, 2004, 05:13 PM
  5. Why Grub?
    By E5C4P3 in forum *nix Security Discussions
    Replies: 3
    Last Post: February 28th, 2002, 10:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •