Corrupted Label: Wrong Magic Number

Corrupted Label: Wrong Magic Number

Post by Bing Zha » Thu, 24 Apr 1997 04:00:00



Today I added a second SCSI to a machine running Solaris 2.5.1. The original
disk's SCSI id is 3, this new one is 1. I could see both disks when typing
probe-scsi at prom prompt. But when I boot up the machine I got something
like:

Corrupted label: wrong magic number

But it continued to boot up without problem. When I am at single user mode, I
type format, but I could see the only original disk.

So how could I fix my problem. BTW: I got the disk from a local PC dealer,
does this make any difference?

--
------------------------------------------------------------------

Tel:   (213)653-4717 X 118   | 8421 Wilshire Blvd., Suite 201     |
Fax:   (213)653-3624         | Beverly Hills, CA 90211-3204       |

 
 
 

Corrupted Label: Wrong Magic Number

Post by Volker Borche » Sat, 26 Apr 1997 04:00:00


|> Today I added a second SCSI to a machine running Solaris 2.5.1. The original
|> disk's SCSI id is 3, this new one is 1. I could see both disks when typing
|> probe-scsi at prom prompt. But when I boot up the machine I got something
|> like:
|>

|>  
|> Corrupted label: wrong magic number
|>
|> But it continued to boot up without problem. When I am at single user mode, I
|> type format, but I could see the only original disk.

1) for Solaris 2 to recognize the disk, you must do a reconfiguring boot.
   Use 'boot -r' from the PROM prompt, or 'reboot -- -r' as root.
2) The 'corrupted label' simply means that Solaris can't find a so-called
   'label' which is something like the MBR of a M$DO$ disk. It will never
   be seen again once you have booted -r and labelled the disk.
3) You usually do not need to 'format' the disk. Just label, partition,
   and re-label.

|> So how could I fix my problem. BTW: I got the disk from a local PC dealer,
|> does this make any difference?

Yes. You might save money.

        vb
--




 
 
 

1. Corrupt Label : Wrong Magic Number

Hi,
   My problem is that I have a 9.1G seagate drive on a Ultra 10 is and
it keeps saying ...

# fsck -F ufs /dev/rdsk/c0t0d0s2
** /dev/rdsk/c0t0d0s2
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck [-F ufs] -o b=# [special ...]
where # is the alternate super block. SEE fsck_ufs(1M).

and I can't run the format command in the format program because it says
I must use "Manufacturer supplied Format utility" which I don't have and
don't know how to get.  But I have tried the following ...

1. I have tried to use format to create a new label and  and still
"corrupt label : wrong magic number"  error.
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST39120A cyl 17660 alt 2 hd 16 sec 63>

Specify disk (enter its number): 0
selecting c0t0d0
No defect list found
[disk formatted, no defect list found]
Warning: Current Disk has mounted partitions.

FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> label
Ready to label disk, continue? y

format> save
Saving new disk and partition definitions
Enter file name["./format.dat"]:
format>

2. I have tried restore a backup label and still "corrupt label  : wrong
magic number"  error.

3. I have also tried "fsck -o b=32"  and and still "corrupt label :
wrong magic number"  error.

  data.vcf
< 1K Download

2. IDE tape drives?

3. HELP! Corrupt label - wrong magic number

4. Web Page Authoring Tools

5. CORRUPT LABEL -WRONG MAGIC NUMBER

6. linux 6.0 onervaren of 5,6 cd's

7. HELP! Corrupt label - Wrong magic number

8. Shutdown won't Power-off using SuSE-6.1

9. corrupt label - wrong magic number

10. corrupt label -- wrong magic number

11. Harddisk-Problem: corrupt label - wrong magic number

12. corrupt label - wrong magic number

13. Corrupt label: bad magic number - sd.so(0,0,0)/vmunix: can not open