X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C84339.185CF41E@onstor-exch02.onstor.net>; Thu, 20 Dec 2007 10:49:48 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C84339.185CF41E"
References: <BB375AF679D4A34E9CA8DFA650E2B04E056C923B@onstor-exch02.onstor.net><BB375AF679D4A34E9CA8DFA650E2B04E056C923C@onstor-exch02.onstor.net> <20071219225418.091e28e4@ripper.onstor.net>
Content-class: urn:content-classes:message
Subject: RE: Test of the compact flash you gave me
Date: Thu, 20 Dec 2007 10:46:48 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E042F0003@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Test of the compact flash you gave me
Thread-Index: AchC1SUiA+9ZzqX3T1KL6oWEvpXjHgAY4gcQ
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C84339.185CF41E
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

These are the OpenBSD password database files. Instead of using =
/etc/shadow they use a Berkely database to store the encrypted passwords =
and such. To modify/create it you need to run the BSD tools on the =
filer. Check the OpenBSD man pages they explain how to update the =
password db.

Larry


-----Original Message-----
From: Andy Sharp
Sent: Wed 12/19/2007 10:54 PM
To: Larry Scheer
Subject: Re: Test of the compact flash you gave me
=20
OK, after much beating of my head against the wall, I think I got it
right this time.  Not really sure what was causing all the problems
before, but I fixed several very tiny things.  I'll have another CF for
you to test tomorrow.  But it seems to be working pretty well for me.

One question: what is /etc/pwd.db and /etc/spwd.db in openbsd??  I had
to add a little code to flash_install.sh to sed usr/local/agile out
of /etc/passwd and /etc/master.passwd, but these database files,
well, they're not ascii and I don't know what they are.  But my system
booted up fine with the current one and hopefully yours will too.
Previously mine was having similar problems to yours.  I tell you what,
dealing with pm is a real pain....

Cheers,

a


On Tue, 18 Dec 2007 20:21:50 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> A df shows there is no /tmp/ramdisk:
> eng216# df
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/wd0a      319607   166254   153353    52%    /
> /dev/wd0d       79319     1845    77474     2%    /var
> /dev/wd0e       19375        1    19374     0%    /tmp
> /dev/wd0f       49599      478    49121     1%    /onstor/conf
> mfs:32522         727        9      682     1%    /dev
> Looks like none of the SSC daemons started.=20
>=20
> eng216# ps -ax
>   PID TT   STAT      TIME COMMAND
>     1 ??  Is      0:00.00 /sbin/init=20
>  2504 ??  Is      0:00.06 /onstor/bin/sshd=20
>  3356 ??  Is      0:00.02 portmap=20
> 12172 ??  Is      0:00.01 inetd=20
> 16776 ??  Ss      0:00.05 cron=20
> 22159 ??  Ss      0:00.00 ypbind -ypsetme=20
> 29615 ??  Ss      0:00.12 syslogd=20
> 30686 ??  I       0:00.04 ypserv -a /var/yp/securenet=20
> 32522 ??  Ds      0:00.02 mount_mfs -s 2000 -o union,noatime,rw swap
> /dev=20
> 10982 ??  Ss      0:00.08 -csh (csh)
> 18589 ??  R+      0:00.00 ps -ax
>=20
> I checked the pmtab and it looked fine. I tried to start pm and this
> is what happened:
>=20
> ng216# /onstor/bin/pm
> eng216# ps -ef
> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
>=20
> I thought about creating the /usr/local/agile link but it still
> exists:
>=20
> ls -al /usr/local
> total 8
> drwxr-xr-x   8 root  wheel  512 Dec 18 17:36 .
> drwxr-xr-x  16 root  wheel  512 Dec 18 17:37 ..
> lrwxr-xr-x   1 root  wheel   12 Dec 17 17:41 agile -> ../../onstor
>=20
> I found a pm.core file here is its trace:
>=20
> Reading symbols from /usr/libexec/ld.so...done.
> #0  0x5013bb64 in kill () at kill:2
> kill:2: No such file or directory.
> (gdb) bt
> #0  0x5013bb64 in kill () at kill:2
> #1  0x501bbc54 in abort ()
> #2  0x409b38 in pm_panic ()
> #3  0x4059a8 in main ()
> #4  0x4057a0 in main ()
>=20
> We can look at this tomorrow.
>=20
> Larry
>=20
> _____________________________________________
> From: Larry Scheer=20
> Sent: Tuesday, December 18, 2007 7:26 PM
> To: Andy Sharp
> Subject: Test of the compact flash you gave me
>=20
> I did a system reboot -s and the system came up in HCL's first-install
> mode complaining about dhcp servers, etc. When I typed nfxsh it
> fetched the system configuration info from the standby compact flash
> and rebooted.  I think this is to be expected. However system didn't
> quite come up:
>=20
> nfxsh
>=20
> Welcome to the ONStor NAS Gateway.
>=20
> eng216 diag> system show version
> Send to chassisd failed: Unknown error: *
>=20
> Version Info Not Available
> % Command failure.
> eng216 diag> rmc_pm_dispatch(): sess{:pm.0.0} down


