Date: Thu, 3 May 2007 22:11:05 +0300 From: deniswork@uzvik.kiev.ua To: =?ISO-8859-1?Q?Arne_W=F6rner?= <arne_woerner@yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re[2]: graid5 compilation problem Message-ID: <1744383069.20070503221105@uzvik.kiev.ua> In-Reply-To: <571814.46202.qm@web30301.mail.mud.yahoo.com> References: <1003497296.20070503201226@uzvik.kiev.ua> <571814.46202.qm@web30301.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Can you please advice how to create raid with graid5?
I found on docs
graid5 label -v -s 131072 data /dev/da0 /dev/da1 /dev/da2 /dev/da3
newfs /dev/raid5/data
mount /dev/raid5/data /mnt
So my attempt:
$ geom raid5 label -v /dev/ad4 /dev/ad6 /dev/ad8 /dev/ad10
i get:
Unknown command: label
usage: geom raid5 help
geom raid5 list [name ...]
geom raid5 status [-s] [name ...]
geom raid5 load [-v]
geom raid5 unload [-v]
Thanks!
p.s.
[root@82 /usr/src/sbin/geom/class/raid5]# kldstat
Id Refs Address Size Name
1 6 0xc0400000 70794c kernel
2 1 0xc0b08000 11920 geom_vinum.ko
3 1 0xc0b1a000 59f20 acpi.ko
5 1 0xc8f43000 5000 geom_label.ko
6 1 0xc85e4000 13000 geom_raid5.ko
> --- deniswork@uzvik.kiev.ua wrote:
>> Hi, I want migrate(after two after-reboot-crashes) from gvinum to
>> graid5.
>>
> Cool... I am glad to read that...
>> I take graid5 from this url:
>>
>> http://home.tiscali.de/cmdr_faako/geom_raid5.tbz
>>
> OK...
=20
>> and trying to compile it using this guide:
>> http://www.freenas.org/downloads/docs/devel-docs/#d0e689
>>=20
>> kernel module compiles OK.
>> , but i meet troubles when I
>> trying to compile geom_raid5.c
>>=20
>> [root@82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/ra=
id5/
>> [root@82 /usr/src/sbin/geom/class/raid5]#
>> [root@82 /usr/src/sbin/geom/class/raid5]# mkdir /usr/include/geom/raid5
>> [root@82 /usr/src/sbin/geom/class/raid5]#
>> [root@82 /usr/src/sbin/geom/class/raid5]# cp
>> /usr/src/sys/geom/raid5/g_raid5.h /usr/include/geom/raid5/
>> [root@82 /usr/src/sbin/geom/class/raid5]#
>> [root@82 /usr/src/sbin/geom/class/raid5]# make depend
>> [root@82 /usr/src/sbin/geom/class/raid5]#
>> [root@82 /usr/src/sbin/geom/class/raid5]# make
>> Warning: Object directory not changed from original
>> /usr/src/sbin/geom/class/raid5
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
> This means nothing important, I would guess... I always ignored that...
>> and after this graid5(at /sbin/graid5 and at any other location) doesn't
>> created : (
>>=20
> U can either use
> geom raid5
> or u create the necessary hard link:
> ln /sbin/geom /sbin/graid5
>> Can you please help me solve this problem?
>>=20
> Yup - I hope I did... :-)
> Have fun...
> -Arne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1744383069.20070503221105>
