Magic number mismatch: bad mzip file in 3750 stack switch

Hi All can anybody help me in this error msg
"magic number mismatch: bad mzip file"
I am trying to upgrade the switch  with"c3750e-ipbasek9-tar.122-55.SE5.tar" in 3750 stack switch it is  showing this error msg while booting
thanks in advance

Hi,
The reason you are getting this error message on the switch is a corrupt or wrong IOS image "c3750e-ipbasek9-tar.122-55.SE5.tar".
If the switch is in rommon mode, and you have any other image in the switch, boot it using that image. Once the switch is up, download and copy the correct IOS image once again on the switch and try to upgrade.
If you need help in finding the correct IOS image, give me the exact switch model number, i will help you with that.
But forsure the image is wrong or corrupt and that is why you are getting this error.
Thanks
Ankur
"Please rate the post if found useful"

Similar Messages

  • 3750-PoE bricked - Magic number mismatch?

    Hi,
    I have a 3750 PoE which I was trying to get the image off by doing a archive upload-sw...... but as it got to the image file it said the file/device was busy and gave up.
    I executed the reload command and since then I've had this error message which doesn't allow the switch to boot its IOS:
    switch: boot
    Loading "flash:c3750-i5-mz.121-19.EA1c/c3750-i5-mz.121-19.EA1c.bin"...flash:c375
    0-i5-mz.121-19.EA1c/c3750-i5-mz.121-19.EA1c.bin: magic number mismatch: bad mzip
    file
    Error loading "flash:c3750-i5-mz.121-19.EA1c/c3750-i5-mz.121-19.EA1c.bin"
    Interrupt within 5 seconds to abort boot process.
    Boot process failed...
    switch:

    Need to add some more info..
    My options:
    switch: ?
    ? -- Present list of available commands
    boot -- Load and boot an executable image
    cat -- Concatenate (type) file(s)
    copy -- Copy a file
    delete -- Delete file(s)
    dir -- List files in directories
    flash_init -- Initialize flash filesystem(s)
    format -- Format a filesystem
    fsck -- Check filesystem consistency
    help -- Present list of available commands
    load_helper -- Load and initialize a helper image
    memory -- Present memory heap utilization information
    mkdir -- Create dir(s)
    more -- Concatenate (display) file(s)
    rename -- Rename a file
    reset -- Reset the system
    rmdir -- Delete empty dir(s)
    set -- Set or display environment variables
    set_bs -- Set attributes on a boot sector filesystem
    set_param -- Set system parameters in flash
    sleep -- Pause (sleep) for a specified number of seconds
    -- MORE --
    trap -- Cause a software breakpoint to occur
    type -- Concatenate (type) file(s)
    unset -- Unset one or more environment variables
    version -- Display boot loader version
    switch:
    dir of the flash:
    switch: dir flash:
    Directory of flash:/
    2 -rwx 5 private-config.text
    3 -rwx 2413 config.text.renamed
    4 -rwx 5 private-config.text.renamed
    5 drwx 192 c3750-i5-mz.121-19.EA1c
    85 -rwx 616 vlan.dat
    87 -rwx 2178 config.text
    9960448 bytes available (6038528 bytes used)
    switch:
    Can anyone tell me how I can get this booting again? I can't see any options to download code to correct this like I would using ROMMON.
    Cheers.

  • LWAP migration of AIR-1131AG-A failed bad mzip file

    Hello Experts,
    I would like to connect a Cisco LWAP 1131AG-A-K9 with a WLC4402 running on 4.1.171.0
    Unfortunately, the software downloaded from the WLC is not correctly unpacked on the AP.
    I can see an error on the console stating "bad mzip file".
    We did several test with converting back to autonomous and migrating to LWAP again using the Cisco Upgrade Tool
    but we are failing constantly, even though the Cisco Upgrade Tool states a successful update.
    All our european Cisco LWAPs 1131AG-E-K9 are running fine by the way on the controller.
    I have added the Console messages to show the error to You.
    Who knows anything about that ?
    Please support.
    *Mar  1 00:00:08.865: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C1130 Software (C1130-RCVK9W8-M), Version 12.4(21a)JA2, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2009 by Cisco Systems, Inc.
    Compiled Mon 02-Nov-09 18:17 by prod_rel_team
    *Mar  1 00:00:08.892: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Mar  1 00:00:09.389: %CDP_PD-4-POWER_OK: Full power - AC_ADAPTOR inline power source
    *Mar  1 00:00:09.839: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
    *Mar  1 00:00:18.494: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0 assigned DHCP address 163.157.68.121, mask 255.255.255.0, host
    name AP001e.7abd.cf52
    Translating "CISCO-CAPWAP-CONTROLLER.corp.skf.net"...domain server (163.157.156.161)
    Translating "CISCO-LWAPP-CONTROLLER.corp.skf.net"...domain server (163.157.156.161) [OK]
    *Mar  1 00:00:38.814: %CAPWAP-3-ERRORLOG: Did not get log server settings from DHCP.
    *Mar  1 00:00:38.816: %CAPWAP-3-ERRORLOG: Could Not resolve CISCO-CAPWAP-CONTROLLER.corp.skf.net
    *Mar  1 00:00:48.819: %CAPWAP-3-ERRORLOG: Go join a lwapp controller
    *Mar  1 00:00:48.819: %LWAPP-3-CLIENTERRORLOG: Set Transport AddressCalled
    examining image...
    extracting info (286 bytes)
    Image info:
        Version Suffix: k9w8-.124-3g.JA
        Image Name: c1130-k9w8-mx.124-3g.JA
        Version Directory: c1130-k9w8-mx.124-3g.JA
        Ios Image Size: 3410432
        Total Image Size: 3410432
        Image Feature: WIRELESS LAN|LWAPP
        Image Family: C1130
        Wireless Switch Management Version: 4.1.171.0
    Extracting files...
    c1130-k9w8-mx.124-3g.JA/ (directory) 0 (bytes)
    extracting c1130-k9w8-mx.124-3g.JA/info (286 bytes)
    extracting c1130-k9w8-mx.124-3g.JA/6701.img (131328 bytes)
    *Mar  1 00:00:48.831: %LWAPP-5-CHANGED: CAPWAP changed state to JOIN
    *Dec  9 12:37:21.242: %LWAPP-5-CHANGED: CAPWAP changed state to IMAGE
    extracting c1130-k9w8-mx.124-3g.JA/c1130-k9w8-mx.124-3g.JA (3138988 bytes)
    extracting c1130-k9w8-mx.124-3g.JA/7101.img (13132
    *Dec  9 12:38:19.147: %SYS-4-PUPDATECLOCK: Periodic Clock update with ROMMON failed, because size left in ROMMON (4294967295), size
    needed (29), error code (-1)
    *Dec  9 12:38:19.148: %SYS-5-RELOAD: Reload requested by lwapp image download proc. Reload Reason: NEW IMAGE DOWNLOAD.
    *Dec  9 12:38:19.148: %LWAPP-5-CHANGED: CAPWAP changed state to DOWN8 bytes)
    extracting info.ver (286 bytes)
    New software image installed in flash:/c1130-k9w8-mx.124-3g.JA
    Configuring system to use new image...done.
    archive download: takes 58 seconds
    Writing out the event log to nvram...
    Xmodem file system is available.
    flashfs[0]: 11 files, 3 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 15998976
    flashfs[0]: Bytes used: 6035968
    flashfs[0]: Bytes available: 9963008
    flashfs[0]: flashfs fsck took 30 seconds.
    Base ethernet MAC Address: 00:1e:7a:bd:cf:52
    Initializing ethernet port 0...
    Reset ethernet port 0...
    Reset done!
    ethernet link up, 100 mbps, full-duplex
    Ethernet port 0 initialized: link is up
    Loading "flash:/c1130-k9w8-mx.124-3g.JA/c1130-k9w8-mx.124-3g.JA"...#################################################################
    ###################################################################################################################################b
    ad mzip file, unknown zip method
    Error loading "flash:/c1130-k9w8-mx.124-3g.JA/c1130-k9w8-mx.124-3g.JA"
    Interrupt within 5 seconds to abort boot process.
    Loading "flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx"...###############################################################################
    File "flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx" uncompressed and installed, entry point: 0x3000
    executing...

    We are using right now only Lightweight-APs with ETSI-Standards on several Controllers without having that problem.
    The problem appears during the migration from AUutonomous to Lightweight of an 1131AP with American-Standard.
    The according WLC is configured to support US-Country of course.
    I cannot believe that this is the problem.  This would mean different LWAPP-images per regulation domain.
    Who knows more about this damned mzip-error during the extracting phase of the LWAPP-image ?

  • Visibility of 3750 Stack Switches on SCH Portal

    We have implemented Smart Call Home in one of our customer network. Customer has 34 3750 switches configured in stack. We have done SCH configuration for all 34 devices, problem over here is on SCH portal under “Global Summary Report” only 17 switches are reflecting however in “Device Report” all 34 devices are reflecting.
    Can you please confirm/suggest to whom we can coordinate to resolve “Global Summary Report” discrepancy issue.

    When a stack boots, each stack of switches determines a master switch. The master switch is the switch handling coordination for all of the other switches in the stack and outside communication.
    It looks like the global summary report is reporting only the master switch for the stack. This makes sense to me. All of the other switches in the stack are suppose to be invisible to the outside world and the stack is supposed to operate as a single virtual switch. Since it is a virtual switch, each virtual switch should be counted once as a single entity.
    All of the devices in the stack are available for view if you drill down, but from a Smart Call Home view, only the stack master is communicating with Smart Call Home.
    But the bottom line is this is only software and can be written differently if it is too confusing to the customer.

  • 3750 Stack Switch Issue

    Hi
    I have Stack of 7 3750 Switches. In that Switch 1 is master with 15 Priority and other switches are Member but because of some reason switch 1 rebooted and then Switch 2 becomes Master because it’s having 14 Priority.
    We have 2 uplinks which connected on switch 1 (1/1/1) and switch 6 (6/1/1) Tengig port. Also we have 4 AP connected on switch 6.
    So we observed that the Switch 1 came up and after that 3 AP is disconnected from WLC. if we disconnect the uplink port on Switch 1 (1/1/1) AP will connect the WLC and using uplink 6/1/1 but if we connect uplink port 1/1/1 and disconnect the uplink port 6/1/1 all 4 AP will disconnect from Network.
    We try to connect the Uplink 1/1/1 to Switch 1 other port 1/1/2 but face the same issue. So we reconnect the port 6/1/1 and used the same link which connect on 1/1/1 to switch 7 (7/1/1) and AP will connect on WLC. So as per this troubleshooting we thought some issue with Network Module or Switch of Switch1.
    So we Swap the Network module between Switch1 and Switch7 and connect the uplink on 1/1/1 but face the same issue and if we connect the same uplink on Switch 7 Ap connect to WLC.
    So we thought that Switch is having issue. But before raising an RMA for Switch we observer 1 more thing that. Earlier that when the Switch 1 is Master all 4 AP's connected to WLC and working fine but when the Switch1 became rebooted and Switch2 became Master issue started. So we rebooted the Switch 2 and make switch master and found that while connecting on port 1/1/1 of Switch port AP's are able to connect to WLC and Issue resolved.
    So I wants to know that is there any requirement that If the high priority switch rebooted and after came up it should not be Master then connected uplink will not work.
    Also let us know what’s happen if the high priority switch came up in network. Means it’s will became Master or Menber.

    Just now i Found one bug which is matching on our issue.
    3750x stack fails to update ARP table after reboot causing traffic loss
    BUG ID:-CSCtz98066
    Symptoms: When the master switch (Switch A) is reloaded or loses power and
    rejoins the stack as a member switch, any traffic stream being sent through
    Switch A is unable to be received by the destination because the newly joined
    member is not able to establish an ARP entry for the next hop router/switch.
    Debugs confirm that Switch A does not send a GARP/ARP for the next hop, though
    traffic continues to be sent to the switch.
    Conditions: The symptom is observed when only Switch A has a physical
    connection between the source and destination router/L3 switch. The newly
    elected master (Switch B) does not.
    Workaround: Ping destination from Switch A, forcing ARP request/response.
    Also affected version is 12.2(58)SE and15.0(1)SE2 and we are using IOS 12.2(58)SE.
    So we are going to upgrade the devices by this weekend with IOS 15.0(2)SE5.
    Will update you once we upgraded the switches.

  • Power Redundancy problem for cisco 3750 stack switches

    Hi Team,
    I have installed and configured cisco 3750X series switches in stackwise. Those are having dual power supply.
    Power redundancy test performed:
    1. Removed one of the power supply and inserted it back.
    2. once the first power supply is ready, removed another power supply and switch got rebooted.
    please find the below stack-power output:
    JP2-RDC-DIS-02#sh stack-power detail
    Power Stack           Stack   Stack    Total   Rsvd    Alloc   Unused  Num  Num
    Name                  Mode    Topolgy  Pwr(W)  Pwr(W)  Pwr(W)  Pwr(W)  SW   PS
    Powerstack-2          SP-PS   Stndaln  700     477     223     0       1    2
    Powerstack-1          SP-PS   Stndaln  700     477     223     0       1    2
    Power stack name: Powerstack-2
        Stack mode: Power sharing
        Stack topology: Standalone
        Switch 2:
            Power budget: 223
            Power allocated: 223
            Low port priority value: 22
            High port priority value: 13
            Switch priority value: 4
            Port 1 status: Not connected
            Port 2 status: Not connected
            Neighbor on port 1: 0000.0000.0000
            Neighbor on port 2: 0000.0000.0000
    Power stack name: Powerstack-1
        Stack mode: Power sharing
        Stack topology: Standalone
        Switch 1:
            Power budget: 223
            Power allocated: 223
            Low port priority value: 22
            High port priority value: 13
            Switch priority value: 4
            Port 1 status: Not connected
            Port 2 status: Not connected
            Neighbor on port 1: 0000.0000.0000
            Neighbor on port 2: 0000.0000.0000
    Can anyone help what went wrong here?
    Thanks
    Manish

    Cosmetic bug
    CSCui21029    3750X Stack no standalone stays in running configureation as standalone
    Symptom:
    When you are configuring a 3750x stack and initially putting it into a stack ring topology by configuring the following.
    Switch(config)#stack-power switch 1
    Switch(config-switch-stackpower)#sta
    Switch(config-switch-stackpower)#no stan
    Switch(config-switch-stackpower)#no standalone
    You will see that in the running configuration it shows up as standalone mode
    stack-power switch 1
    switch mode: standalone
    stack-power switch 2
    switch mode: standalone
    Conditions:
    3750X stacks with any license level
    Workaround:
    none

  • Magic number for vi

    I'm often using the command "file" (on a linux box) to dertermine the
    type of a file.
    Ok, LabView vis are easy to find because of the file-extension (if there
    wasn't some moron changing it).
    Is there a magic number (or a magig-file) which contains a definition
    for LabView vis, so they would be known by "file"?
    Or, if there isn't such a finished file... how can one see by the conten
    of the file (not by it's name) if it's a LabView vi?
    thanx and bye
    Marco

    To be accurate, the Carriage Return and Line Feed are followed by a
    16-bit integer before "LVINLBVW".
    Further, I think LLBs differ from VIs (in these first few bytes) only
    in that "LVIN" becomes "LVAR".
    Brian
    "Greg McKaskle" wrote in message
    news:[email protected]..
    > > I'm often using the command "file" (on a linux box) to dertermine the
    > > type of a file.
    > > Ok, LabView vis are easy to find because of the file-extension (if there
    > > wasn't some moron changing it).
    > > Is there a magic number (or a magig-file) which contains a definition
    > > for LabView vis, so they would be known by "file"?
    > >
    > > Or, if there isn't such a finished file... how can one see by the conten
    > > of the file (not by it's name) if
    it's a LabView vi?
    > >
    >
    > I don't remember the "file" command, or how magic numbers work off the
    > top of my head, and apparently OSX doesn't have a "file" command. But,
    > the first four chars of a VI are 'RSRC' and I believe the next two
    > should be 'cr' and 'lf' followed by 'LVIN' and 'LBVW'. The cr/lf is
    > useful to detect when someone didn't do a binary transfer of the file.
    > You might write a small LV program to look at the front of a VI if it
    > seems like I'm a bit off. The file is very binary, and many of the
    > contents are relocatable, but there is a standard header, I just don't
    > know for certain where the cr/lf is relative to the other four character
    > constants.
    >
    > Greg McKaskle
    >

  • Catfish - RuntimeError: Bad magic number in .pyc file

    I'm using catfish as a search tool, I installed it on a new system with findutils as the backend. When I run it I get "RuntimeError: Bad magic number in .pyc file"
    I have no idea how to fix this. It runs fine on another system. I tried to reinstall it and did a full upgrade. I tried it with various backends and I still get this runtimeerror. Any ideas?

    See if you can locate a leftover .pyc file with:
    pacman -Qo $(find /usr/lib/python2.{5,6} -name *.pyc) | grep "No package owns"
    Provide pacman manages all files on your root partition, it should be fine to delete what this finds.

  • Bad Magic Number error trying to deploy WAR file from Netweaver Studio

    We hae an application that runs fine as a WAR in both Tomcat and Weblogic and we are trying to deploy it on Netweaver.  I tried both to use the External deployment archives and the Workspace Deployable Archives.  In both cases, the deployment fails with error:
    Bad magic number, found 0x80CCF1C3, expected 0xCAFEBABE.
    I know the server is working because I can deploy a very simple test application with no errors.  The server is a new installation of 7.1.
    Any help on how to get past this error or how to troubleshoot further is appreciated.

    Looks like it's complaining about a missing shared library. Check weblogic.xml for library-ref elements and make sure the domain you are deploying to has those libraries deployed.

  • Bad magic number

    I have an applet that i am trying to load in a JSP
    <applet name="MyTestApplet" code="mypackage.MyTestApplet.class" >
    </applet>
    mypackage/MyTestApplet.class is under the approot/pages directory and the jsp is also in the same directory.
    whenever the jsp is called and applet does not get inited and the error i see is a ClassFormatError: Bad magic number
    Please help.. this is extremely urgent.
    Thanks in advance for any input anyone may have.
    The appserver i am using is SunONE

    First the <applet tag is depreciated, you should use <object instead (w3c has depreciated applet for quite
    some time now).
    When I see the tag you don't use a jar package (archive is missing) so let's pretend the url to your page is
    http://mysite/mypage.jsp
    the mypage.jsp contains the applet so the url to the applet is:
    http://mysite/mypackage/MyTestApplet.class
    can you download the file using a browser?
    you can do this by saving the following line in a html file and right click it then sava target
    right click and save target as
    After downloading is the file the same as the file on the web server?
    The reason I ask this is because I got the bad magic number when a jar was loaded through a proxy.
    The proxy did something with the jar file making it corrupt. I think your problem has something to do with
    the way your web server is serving the applet or (proxy) something between the client and the server.

  • JVM issue with applet - Duplicate Key in Parameter Table - Bad Magic Number

    Hey, I have Googled this one to death and have seen a few vague references to this problem, but nothing I can relate back as solution.
    I wonder if I need to tell the customer to reinstall the OS and, ultimately, the JRE. I'm just looking for a little guidance on what any of you may think. Am I missing a setting or something?
    The user is trying to download an applet with IE with 1.3.1_16 and Firefox 1.07 with the Java Embeded Plug-in.
    Even though JRE 1.3.1_16, 1.4.2_09 and 1.5 are all installed and Firefox has the JEP also installed, Firefox still wants to use 1.3.1_16 as does IE. I'm guessing that the JEP didn't work.
    They can't use Safari which does seem to be using 1.4.2_09 because their RSA ID won't authenticate through it.
    On my machine, when I run with the same OS,browsers, and Java 2 plug-ins, I can successfully load the applet.
    This is the error that the user gets in the java console is:
    Duplicate key in parameter table: code using the htmlAttribute.
    first: com.ibm.eNetwork.HOD.HostOnDemand
    second: com.ibm.eNetwork.HOD.HostOnDemand.class
    java.lang.ClassFormatError: com/ibm/eNetwork/HOD/HostOnDemand (Bad magic number) at java.lang.ClassLoader.defineClass0(NativeMethod)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)...
    Would you reinstall the OS and Java? or look at another setting? or look at the JEP installation again?
    Thank you.

    Without reading the full post (sorry for that) my guess is that the applet needed to be fetched through a
    proxy, the proxy corrupts the applet because it's signed (finjan is one that does that).
    The reason why a proxy would do so is because the default settings of sun jre will ask the user the
    "do you trust" question to the user which could result in the user loading an applet that is allowed to do
    anything the programmer wants (4us, spyware, nasty stuff).
    Try to do the following:
    1. create a html file locally with the following content:
    rightclick and save target as
    2. open the page, right click the link and save the file
    3. apen the file with an unzip programm (winzip) and check if the content has changed.
    4. If the content has changed than the proxy might have done this, contact the system administrator
    It might allso have been done by a firewall installed locally.

  • Java.lang.ClassFormatError: HTML (Bad magic number)

    hi,
    i have quite a strange problem:
    when my applet tries to parse an XML file with SAX (no DTD-validation) i got the following error:
    java.lang.ClassFormatError: <HTML> (Bad magic number)
    Well i had some problems before with the ClassFormatError but they were because some class-files were corrupt. They were easy to fix because the defecitve class-file was written next to java.lang.ClassFormatError. This time i got the <HTML> expression next to the error. what does this mean?
    thnx in advance!
    marc

    Bad magic Number. means the first 4 bytes did not equals CAFEBABE (0xCAFEBABE) But why do you see <HTML> after that is beyound me. Can you locate which class is foul and replace it?

  • OCFSV2 : mount.ocfs2: Bad magic number in inode

    Hi everyone,
    DUe to high load I/O, i can't mount my ocfsV2 partition :
    mount.ocfs2: Bad magic number in inode while trying to determine heartbeat information
    marge:~# fsck.ocfs2 /dev/sdc1
    fsck.ocfs2: Bad magic number in inode while initializing the DLM
    The disk is an iscsi device, there are no block damaged.
    I try to modify the signature with bvi but the result is the same.
    The disk containt image file created with dd (Virtual machine).
    Do you have a software or a workaround to recover my vm's ?
    Or i must consider to format my parttion ?
    Thank you

    I know , i wan't to switch to Linux forum but how to do that ? :-)
    marge:~# modinfo ocfs2
    filename: /lib/modules/2.6.26-2-xen-amd64/kernel/fs/ocfs2/ocfs2.ko
    license: GPL
    author: Oracle
    version: 1.5.0
    description: OCFS2 1.5.0
    srcversion: C692B48692BFC8597E4D7A7
    depends: jbd,ocfs2_stackglue,ocfs2_nodemanager
    vermagic: 2.6.26-2-xen-amd64 SMP mod_unload modversions Xen
    I created the filesystem with debian :
    mkfs.ocfs2 /dev/sdc1
    By default it create 4K cluster size. And it make 6 backup off superblock.
    But recover superblock doesn"t work :
    marge:~# fsck.ocfs2 -r 1 /dev/sdc1
    [RECOVER_BACKUP_SUPERBLOCK] Recover superblock information from backup block#262144? <n> y
    fsck.ocfs2: Bad magic number in inode while initializing the DLM
    marge:~# debugfs.ocfs2 -R stats /dev/sdc1
         Revision: 0.90
         Mount Count: 0 Max Mount Count: 20
         State: 0 Errors: 0
         Check Interval: 0 Last Check: Thu May 7 16:26:37 2009
         Creator OS: 0
         Feature Compat: 1 BackupSuper
         Feature Incompat: 16 Sparse
         Tunefs Incomplete: 0 None
         Feature RO compat: 1 Unwritten
         Root Blknum: 5 System Dir Blknum: 6
         First Cluster Group Blknum: 3
         Block Size Bits: 12 Cluster Size Bits: 12
         Max Node Slots: 4
         Label:
         UUID: 3677066B5C7B424BB79FE30764552B57
         Cluster stack: classic o2cb
         Inode: 2 Mode: 00 Generation: 3020404948 (0xb407b8d4)
         FS Generation: 3020404948 (0xb407b8d4)
         Type: Unknown Attr: 0x0 Flags: Valid System Superblock
         User: 0 (root) Group: 0 (root) Size: 0
         Links: 0 Clusters: 52432135
         ctime: 0x4a02ef9d -- Thu May 7 16:26:37 2009
         atime: 0x0 -- Thu Jan 1 01:00:00 1970
         mtime: 0x4a02ef9d -- Thu May 7 16:26:37 2009
         dtime: 0x0 -- Thu Jan 1 01:00:00 1970
         ctime_nsec: 0x00000000 -- 0
         atime_nsec: 0x00000000 -- 0
         mtime_nsec: 0x00000000 -- 0
         Last Extblk: 0
         Sub Alloc Slot: Global Sub Alloc Bit: 65535
    debugs say superblock is ok but unable to mount the partition :
    mount.ocfs2: Bad magic number in inode while trying to determine heartbeat information

  • E2fsck: Bad magic number in super-block

    e2fsck: Bad magic number in super-block while trying to open /dev/hda1
    Yup, a very tricky one this is. I did the following:
    [root@(none)~]#e2fsck /dev/hda1
    e2fsck 1.40.2 (12-jul-2007)
    /dev/hda1: clean, 310310/4702208 files, 8118002/9396009 blocks
    What can I do to fix the super-block? I unable to boot up my system right now, and I can't afford to format my disk.
    I have systemrescuedisk with the TestDisk application at hand(if needed?).

    B wrote:There is a backup superblock every 8192 blocks if i'm correct. So the next one is at 8193. Try telling e2fsck to use that to fix your partition.
    I've tried that, with no luck I'm afraid. So I've gotten more serious and.
    With Testdisk I managed to indentify these superblocks.
    [Superblocks] where * means it has been e2fsck'ed
    0, blocksize=4096*
    32768, blocksize=4096*
    98304, blocksize=4096*
    163840, blocksize=4096*
    229376, blocksize=4096*
    294912, blocksize=4096*
    819200, blocksize=4096*
    884736, blocksize=4096*
    1605632, blocksize=4096*
    2654208, blocksize=4096*
    umount /dev/hda1
    e2fsck -b 32768 /dev/hda1
    /dev/hda1 was not cleanly unmounted, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    <4 minutes later>
    I get the question:
    Free inodes count wrong for group #1 (ie. 32254, counted=231)
    Fix<y>? y
    This question got repeated #286 times, where I answered the same (y) each time.
    /dev/hda1: ********* FILE SYSTEM WAS MODIFIED ************
    /dev/hda1: ********* REBOOT LINUX **************
    /dev/hda1: 310310/4702208 files (1.5% non-contiguous), 8118002/9396009 blocks
    So i rebooted... but still the same error occurs during kernel boot. So now I figured I had
    to do the same with 98304 and so forth. YUP! I was right, this superblock was dirty too.
    e2fsck -b 98304 /dev/hda1
    answer yes to all. Reboot, and repeat with 162840. Until your kernel manages to mount
    your disk cleanly and hopefully boot up.
    Sadly when I e2fsck -b 98304 /dev/hda1 yet again just to check, it still claims to be dirty.
    Now I'm kinda back to where I started.
    I will look further into if testdisk can provide some automagic solution to my problem.
    Pointers is apprecieted!

  • T6340 cannot boot disk - Bad magic number in disk label

    Hi,
    I have a shiny new T6340 that I am just setting up.
    When I get through the CMM to the SP and onto the EEPROM,
    I then try to start the boot process:
    {0} ok boot disk1
    Sun Blade T6340 Server Module, No Keyboard
    Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
    OpenBoot 4.30.4, 130848 MB memory available, Serial #76313344.
    Ethernet address 0:14:4f:8c:73:0, Host ID: 848c7300.
    Boot device: /pci@500/pci@0/pci@9/@0/disk@1  File and args:
    Bad magic number in disk label
    Can't open disk label package
    ERROR: boot-read fail
    Evaluating:
    Can't open boot device
    {0} ok show-disks
    a) /pci@500/pci@0/pci@9/LSILogic,sas@0/disk
    b) /pci@500/pci@0/pci@2/pci@0/usb@0,2/storage@5/disk
    c) /pci@500/pci@0/pci@2/pci@0/usb@0,2/storage@1/disk
    q) NO SELECTION
    Enter Selection, q to quit: q
    {0} ok boot /pci@500/pci@0/pci@9/LSILogic,sas@0/disk
    Boot device: /pci@500/pci@0/pci@9/LSILogic,sas@0/disk  File and args:
    Bad magic number in disk label
    Can't open disk label package
    ERROR: boot-read fail
    Can't open boot device
    {0} ok This is a brand new B6000 system and has not been booted before.
    Please tell me what I need to do to enable the disks, so I can do the next bit!
    rachel

    @rachel,
    In your original post you showed a screen capture of what you tried.
    First you typed "boot disk1". ( Why disk1? Why not disk0?)
    When that didn't seem to work, you displayed the disks recognized by the system at OpenBoot.
    The first of those disks was a device path of
    /pci@500/pci@0/pci@9/LSILogic,sas@0/disk{code}
    and so you attempted to boot from that but omitted whatever slice might be the boot slice of a factory preinstalled OS.    For example...  
    {code:java}
    boot /pci@500/pci@0/pci@9/LSILogic,sas@0/disk@0,0{code}
    (just guessing at what could be that bootable slice).
    What happens if you simply type "*boot*" when you are at OBP?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for