On Fri, Nov 17, 2006 at 02:57:46PM +0530, Siju George wrote: > On 11/15/06, Vijay Sankar <[EMAIL PROTECTED]> wrote: > >Good day, > > > >Hope this helps, > > > > Yup some final confusions :-( > > The raid seems to be working fine. But how do I access the RAID partitions? > it seems I have 3 copies of the OpenBSD system on "wd0a" and "wd1a" > and also raid0a > and how do I run on the OpenBSD system that is on "raid0" > I 'l explain. > > 1) I can boot both from wd0a and wd01 > 2) I am running the RAID kernel > 3) The raid is working fine :-) > > ============================================================= > # raidctl -sv raid0 > raid0 Components: > /dev/wd0d: optimal > /dev/wd1d: optimal > No spares. > Component label for /dev/wd0d:
> Autoconfig: Yes > Root partition: Yes > Last configured as: raid0 > Component label for /dev/wd1d: > Autoconfig: Yes > Root partition: Yes > Last configured as: raid0 > ================================================================== > > but > # mount > /dev/wd0a on / type ffs (local) > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/wd0a 2.0G 649M 1.2G 34% / > # > # disklabel raid0 > # mount /dev/raid0a /mnt > # cat /mnt/etc/fstab > /dev/raid0a / ffs rw 1 1 > How do I access the wd0d partitions that are Raided? Not at all, I hope. RAIDFrame is doing it's thing on wd0d, better leave it to it. > Do I need to mount them manually under / No, mount /dev/raid0a or somesuch. In fact, with the configuration you have, /dev/raid0a should be mounted *on* /. At least, if you enabled 'option RAID_AUTOCONFIG' when you compiled your kernel. dmesg will tell you whether or not this is the case - raidX will be configured before you see 'root on XXX' if it is. Note that you should not use /etc/raidX.conf in this case. Joachim