<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: Unable to discover isw raid with 1.0.0-rc3</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > > So is dmraid intended for use with sysfs only now? If not, </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > how can I get</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > > it to obtain the correct sector count when "carrying on </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > with /dev/"? I</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > > mean, should I do something outside of dmraid to achieve this? </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > Yes, sysfs is meant to be used in 2.6.</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> > Is there a special reason, why you can't use it ?</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> I don't know how to use sysfs. Whenever I run dmraid, it always says</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> something about not finding the sysfs mount point and carrying on with</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> /dev/. I've been running SuSE 9.1 with a 2.6.7 kernel, if </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> that makes any</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> difference. I'm about to try a 2.6.8 kernel now. </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">> Guess I'll google for sysfs. Any pointers from anyone most welcome.</FONT></SPAN>
</P>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">It looks like dmraid doesn't find sysfs mount point on my system because there is no sysfs entry in /etc/mtab. I don't know when and how this table gets populated. I'd love to have sysfs automatically added to it, if someone can tell me how. For now I'm manually adding the entry after each reboot. Yuck!  </FONT></SPAN></P>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">One related question here: are /etc/mtab and sysfs available in early-userspace? Or does dmraid use another mechanism in that environment?</FONT></SPAN></P>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">So now the metadata can be properly discovered, but I get this error message "isw: Error finding disk table slot for /dev/sda". Not sure if this is a big deal, but the problem is caused by trailing spaces in the serial string obtained by get_scsi_serial() in lib/device/scan.c. Other than that, it works great.</FONT></SPAN></P>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">I tried the 2.6.8.1kernel from kernel.org. It also has the issue with missing sysfs entry (not sure if that's kernel-related), but works fine otherwise. </FONT></SPAN></P>

<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Cheers,</FONT></SPAN>

<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Jane</FONT></SPAN>
</P>

</BODY>
</HTML>