View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Bad magic number problem
PostPosted: Tue Sep 11, 2007 11:18 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi,
Upgraded to R5F27 today and it appeared to work perfectly. Got my recordings back and everything looked good, though had to make a small modification to the alsamixer and my /etc/network/interfaces file. To check the fixups had took I rebooted the machine. Unfortunately that's as far as I get.
Half way through I get this error message:

Quote:
Fsck dies with exit status 8
Failed (code 8 )
File system check failed.


I am looked into /var/log/fsck/checkfs as suggested

This is what I got:
Quote:
fsck.ext3: Bad majic number in superblock while trying to open /dev/sda3

/dev/sda3:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and really contains an ext2 filesystem ... then superblock is corrupt try running e2fsck with an alternative superblock. e2fsck -b 8193 <device>


(NB: these are hand copied so I've made sure I've got the improtant bits... the rest might be an approximation.)
However, I'm pretty sure I'm using ext3 though I may have changed to to xfs at sometime... I have a recollection of doing this but that might have been on the test system. It was a long time ago.

Any pointers would be good on how to check what filesystem I am using and how to fix this.

Regards.

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 11:27 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
I think I've seen this before, it may well have been from trying to mount an xfs partition as ext3. If you run:

Code:
cfdisk /dev/sda


it should say what each partition in the partition table is set to, output from mine:

Code:
                                  cfdisk 2.12r

                              Disk Drive: /dev/hda
                       Size: 251000193024 bytes, 251.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 30515

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hda1        Boot        Primary   Linux ext3       [Root]           5009.20
    hda2                    Primary   Linux swap / Solaris               748.51
    hda3                    Primary   Linux XFS                       245236.73


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 11:37 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Ah, that is it... sda3 is XFS.
Now just to check so I get it right, I need to edit /etc/fstab and change the reference to sda3 to be an XFS filesystem? Something like:
Code:
/dev/sda3 XFS defaults 1 2

That line is a guess based on a quick google search as I'm not in front of my mythbox at this precise moment... but basically change the ext3 entry to XFS?

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 11:54 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Yes that solved it. My suggested line wasnt correct, but once in /etc/fstab it was pretty obvious what needed changing. Oh, and it was xfs not XFS

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu