NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: raidframe query



On Wed, Sep 21, 2011 at 12:20:28PM +0100, David Brownlee wrote:
> is the disklabel for wd1 the same as wd0?

This time I used diff -u rather than just my eyes :-(

# diff -u /tmp/foo /tmp/bar
--- /tmp/foo    2011-09-21 11:31:02.000000000 +0000
+++ /tmp/bar    2011-09-21 11:30:57.000000000 +0000
@@ -1,8 +1,8 @@
-wd0|Automatically generated label:\
+wd1|Automatically generated label:\
        :dt=ESDI:se#512:ns#63:nt#16:sc#1008:nc#620181:\
        :pa#170278977:oa#63:ta=RAID:\
-       :pb#10485760:ob#170279040:tb=swap:\
-       :pc#625142320:oc#63:\
+       :pb#10485760:ob#170279040:tb=4.2BSD:bb#16384:fb#2048:\
+       :pc#625142320:oc#128:\
        :pd#625142448:od#0:\
        :pe#209715200:oe#180764800:te=RAID:\
        :pf#234662448:of#390480000:tf=RAID:

I had originally written the disklabels with offset 128 thinking that
the wd0 disklabels should be aligned rather than the raid0 labels.
It seems that I changed wd0a, wd1a, wd0c to 63, but not wd1c!

(wd0b=swap, wd1b=/usr/obj)

Thank you!

Patrick


Home | Main Index | Thread Index | Old Index