Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

boot block in Solaris 1

Status
Not open for further replies.

smishra

Technical User
Jul 1, 2003
23
0
0
IN
Hi,
Is it possible to see whether boot block are present in disk or not ? Is there any command which actually read the disk and let me know starting location of boot block ?

Thanks,
smishra
 
To view bootblocks in a disc:

newfs -N <RAW-device>

For example:

# newfs -N /dev/vx/dsk/rootvol
Warning: 1716 sector(s) in last cylinder unallocated
/dev/vx/rdsk/rootvol: 25067852 sectors in 12241 cylinders of 32 tracks, 64 sectors
12240.2MB in 250 cyl groups (49 c/g, 49.00MB/g, 6144 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 100448, 200864, 301280, 401696, 502112, 602528, 702944, 803360, 903776,
1004192, 1104608, 1205024, 1305440, 1405856, 1506272, 1606688, 1707104,
1807520, 1907936, 2008352, 2108768, 2209184, 2309600, 2410016, 2510432,
2610848, 2711264, 2811680, 2912096, 3012512, 3112928, 3211296, 3311712,
3412128, 3512544, 3612960, 3713376, 3813792, 3914208, 4014624, 4115040,
4215456, 4315872, 4416288, 4516704, 4617120, 4717536, 4817952, 4918368,
5018784, 5119200, 5219616, 5320032, 5420448, 5520864, 5621280, 5721696,
5822112, 5922528, 6022944, 6123360, 6223776, 6324192, 6422560, 6522976,
6623392, 6723808, 6824224, 6924640, 7025056, 7125472, 7225888, 7326304,
7426720, 7527136, 7627552, 7727968, 7828384, 7928800, 8029216, 8129632,
8230048, 8330464, 8430880, 8531296, 8631712, 8732128, 8832544, 8932960,
9033376, 9133792, 9234208, 9334624, 9435040, 9535456, 9633824, 9734240,
9834656, 9935072, 10035488, 10135904, 10236320, 10336736, 10437152, 10537568,
10637984, 10738400, 10838816, 10939232, 11039648, 11140064, 11240480,
11340896, 11441312, 11541728, 11642144, 11742560, 11842976, 11943392,
12043808, 12144224, 12244640, 12345056, 12445472, 12545888, 12646304,
12746720, 12845088, 12945504, 13045920, 13146336, 13246752, 13347168,
13447584, 13548000, 13648416, 13748832, 13849248, 13949664, 14050080,
14150496, 14250912, 14351328, 14451744, 14552160, 14652576, 14752992,
14853408, 14953824, 15054240, 15154656, 15255072, 15355488, 15455904,
15556320, 15656736, 15757152, 15857568, 15957984, 16056352, 16156768,
16257184, 16357600, 16458016, 16558432, 16658848, 16759264, 16859680,
16960096, 17060512, 17160928, 17261344, 17361760, 17462176, 17562592,
17663008, 17763424, 17863840, 17964256, 18064672, 18165088, 18265504,
18365920, 18466336, 18566752, 18667168, 18767584, 18868000, 18968416,
19068832, 19169248, 19267616, 19368032, 19468448, 19568864, 19669280,
19769696, 19870112, 19970528, 20070944, 20171360, 20271776, 20372192,
20472608, 20573024, 20673440, 20773856, 20874272, 20974688, 21075104,
21175520, 21275936, 21376352, 21476768, 21577184, 21677600, 21778016,
21878432, 21978848, 22079264, 22179680, 22280096, 22380512, 22478880,
22579296, 22679712, 22780128, 22880544, 22980960, 23081376, 23181792,
23282208, 23382624, 23483040, 23583456, 23683872, 23784288, 23884704,
23985120, 24085536, 24185952, 24286368, 24386784, 24487200, 24587616,
24688032, 24788448, 24888864, 24989280,

First superblock is always stored on block 32, to find out the rest of them use the shown command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top