Query for an existing bootblk

From: Luke Hinds (Luke.Hinds@mformation.com)
Date: Fri Jun 24 2005 - 09:07:18 EDT


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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:57 EDT