Computing.Net > Forums > Solaris > how will I know disk magic number..

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how will I know disk magic number..

Reply to Message Icon

Name: nagamohan_p
Date: March 7, 2007 at 08:27:53 Pacific
OS: Solaris 10
CPU/Ram: Pentium IV, 512 MB
Product: Dell
Comment:

Hi,
If this is not the right place, Please direct me to the right one.

I wish to know the hard disk magic number whether I'm getting 0xDABE or not. Could you specify the location where these details can be found bcoz I'm new to the Solaris environment.
Suppose if I'm getting the disk magic number wrong, will it possible to change this to 0xDABE.


Regards,
nag.



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: March 7, 2007 at 14:58:10 Pacific
Reply:

I may misunderstand this. You don't fix the disk by changing the magic number you fix the VTOC or reload the OS. The CD on x86 can be used to boot to a safe/recovery mode to try to repair it.

http://vegdave.wordpress.com/2006/1...

It wouldn't hurt to try ranish on it too.

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 2
Name: jefro
Date: March 7, 2007 at 14:59:16 Pacific
Reply:

http://www.phptr.com/articles/artic...

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 3
Name: nagamohan_p
Date: March 22, 2007 at 00:15:29 Pacific
Reply:

For knowing the hard disk magic no, I did in this way...

$ dd if=/dev/dsk/ c0t0d0s0 of=c0t0d0s0_ label.bin bs=512 count=1
1+0 records in
1+0 records out
$ od -x c0t0d0s0_label. bin 0x0

Please observe the first 512 bytes of the disk...

0000000 ffff ffff ffff 73f8 0000 7430 0000 7410
0000010 0000 0368 4760 ffff ffff 000c ffff 0108
0000020 ffff 0000 0000 0008 0000 0460 4760 73e0
0000030 0000 ff78 ffff 0008 ffff 0008 0000 0000
0000040 0000 7420 0000 73f8 0000 0000 ffff 0098
0000050 0000 ffff ffff 73e0 0000 0000 0000 ffff
0000060 ffff ffff ffff 4740 0000 ffff ffff ffff
0000070 ffff ffff ffff 0001 ffff ffff ffff ffff
0000080 ffff ffff ffff ffff ffff 07d0 0000 ffff
0000090 ffff ffff ffff ffff ffff ffff ffff ffff
*
0000110 ffff 74e8 0000 ffff ffff ffff ffff 4740
0000120 0000 0000 0000 0000 0000 ffff ffff 0001
0000130 0000 ffff ffff ffff ffff ffff ffff ffff
0000140 ffff ffff ffff ffff ffff ffff ffff ffff
*
0000160 ffff 75b8 0000 ffff ffff ffff ffff ffff
0000170 ffff ffff ffff ffff ffff ffff ffff ffff
*
00001c0 ffff ffff ffff 75b8 0000 75f0 0000 75d0
00001d0 0000 0368 4762 ffff ffff 000c ffff 0108
00001e0 ffff 0000 0000 75d8 0000 0460 4762 75a0
00001f0 0000 ff78 ffff 0008 ffff 0008 0000 010b
0000200

Note:
VTOC_SANE is always 0x600DDEEE at offset 0xbc.
DKL_MAGIC is always 0xDABE at offset 0x1fc, just before the checksum.

But VTOC_SANE is missed and disk magic is zero in my test result...
Please could you specify the procedure to get the correct Disk magic number and VTOC_SANE...


Regards,
nag.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: how will I know disk magic number..

Create Magic number on new IDE driv www.computing.net/answers/solaris/create-magic-number-on-new-ide-driv/4961.html

Bad Magic Number in Disk Label www.computing.net/answers/solaris/bad-magic-number-in-disk-label/102.html

Bad Magic Number in Disk Label www.computing.net/answers/solaris/bad-magic-number-in-disk-label/435.html