Good day,

I took one of my desktops that has two EIDE hard drives and went through
the steps I had sent earlier to you and tried to verify that it does
work on OpenBSD 4.0. It does work -- almost. I am pretty sure I was
booting from /dev/raid0a on the old server but couldn't repeat that with
this desktop. Here is my df -h 

ftl21# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd0a      3.9G    1.6G    2.2G    42%    /
/dev/raid0d    7.9G    6.0K    7.5G     0%    /tmp
/dev/raid0e    7.9G    4.0M    7.5G     0%    /var
/dev/raid0f    7.9G    1.5G    6.0G    20%    /usr
/dev/raid0g    7.9G    3.0M    7.5G     0%    /var/www
/dev/raid0h   66.7G    2.0K   63.4G     0%    /home

Please note that I am using /dev/wd0a for root and not /dev/raid0a as I
wanted to do.

Here is a copy of my fstab on wd0a in case that helps

/dev/wd0a / ffs rw 1 1
/dev/raid0b none swap sw 0 0
/dev/raid0d /tmp ffs rw,nodev,nosuid,softdep 1 2
/dev/raid0e /var ffs rw,nodev,nosuid,softdep 1 2
/dev/raid0f /usr ffs rw,nodev,softdep 1 2
/dev/raid0g /var/www ffs rw,nodev,nosuid,softdep 1 2
/dev/raid0h /home ffs rw,nodev,nosuid,softdep 1 2

I have the same fstab file on wd1a, wd0a, and raid0a.

I had /dev/raid0a / ffs rw 1 1 on the old server's fstab - according to
my notes. However, when I do that with this installation, I get a bunch
of errors, so thought having /dev/wd0a instead of /dev/raid0a should at
least provide software RAID for /var, /home, /var/www, /usr, etc. If you
figure out how to boot from /root0a please do let me know. If not, I
will try to redo this whole thing over the christmas holidays and see if
I can make it work.

Vijay

On Fri, 2006-17-11 at 12:34 +0530, Siju George wrote:
> On 11/16/06, Vijay Sankar <[EMAIL PROTECTED]> wrote:
> > Glad to know it was useful.
> >
> 
> I do have some confusion now :-) Hope you will be able to clarify.
> The raid seems to be working fine. But how do I access the RAID partitions?
> I 'l explain.
> 
> 1) I can boot both from wd0a and wd01
> 2) I am running the RAID kernel
> 
> ======================================================
> 
> # uname -a
> OpenBSD backupserver.hifxchn2.local 4.0 GENERIC.RAID#0 amd64
> #
> =========================================================
> 
> 3) The raid is working fine :-)
> 
> =============================================================
> # raidctl -sv raid0
> raid0 Components:
>            /dev/wd0d: optimal
>            /dev/wd1d: optimal
> No spares.
> Component label for /dev/wd0d:
>    Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
>    Version: 2, Serial Number: 200611160, Mod Counter: 139
>    Clean: No, Status: 0
>    sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
>    Queue size: 100, blocksize: 512, numBlocks: 229218048
>    RAID Level: 1
>    Autoconfig: Yes
>    Root partition: Yes
>    Last configured as: raid0
> Component label for /dev/wd1d:
>    Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
>    Version: 2, Serial Number: 200611160, Mod Counter: 139
>    Clean: No, Status: 0
>    sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
>    Queue size: 100, blocksize: 512, numBlocks: 229218048
>    RAID Level: 1
>    Autoconfig: Yes
>    Root partition: Yes
>    Last configured as: raid0
> Parity status: clean
> Reconstruction is 100% complete.
> Parity Re-write is 100% complete.
> Copyback is 100% complete.
> ==================================================================
> 
> 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%    /
> #
> 
> How do I access the wd0d partitions that are Raided?
> 
> Do I need to mount them manually under /
> 
> Just a bit confused :-)
> 
> Thank you so much
> 
> Kind Regards
> 
> Siju
-- 
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: 204 885 9535, E-Mail: [EMAIL PROTECTED]

Reply via email to