Verification of the Boot Block


 
Thread Tools Search this Thread
Operating Systems Solaris Verification of the Boot Block
# 1  
Old 05-24-2012
Verification of the Boot Block

Guys,

I have a rusty question that I need help with. It has been a while since I supoprted Solaris boxes. I have several hundred solaris systems running Sol 8 and Sol 10. I built the original 250 but they have added several hundred more and I am seeing issues with these boxes that I need to do some verification on. I had a hard drive fail, which is normally not much of an issue as we use Veritas and have a root and mirror configured but I found that on these boxes they were not setup correctly so the disks are missing the boot block on the mirror so they will not boot. I followed the steps to add a boot block but unable to complete that. So what I am trying to do is run a script on the boxes that will verify that both the root and mirror have the boot block on them. So I know which ones I need to perform work on to have redundancy back in place.

Thanks in advance.
# 2  
Old 05-24-2012
One way might be to use dd to copy the boot block sectors to a temporary file and then compare the contents of that file with the corresponding /usr/platform/.../bootblk using cmp or some other utility.
# 3  
Old 05-25-2012
If you don't find the way to verify the boot block why don't you just re install them all...

It is very fast/easy process and you'll ensure all your systems will have the boot block correctly installed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

ECDSA verification

Using ECDSA, how do you verify integrity of Data (D), Given the value for the following: Random number (r) Signature (s) ECpublic Key (K) Thanks. (0 Replies)
Discussion started by: dragonpoint
0 Replies

2. Shell Programming and Scripting

Help about comment verification

Hello, I have a file, in which line 40 is commented. It is basically a cron job, #05,35,50 * * * * /usr/local/scripts/my.sh how i can i verify the line 40 is commented, if not then give me message not commented, otherwise provide us message it is commented. (5 Replies)
Discussion started by: learnbash
5 Replies

3. Solaris

How to cross check created boot block in second disk

Hi All, I have copied a existing root file system from c0t0d0 to c0t1d0 in SUN Fire 6800 by using the below command, ufsdump 0ucf - / | (cd /new.root ; ufsrestore -rf - ) and later on I created a boot block on c0t1d0s0 by using the below command installboot /usr/platform/`uname... (1 Reply)
Discussion started by: dammaharasba
1 Replies

4. Shell Programming and Scripting

Script Verification

Hi eveyone I am planning to use crontab to delete all files in my donwloads directory that are older than one hour I will be using crontab to run this script find /home/kee/downloads/* -daystart -mmin +59 -type f -name -exec rm -r {}\; could you please let me know if the above... (1 Reply)
Discussion started by: k33k00
1 Replies

5. News, Links, Events and Announcements

MS to block linux boot

Microsoft to stop Linux, older Windows, from running on Windows 8 PCs | ZDNet isn't that deserve an anti trust investigation? MS monopoly is transfer into the hardware. (1 Reply)
Discussion started by: programAngel
1 Replies

6. Solaris

Boot block corrupted then how can i solve that

HI every one, i need some information that is if any boot block is corrupted den we have to go to ok prompt then boot from cdrom or network if ok prompt also not working at dat time wat i have to do .please any one can help me . Thanking for reply (10 Replies)
Discussion started by: sivajerripothul
10 Replies

7. AIX

HACMP verification

Hi, every midnight hacmp verification is run automatically. clverify.log says there is no erro bu clutils.log says there is 1 error but when i look at the clverify.log no problem at all. Below is the output of the clverify.log what may be the cause of the error in the clutils.log file. Thanks,... (1 Reply)
Discussion started by: mmersoylu
1 Replies

8. Programming

htable + verification

hello every body, I have to verifiy if the param_key is selectionned twice or more and to print only one occurence i'm using htable what's the good implementation to add to the code to verify this. code : { char *tmpStr = NULL; ght_iterator_t iterator_param; void... (0 Replies)
Discussion started by: kamel.seg
0 Replies

9. Red Hat

Its regarding boot block

I install Redhat linux9 on my local desktop pc on which windoxs XP OS is installed earlier.I made half disk empty and then install Redhat linux9 on my pc and make the system in dual boot. As I install linux latter,the grub boot block(of linux)save on the hard disk.But now I wants to delete the... (3 Replies)
Discussion started by: sameerghogre
3 Replies

10. UNIX for Dummies Questions & Answers

verification?

I'm really new at this and wondering how I would go about adding code to my script to verify that all records loaded successfully? (I am loading a file into a table) i'm using the Korn shell. I'm also having trouble verifying parts in the header as i do not really understand the header and... (3 Replies)
Discussion started by: sheranjem
3 Replies
Login or Register to Ask a Question