Koozali.org: home of the SME Server

EXT3-fs: group descriptors corrupted! need help

Offline kryptos

  • *****
  • 245
  • +0/-0
EXT3-fs: group descriptors corrupted! need help
« on: March 01, 2012, 08:52:38 AM »
hello all,

It's been a while a have posted here. Just SME works very well. And just today I have encountered  problem with this installation. It has been running for a year already but now suddenly we encounter this error and the server were not able to boot anymore. This is a raid1 setup and tried the second drive it seems it duplicates the error using it is useless also.

Now have tried sme rescue and wait it to mount it automatically but the it doesn't mount. So I tried rebuilding the arrary in rescue mode. But I don't know how to mount it from there in rescue mode. Tried running e2fsck ex. e2fsck /dev/md1 but it gives me an error bad superblock.

Any help would much be appreciated.

Regards,
Rocel

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: EXT3-fs: group descriptors corrupted! need help
« Reply #1 on: March 01, 2012, 09:50:41 AM »
from rescue, post the output of

Code: [Select]
vgdisplay
lvdisplay

you should check the lvm device not the md one..

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: EXT3-fs: group descriptors corrupted! need help
« Reply #2 on: March 01, 2012, 10:29:06 AM »
here's the display when I invoke those command in rescue mode.

-/bin/sh-3.00# vgdisplay
-/bin/sh: vgdisplay: command not found

same with lvdisplay

regards,
Rocel

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: EXT3-fs: group descriptors corrupted! need help
« Reply #3 on: March 01, 2012, 10:49:26 AM »
I have tried following this instruction on an ubuntu live cd.  http://wiki.contribs.org/Recovering_SME_Server_with_lvm_drives

But when arrive on this command: mount /dev/main/root /mnt/oldsmeserver/

it will said wrong fs type, bad option, bad superblock on /dev/mapper/main-root


Maybe im thinking that the filesytem is corrupted. But I don't know how to repair this.

Best Regards,
Rocel

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: EXT3-fs: group descriptors corrupted! need help
« Reply #4 on: March 01, 2012, 10:59:01 AM »
try
Code: [Select]
fsck /dev/mapper/main-root

forget it.. just tested on a VM and it doesn't work, no /dev/mapper/main-root

« Last Edit: March 01, 2012, 11:03:42 AM by Stefano »

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: EXT3-fs: group descriptors corrupted! need help
« Reply #5 on: March 02, 2012, 06:06:41 AM »
try
Code: [Select]
fsck /dev/mapper/main-root

forget it.. just tested on a VM and it doesn't work, no /dev/mapper/main-root

Hi Stefano,

Actually were able to recover the files using the said command and following the link I have mentioned. Thanks for the help.

Regards,
Rocel