January 5th, 2010, 08:59 PM
You might try this:
It will recover anything it can find on a drive and attempt a repair.
What version of Windows and how much space?
Have you run a hard drive diagnostic yet?
January 5th, 2010, 09:28 PM
thanks for your help
here is what i got so far:
reiserfstune --no-journal-available /dev/sda4
reiserfstune: Filesystem looks not cleanly umounted, check the consistency first .
reiserfsck /dev/sda4 gives:
Bad root block 0. (--rebuild-tree did not complete)
January 5th, 2010, 10:29 PM
Well, I personally don't hold out much hope of recovery, perhaps it would be wise to consider what caused the problem?
1. Slackware 11 is a 2006 distro which suggests that your HDD is older than that?
2. It is not a question of if a HDD will fail it is just a question of when. I always check the hardware first in situations like this.............the test only takes minutes compared with hours messing with OSes and Apps, only to find that the HDD is past it and you are going to have to start over anyway
3. You have been having problems with both your Slackware and Windows partitions due to lack of filespace? That tells me you are filling them too full..........I personally try to allow 20% freespace on a drive/partition to give tools some space in which to operate. OK, you don't need that much if it is just a data storage partition or drive, but I still wouldn't like to go under 10%
4. Do you have access to a Windows machine that would accept a slaved drive? I seem to recall that there is a file recovery utility that will run under Windows that will fix reiserfs problems?
5. How much RAM does your machine have?
Unfortunately SMART isn't................it has a detection rate of less than 60%. Anyway, manufacturers diagnostics check the SMART logs as well. Might as well go the full mile IMO.
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'.
Please remember that SMART is predictive, whereas the manufacturer's diagnostic is analytical.
Work at Google
on over 100,000 drives has shown little overall predictive value of S.M.A.R.T. status as a whole, but suggests that certain sub-categories of information which some S.M.A.R.T. implementations track do
correlate with actual failure rates – specifically, in the 60 days following the first scan error on a drive, the drive is, on average, 39 times more likely to fail than it would have been had no such error occurred.
Last edited by nihil; January 5th, 2010 at 11:10 PM.
January 6th, 2010, 01:57 AM
I think the drive is trying to commit suicide. Don't take it the wrong way, but if TWO OSs, BOTH are having these problems, you've already done one part by testing it with another OS entirely.
I mean, had you booted Windows and had no issue, then OK, maybe there was a partition problem with your "/" file system, however, booting another OS up and seeing a similar issue, there MIGHT be a small chance you can try to recover things, but I would very seriously consider buying a new disk, as this one might be on it's last legs unless for some reason you were holding a Bass Amp near it.
Sound can damage a disk and so can heat, but filling a disk, I don't think I've even heard of this before, so, I'm thinking the disk is going. Have you noticed any strange noises? Like a grinding sound? Lots of disk activity when there shouldn't be?
I've only seen a disk go once in my 10 years where it physically was grinding, and it was a Windows machine of my Mom's, and She had told me there was this weird problem and "It wasn't working right and it sounded funny like a WRRRRRRRRR" lol.
Two days later it wouldn't even boot, and I finally heard the sweet sound of a hardware device begging lol. anyway, long story short, I pulled the drive out, which was a crap 9 GB "Fireball" or whatever the hell they called it, I hadn't even heard of this brand before, and the thing was grinding like a Stick shift with an idiot at the wheel.
So anyway, if you have another disk, I'd say pop it in, and start over, and possibly trying to mount the old disk and recover some of your stuff, but don't assume it will, as a physical error on a drive isn't exactly going to just stop.
I saw someone saying to try low level, and I agree, you may be able to try and use it from that, but the data is most likely gone. Do you have back ups somewhere else? I take back ups pretty seriously ever since I got totally screwed once where I lost all my personal files, and had really no back ups except a few things on floppy disks, and it was hard, I was pissed, and from that day, I started making sure I had at least a ZIP Drive, which at the time worked fine, and I then, lost everything again....
Here is how stupid I was this particular day:
I was planning on doing a tri-boot scenario. I had Windows 98 SE, and Linux, and planned on putting FreeBSD on, and made the partitions, and I don't know why, but I for some reason decided "Well I can erase these old back ups and make new ones... AFTER I install an OS, like FreeBSD, and that should be fine!".....
I felt like a moron, and I was. The drive stopped booting do to HD errors, and I had deleted my back ups, and for the second time, lost my stuff.
Now I have a nice FTP server set up on my old desktop, with an extra disk on there for storage, and, I've started using an old machine (My Mom's, who's disk pissed on itself) and using that for the very much needed data so I can back those up in two machines, and now I have two machines with back ups, and a separate external USB HD, where I have back ups again, + CDs I burned of the really needed stuff. That's like 4 different locations just in case. And on top of that I still have my ZIP Drive, so some of the under 100 MB files are still on there.
This might seem like way too much for anyone, but I have good back ups for the most part, and a lot of them, which makes sure I won't lose all my stuff again from a disk drive either stopping, or from a whoops format / rm -rf /* / del /S /Q *.* or whatever else lol.
Sorry for the length and oddness of my post. It's almost 8 PM right now, and I went to bed Monday morning at 4:30 AM, and got up at 9:30 AM, and then was awake until 10:40 AM, and an hour later I was awake again, and I'm still up... Wee bit tired. Wanted to help though.
January 6th, 2010, 02:07 AM
The Smart feature has alot of error codes to present to you at anytime. If your supplier starts acting up.....stop them in their tracks and give them a random smart code. They will shut up and summerize an error report. For example......error code 203 means ECC errors. After giving the supplier that code what else can they say to you? The supplier works for you under contract. You don't have time to defrag, do this and do that. Make them work.
Originally Posted by nihil
They will end up giving you a free tech person to replace all those harddrives or give you priority over everyone else when their supply is low. As a bonus, it will stop the clock until the new unit arrives 2-3 days later. If your customers complain, give them the RMA number and tell them to STFU. **This is a good answer to give an interviewer if you are looking for a tech job and hardware failure questions come up. It separates the men from the little boys.**
The person working at Google didn't tell you the whole story. This is how you get things done and make people jump. That code saved your workload and made you look good to the boss when the customers are complaining to him/her. You right....it is predictive in this case.
Last edited by Linen0ise; January 6th, 2010 at 02:17 AM.
January 6th, 2010, 08:33 PM
i tried this diagnostic thing, called pc-doctor that came preinstalled, and strangely enough, it passed all tests (both simple & extended).
i dunno, maybe its some bad sectors, cuz i remember dropping it once (it's a laptop, no biggie just from about a feet or so).
and i think the large size ( 13GB / ) is due to having /home, /var within same partition, which is stupid i know.
im looking through my portable hd backups, hopefully i'll find some old stuff..
January 6th, 2010, 09:43 PM
Having a bi / partition isn't a bad thing. The only time I really go for making customized partitions is when I'm setting up a box for something specific, which is rare for me.
I set up a FreeBSD machine not to long ago, and everything was set up on it's own slice more or less, which is what FreeBSD uses for that, and I was doing it basically as a test machine, and as a test server, so I made very small root and so on partitions, and then the rest was for /usr.
I'm setting up a machine right now, with Slackware, where I'm going to be using it for multiple things.
I'm setting up a swap space of one gig, and then, the rest is going as one big / partition. No separate /home, no separate /var, nothing. I have a 120 GB HD in that machine, and so 1 gig for swap and the rest as a / partition, will do fine, since I'm going to be using it mostly for testing out as a new FTP server.
I'm running low on disk space on my main Server which has served me so well, but now I have a lot of stuff I need to have backed up, and some isn't going to fit even though that machine, which came with a 43 GB HD (Yes, 43) which I've dedicated to /storage and allowed all users to read and write to it, and then, I installed a 160 GB HD in it, switched the plugs around, and made it the master drive with swap and one big huge / partition, and i's getting full from me backing up my CD collection on it, as MP3s, and also from me storing all my stuff on it. I have like 10 user accounts on there so that people who come over can use it too, but they don't store as much as I do.
So I had to figure out where to store everything else, and decided on trying out a new version. The Slackware I have installed on the server is 12.0 and I'm using 13.0 on the old machine I talked about before which only has an 80 GB HD in it, so I'm like OK, well, I need a machine that can handle a bit more and has a better processor and more RAM.
The machine I had set up, with the 80 GB HD, has a crap Celeron Processor that's 433 MHz, and it only has 192 MBs of RAM. So, this machine, with a 120 GB HD, and 512 MBs RAM, has an AMD Athlon XP 2600+, so I'm using that to test how Slackware 13.0 works as a Server.
Anyway, point is, the / partition you made is fine. I don't think there is any problem at all. When I make a /home partition, I generally make that the biggest, but I don't like small root partitions either. So I decided whenever I made them, to make sure they had enough room for things like patches.
I generally store patches on the /root of the machine so I can keep track of them, which means I use a little extra space usually.
January 7th, 2010, 12:35 AM
I'm not really sure but it sounds like you are having a good day. It's good that you are keeping backups.
Originally Posted by HackerzMaster
January 7th, 2010, 01:06 AM
This forum is for people just like you. Machines break. Look up this post when your "master" HDD resets during a write session. Look up this post when you experienced a real "brown-out" power outage. Look up this post when you can mount a drive but all your directories turn into meaningless numbers.
Originally Posted by gore
Why do you think dos\Ntfs file systems suck and real journaling systems like JFS rule? Why do you think RAID's exist? Why do you think they ever came up with the idea of partitions in the first place?
I'm sure Antionline does not keep everything about it on 1 big harddrive. Good luck with your toys dude... it's obvious you never lost anything important. I can still paper chase money from emails from '2001.
You just told the world you are not a real admin but a microcrap testbook memorizer. I stole many jobs from them.
January 7th, 2010, 02:17 AM
Wtf are you talking about? I use ReiserFS and Ext4... And how is me saying I make my root file system bigger got anything to do with Windows?
Originally Posted by Linen0ise
Your posts are usually pretty hard to follow but how the hell you managed to call me a Windows test book person and not an admin, which, I've never done as a job anyway, from me saying that I have 4 back ups of everything, is beyond me.
How the hell did you come to a conclusion that I've never lost anything, when one of my posts pointed out not only how I lost everything twice, but that it was the main reason I set up a server to make back ups easier, and then started talking about my back up policy? Seriously I've read your post twice just to try and figure out if it was ME reading it wrong, but I'm coming up blank because you said that I'm a Microsoft weenie, because I said how I generally just use one root partition? How in the hell does this make any sense at all?
I'm not a sys admin, I'm a Bastard, the title kind of pointed it out.
I slept through my MCSE class and still passed. A also passed my security and Linux certs.
I finally found something in your post I missed!
Where do you see on this thread that his root file system, which he was trying to fix, was on a server? I saw him saying he had Slackware and Windows on that machine. NO ONE would set up a server with Windows and Slackware on it, unless it was a toy project. And, where exactly did I say my server only had one big partition? I didn't, I said it had multiples and that on TEST machines, I made one big one. I was trying to make him feel better since he seemed to think a root partition should be small. FreeBSD is thinking about changing their default sizes for that file system. Are the people who make FreeBSD Windows admins too?
Anyway, maybe you missed the part where he said it wasn't a server at all? So why are you talking about Servers? I brought them up to say I set up a PC Server, as an FTP service so I could make back ups from every machine. How would you bring up the AO Servers, when someone is talking about a small home based one purely for back ups? It's not even close! Learn to read next time. The AO Servers, and my little Pentium 3, are not even in the same area code in the server world.
Last edited by gore; January 7th, 2010 at 02:26 AM.
By cheyenne1212 in forum Miscellaneous Security Discussions
Last Post: February 1st, 2012, 02:51 PM
By KissCool in forum Other Tutorials Forum
Last Post: September 30th, 2006, 07:34 PM
By IcSilk in forum Hardware
Last Post: March 5th, 2005, 04:59 PM
By DeadAddict in forum Other Tutorials Forum
Last Post: February 20th, 2004, 05:13 PM
By E5C4P3 in forum *nix Security Discussions
Last Post: February 28th, 2002, 10:30 AM
Tags for this Thread