------_=_NextPart_001_01C84339.185CF41E
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7652.24">
<TITLE>RE: Test of the compact flash you gave me</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>These are the OpenBSD password database files. Instead =
of using /etc/shadow they use a Berkely database to store the encrypted =
passwords and such. To modify/create it you need to run the BSD tools on =
the filer. Check the OpenBSD man pages they explain how to update the =
password db.<BR>
<BR>
Larry<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Andy Sharp<BR>
Sent: Wed 12/19/2007 10:54 PM<BR>
To: Larry Scheer<BR>
Subject: Re: Test of the compact flash you gave me<BR>
<BR>
OK, after much beating of my head against the wall, I think I got it<BR>
right this time.&nbsp; Not really sure what was causing all the =
problems<BR>
before, but I fixed several very tiny things.&nbsp; I'll have another CF =
for<BR>
you to test tomorrow.&nbsp; But it seems to be working pretty well for =
me.<BR>
<BR>
One question: what is /etc/pwd.db and /etc/spwd.db in openbsd??&nbsp; I =
had<BR>
to add a little code to flash_install.sh to sed usr/local/agile out<BR>
of /etc/passwd and /etc/master.passwd, but these database files,<BR>
well, they're not ascii and I don't know what they are.&nbsp; But my =
system<BR>
booted up fine with the current one and hopefully yours will too.<BR>
Previously mine was having similar problems to yours.&nbsp; I tell you =
what,<BR>
dealing with pm is a real pain....<BR>
<BR>
Cheers,<BR>
<BR>
a<BR>
<BR>
<BR>
On Tue, 18 Dec 2007 20:21:50 -0800 &quot;Larry Scheer&quot;<BR>
&lt;larry.scheer@onstor.com&gt; wrote:<BR>
<BR>
&gt; A df shows there is no /tmp/ramdisk:<BR>
&gt; eng216# df<BR>
&gt; Filesystem&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp; =
Used&nbsp;&nbsp;&nbsp; Avail Capacity&nbsp; Mounted on<BR>
&gt; /dev/wd0a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 319607&nbsp;&nbsp; =
166254&nbsp;&nbsp; 153353&nbsp;&nbsp;&nbsp; 52%&nbsp;&nbsp;&nbsp; /<BR>
&gt; /dev/wd0d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
79319&nbsp;&nbsp;&nbsp;&nbsp; 1845&nbsp;&nbsp;&nbsp; =
77474&nbsp;&nbsp;&nbsp;&nbsp; 2%&nbsp;&nbsp;&nbsp; /var<BR>
&gt; /dev/wd0e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
19375&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; =
19374&nbsp;&nbsp;&nbsp;&nbsp; 0%&nbsp;&nbsp;&nbsp; /tmp<BR>
&gt; /dev/wd0f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
49599&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 478&nbsp;&nbsp;&nbsp; =
49121&nbsp;&nbsp;&nbsp;&nbsp; 1%&nbsp;&nbsp;&nbsp; /onstor/conf<BR>
&gt; mfs:32522&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
727&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 682&nbsp;&nbsp;&nbsp;&nbsp; =
1%&nbsp;&nbsp;&nbsp; /dev<BR>
&gt; Looks like none of the SSC daemons started.<BR>
&gt;<BR>
&gt; eng216# ps -ax<BR>
&gt;&nbsp;&nbsp; PID TT&nbsp;&nbsp; STAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
TIME COMMAND<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; 1 ??&nbsp; Is&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0:00.00 /sbin/init<BR>
&gt;&nbsp; 2504 ??&nbsp; Is&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.06 =
/onstor/bin/sshd<BR>
&gt;&nbsp; 3356 ??&nbsp; Is&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.02 =
portmap<BR>
&gt; 12172 ??&nbsp; Is&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.01 inetd<BR>
&gt; 16776 ??&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.05 cron<BR>
&gt; 22159 ??&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.00 ypbind =
-ypsetme<BR>
&gt; 29615 ??&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.12 syslogd<BR>
&gt; 30686 ??&nbsp; I&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.04 ypserv =
-a /var/yp/securenet<BR>
&gt; 32522 ??&nbsp; Ds&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.02 mount_mfs =
-s 2000 -o union,noatime,rw swap<BR>
&gt; /dev<BR>
&gt; 10982 ??&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.08 -csh =
(csh)<BR>
&gt; 18589 ??&nbsp; R+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.00 ps -ax<BR>
&gt;<BR>
&gt; I checked the pmtab and it looked fine. I tried to start pm and =
this<BR>
&gt; is what happened:<BR>
&gt;<BR>
&gt; ng216# /onstor/bin/pm<BR>
&gt; eng216# ps -ef<BR>
&gt; /etc/rc.shutdown in progress...<BR>
&gt; /etc/rc.shutdown complete.<BR>
&gt;<BR>
&gt; I thought about creating the /usr/local/agile link but it still<BR>
&gt; exists:<BR>
&gt;<BR>
&gt; ls -al /usr/local<BR>
&gt; total 8<BR>
&gt; drwxr-xr-x&nbsp;&nbsp; 8 root&nbsp; wheel&nbsp; 512 Dec 18 17:36 =
.<BR>
&gt; drwxr-xr-x&nbsp; 16 root&nbsp; wheel&nbsp; 512 Dec 18 17:37 ..<BR>
&gt; lrwxr-xr-x&nbsp;&nbsp; 1 root&nbsp; wheel&nbsp;&nbsp; 12 Dec 17 =
17:41 agile -&gt; ../../onstor<BR>
&gt;<BR>
&gt; I found a pm.core file here is its trace:<BR>
&gt;<BR>
&gt; Reading symbols from /usr/libexec/ld.so...done.<BR>
&gt; #0&nbsp; 0x5013bb64 in kill () at kill:2<BR>
&gt; kill:2: No such file or directory.<BR>
&gt; (gdb) bt<BR>
&gt; #0&nbsp; 0x5013bb64 in kill () at kill:2<BR>
&gt; #1&nbsp; 0x501bbc54 in abort ()<BR>
&gt; #2&nbsp; 0x409b38 in pm_panic ()<BR>
&gt; #3&nbsp; 0x4059a8 in main ()<BR>
&gt; #4&nbsp; 0x4057a0 in main ()<BR>
&gt;<BR>
&gt; We can look at this tomorrow.<BR>
&gt;<BR>
&gt; Larry<BR>
&gt;<BR>
&gt; _____________________________________________<BR>
&gt; From: Larry Scheer<BR>
&gt; Sent: Tuesday, December 18, 2007 7:26 PM<BR>
&gt; To: Andy Sharp<BR>
&gt; Subject: Test of the compact flash you gave me<BR>
&gt;<BR>
&gt; I did a system reboot -s and the system came up in HCL's =
first-install<BR>
&gt; mode complaining about dhcp servers, etc. When I typed nfxsh it<BR>
&gt; fetched the system configuration info from the standby compact =
flash<BR>
&gt; and rebooted.&nbsp; I think this is to be expected. However system =
didn't<BR>
&gt; quite come up:<BR>
&gt;<BR>
&gt; nfxsh<BR>
&gt;<BR>
&gt; Welcome to the ONStor NAS Gateway.<BR>
&gt;<BR>
&gt; eng216 diag&gt; system show version<BR>
&gt; Send to chassisd failed: Unknown error: *<BR>
&gt;<BR>
&gt; Version Info Not Available<BR>
&gt; % Command failure.<BR>
&gt; eng216 diag&gt; rmc_pm_dispatch(): sess{:pm.0.0} down<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C84339.185CF41E--
