OK, so I'm stuffed... Normally, I know where I am and which direction to search but here I have no clue... The usual searches on this forum haven't turned up anything to help me so I'm all alone on this particular one...
Normally, I've also got a back-up too - but not this time, so a problem with my RAID(1) setup is scaring the hell out of me. I know, I know, but Keep(?) has never really worked properly for me and hadn't been working at all since I upgraded to 8.10 and I haven't had time to fix it yet...
There's only one word for this moment... HELP!!!!
Let me start at the start - usually a good idea.
We had a powercut. I presume that my UPS shut everything down gracefully - it usually does. But I can't be sure. It might seem not given all the problems I'm having.
However, on booting - I got all sorts of problems. Mostly with filesystems. It checked stuff, told me some was OK, some wasn't but that it was dropping to a shell. I could Ctrl-D to continue booting - which I did, but the system just hanged...
I left it for sufficient time to be sure that it wasn't doing something useful - and so after 30 minutes I Ctrl-Alt-Del kick-started it.
Same thing - more or less.
I've tried both the latest kernel and the failsafe version, and the previous one and its failsafe - nothing will get me even to a graphical log-in prompt.
I can get to a command line (on the failsafe kernel of the previous version) but that's the only one. The story I get then is all about an Invalid argument whilst trying to open my /dev/md1 and check for an ext2 filesystem. Note, I say ext2 here - specifically noted because the log file seems to show a check for an ext3 file system...
It tells me that the superblock could not be read. There is a log in /var/log/fsck/checkfs which, when viewed in nano explains the following:
"fsck.ext3: Invalid argument while trying to open /dev/md1
/dev/md1:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and ir really contains an ext2 filesystem (and not swap or ufs or somethign else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck died with exit status 8"
So, I dutifully exited nano and ran "e2fsck -b 8193 /dev/md1" and got almost exactly the same - the output was:
"e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Invalid argument while trying to open /dev/md1
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and ir really contains an ext2 filesystem (and not swap or ufs or somethign else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>"
The problem is that it tells me to run the exact same command as the one I've just run. So I'm more than a little confused.
So then, what can I do, what can I run to try and fix the superblock if it's broken? Please don't ask what filesystem the md1 RAID is, I can't remember. I followed a How-to at the time and it took a lot of tweaking - but I really can't remember what it was.
How can I check that? What do I need to do to ensure that I can recover the disks?
Please note that the log file shows that all the other filesystems that it had checked had been fine. sda1 has 7.9% non-contiguous files (which will need sorting out later on) but other than that, nothing to report. All show up as clean.
Other info that might prove useful: Last week, following an update (don't know which one caused the issue) I started to have boot problems. It was the / partition that caused the issue. There didn't seem to be enough time to pick up the partition - I solved it by a suggestion on one of the posts here - add a rootdelay=500 into the kernel boot parameters in grub. Worked a treat. Not had any problems with it since then.
I am REALLY stuck here on this one. Desperately need to get into the system to at least make a backup of the data if I can.
Any help would be very much appreciated. If you need more information or details to help me solve this then please just let me know and I will get it for you.
Many thanks in advance.
Bag.
Normally, I've also got a back-up too - but not this time, so a problem with my RAID(1) setup is scaring the hell out of me. I know, I know, but Keep(?) has never really worked properly for me and hadn't been working at all since I upgraded to 8.10 and I haven't had time to fix it yet...
There's only one word for this moment... HELP!!!!
Let me start at the start - usually a good idea.
We had a powercut. I presume that my UPS shut everything down gracefully - it usually does. But I can't be sure. It might seem not given all the problems I'm having.
However, on booting - I got all sorts of problems. Mostly with filesystems. It checked stuff, told me some was OK, some wasn't but that it was dropping to a shell. I could Ctrl-D to continue booting - which I did, but the system just hanged...
I left it for sufficient time to be sure that it wasn't doing something useful - and so after 30 minutes I Ctrl-Alt-Del kick-started it.
Same thing - more or less.
I've tried both the latest kernel and the failsafe version, and the previous one and its failsafe - nothing will get me even to a graphical log-in prompt.
I can get to a command line (on the failsafe kernel of the previous version) but that's the only one. The story I get then is all about an Invalid argument whilst trying to open my /dev/md1 and check for an ext2 filesystem. Note, I say ext2 here - specifically noted because the log file seems to show a check for an ext3 file system...
It tells me that the superblock could not be read. There is a log in /var/log/fsck/checkfs which, when viewed in nano explains the following:
"fsck.ext3: Invalid argument while trying to open /dev/md1
/dev/md1:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and ir really contains an ext2 filesystem (and not swap or ufs or somethign else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck died with exit status 8"
So, I dutifully exited nano and ran "e2fsck -b 8193 /dev/md1" and got almost exactly the same - the output was:
"e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Invalid argument while trying to open /dev/md1
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and ir really contains an ext2 filesystem (and not swap or ufs or somethign else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>"
The problem is that it tells me to run the exact same command as the one I've just run. So I'm more than a little confused.
So then, what can I do, what can I run to try and fix the superblock if it's broken? Please don't ask what filesystem the md1 RAID is, I can't remember. I followed a How-to at the time and it took a lot of tweaking - but I really can't remember what it was.
How can I check that? What do I need to do to ensure that I can recover the disks?
Please note that the log file shows that all the other filesystems that it had checked had been fine. sda1 has 7.9% non-contiguous files (which will need sorting out later on) but other than that, nothing to report. All show up as clean.
Other info that might prove useful: Last week, following an update (don't know which one caused the issue) I started to have boot problems. It was the / partition that caused the issue. There didn't seem to be enough time to pick up the partition - I solved it by a suggestion on one of the posts here - add a rootdelay=500 into the kernel boot parameters in grub. Worked a treat. Not had any problems with it since then.
I am REALLY stuck here on this one. Desperately need to get into the system to at least make a backup of the data if I can.
Any help would be very much appreciated. If you need more information or details to help me solve this then please just let me know and I will get it for you.
Many thanks in advance.
Bag.
Comment