Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: koshakis on September 05, 2009, 10:05:06 AM
-
... startup, I'm getting the following error:
fsck.ext2: Bad magic number in superblock
is corrupt and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
No idea how to fix this.
There is one SATA hard drive and run SME 7.4
Any suggestions how to fix this
Koshakis
-
Looks like a problem in the file system.
I'm not familiar with the command e2fsck and search on google shows some thing about not running it on
mounted filesystems , please wait for some one more experienced with the command to help....
-
fsck.ext2: Bad magic number in superblock
is corrupt and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
does the boot stop and ask you for a password?
do you have a backup?
Stefano
-
Hi Stefano
Yes ask for root password and yes I have backup.
Koshakis
-
ok..
assuming you have a standard SME setup with lvm, give root passwod and run the suggested command using /dev/mapper/main-root as device; you could be requested to say 'yes' many times
at the end of the process, reboot and check your data..
HTH
Stefano
-
I run the command
e2fsck -b 8193 /dev/mapper/main-root
and I get
But magic number in super-block while trying to open /dev/mapper/main-root
Koshakis
-
ok..
try with
e2fsck -b 32768 /dev/mapper/main-root
it should do the job
Stefano
-
Thanks for you replay
I install a fresh server and I restore from backup
and it's look ok.
Thank you again for try to help.
Koshakis