Query for an existing bootblk

Luke Hinds Luke.Hinds at mformation.com
Fri Jun 24 09:07:18 EDT 2005


Hi *,

I have to query several sun5.8 sparc boxes to see if the secondary
mirror has a bootblk installed.

If not I will need to call the following:

installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t1d0s0

Someone suggested:

dd if=/dev/rdsk/c1t1d0s0 of=mirror.vtoc bs=512 count=1

Which returns:

1+0 records in
1+0 records out

But I have no clue what that means?

Any help much appreciated.

Luke



More information about the sunmanagers mailing list