Subject: Re: [RAIDframe] 16.3.7 Setting up kernel dumps
To: Rui Paulo <rpaulo@NetBSD.org>
From: Ryan Cresawn <cresawn@chass.utoronto.ca>
List: netbsd-docs
Date: 08/17/2005 19:09:46
On Wed, Aug 17, 2005 at 01:12:53PM -0400, Ryan Cresawn wrote:
> Rui,
>
> Thanks for fixing my XML. I just copied and modified text from the
> i386 section above. I do not know how to write it correctly.
>
> I am currently testing two ideas I have with regard to RAID-1 boot
> disks on sparc64:
>
> * I may not have properly aligned the partitions on cylinder
> boundaries when using disklabel for both sd0 and sd1. I am
> redoing everything now to determine if that is the cause of my
> troubles.
>
> * If the first idea fails then I will redo everything but will
> create a small partition for the storage of ofwboot per the URL I
> included earlier.
>
> Upon completion of these tests I will be in a position to answer your
> question regarding the RAIDframe documentation.
>
> Ryan
Rui,
I have finished testing and concluded that the offsets must be on
cylinder boundaries and creating a small partition for the storage of
ofwboot and the boot block is required. Note the following:
# disklabel -r sd0 | tail -6
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 35373821 4712 RAID # (Cyl. 1 - 7508*)
b: 1046064 34326920 swap # (Cyl. 7285 - 7506)
c: 35378533 0 unused 0 0 # (Cyl. 0 - 7508*)
e: 4712 0 4.2BSD 1024 8192 592 # (Cyl. 0 - 0)
# disklabel -r sd1 | tail -6
5 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 35373821 4712 RAID # (Cyl. 1 - 7508*)
b: 1046064 34326920 swap # (Cyl. 7285 - 7506)
c: 35378533 0 unused 0 0 # (Cyl. 0 - 7508*)
e: 4712 0 4.2BSD 1024 8192 592 # (Cyl. 0 - 0)
The URL I mentioned earlier was instrumental in getting this to work.
Booting now works correctly from either disk. Would you like me to
attempt to modify the XML file again to include these details?
Ryan