graid5 compilation problem

deniswork at uzvik.kiev.ua deniswork at uzvik.kiev.ua
Thu May 3 19:15:51 UTC 2007


Btw, after make install on geom_raid5.c i'm unable locate
geom_raid5.so at system.

And I thing I need copy it to /lib/geom     as described in guide



> --- deniswork at 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...
 
>> and trying to compile it using this guide:
>> http://www.freenas.org/downloads/docs/devel-docs/#d0e689
>> 
>> kernel module compiles OK.
>> , but i meet troubles when I
>> trying to compile geom_raid5.c
>> 
>> [root at 82 /usr/src/sbin/geom/class/raid5]# cd /usr/src/sbin/geom/class/raid5/
>> [root at 82 /usr/src/sbin/geom/class/raid5]#
>> [root at 82 /usr/src/sbin/geom/class/raid5]# mkdir /usr/include/geom/raid5
>> [root at 82 /usr/src/sbin/geom/class/raid5]#
>> [root at 82 /usr/src/sbin/geom/class/raid5]# cp
>> /usr/src/sys/geom/raid5/g_raid5.h /usr/include/geom/raid5/
>> [root at 82 /usr/src/sbin/geom/class/raid5]#
>> [root at 82 /usr/src/sbin/geom/class/raid5]# make depend
>> [root at 82 /usr/src/sbin/geom/class/raid5]#
>> [root at 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 : (
>> 
> 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?
>> 
> Yup - I hope I did... :-)

> Have fun...
> -Arne

> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 





More information about the freebsd-geom mailing list