Re: Can't save Vinum config: No such file or directory

From: Stijn Hoop <stijn_at_win.tue.nl>
Date: Mon, 16 Feb 2004 12:09:35 +0100
On Fri, Feb 13, 2004 at 11:55:41PM +0100, Lukas Ertl wrote:
> I have a very very far fetched idea.  Could you please try this:
> 
> *) cd /usr/src/sbin/vinum
> *) vi commands.c
> *) locate the function vinum_read(), the first line says "int error;"
> *) initialize this var to zero, i.e. "int error = 0;"
> *) recompile vinum and tell if that changed anything

OK, more info now that I am at the console of the machine again.

During the weekend I discovered that I had saved a copy of my previously
working kernel somewhere in my homedirectory, so this morning I first compiled
a Feb 6 version of /sbin/vinum, and then booted off the old kernel + vinum
module, and executed the old /sbin/vinum. No error message, but the only
things listed in my configuration were the drives (so no
volumes/plexes/subdisks).

Next up I tried your suggestion above with my new kernel. This also got rid of
the error message (or at least it doesn't show up), but again the only objects
listed were the drives; no volumes etc.

My current theory is that I somehow goofed up during the kernel rebuild-a-thon
last friday, and that I somewhere loaded the old vinum module alongside the
new kernel; and this bit me by overwriting my configuration. It's the only
explanation I can think of (since I'm obviously the only one to have this
problem). If you want more information or have more things I could try
I'd be glad to do so, but I think that it was me that introduced this, altough
I couldn't for the life of me think of anything I did that could cause this.

Although the data that was on the volume is not crucial, it would be nice if
there was a way to recover it; so if you don't want to investigate further,
can you tell me whether a vinum create would restore my volumes, or is there
simply no way that I can do so without obliterating the data? If the latter,
I'll just move on and recreate the plex using ccd(4) (seeing as following
vinum development is not one of my goals right now).

--Stijn

-- 
Apparently, 1 in 5 people in the world are Chinese. And there are 5 people
in my family, so it must be one of them. It's either my mum or my dad......
or maybe my older brother John. Or my younger brother Ho-Cha-Chu. But I'm
pretty sure it's John.

Received on Mon Feb 16 2004 - 02:08:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC