9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fs config problem: accidental config deletion?
@ 2002-02-22 11:37 Axel Belinfante
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Belinfante @ 2002-02-22 11:37 UTC (permalink / raw)
  To: 9fans

Hello,

due to a change of IP number I had to reconfigure my fs.
I rebooted, went to config mode, and tried to change
just ip and ipgw:
 	ip new.ip.address
	ipgw new.ip.g.w
	end
I think at a certain moment I made a typing mistake,
but typed 'end' anyway. Anyway, all I got after config
were panics.

Then I did something silly: I also (re)configured 'service'
and 'config', and  the other ip address, basically everything
except the filsys's:
	service super
	config w0
	...
	end
and now I have the funny feeling that, by re-specifying config,
I have blown away my filsys configuration, confirmed by
panic(no filsys) (and a -- too late -- look at the source).

Does this mean that my only chance to gain acces to the fs
is to indeed re-specify the complete configuration,
including the filsys lines, exactely as I specified them before?
(the unfortunate thing is that I played a bit with filsys lines
 to get it working, and even though I have a pretty good idea,
 I am not completely sure what filsys strings I finally specified)
Or is the configuration stored elsewhere, or can it somehow be
'reverse engineered'?

Feeling, ahem, not so bright this morning,
Axel.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] fs config problem: accidental config deletion?
  2002-02-22 12:37 forsyth
@ 2002-02-22 12:55 ` Axel Belinfante
  0 siblings, 0 replies; 3+ messages in thread
From: Axel Belinfante @ 2002-02-22 12:55 UTC (permalink / raw)
  To: 9fans

Thanks for the reply.
Will I get feedback that tells me when I guessed the
filsys string wrong?
The reason I'm asking is that I know how I configured
the fake-worm part of main, but am a bit unsure about
the cache part, that is on another disk that also
contains an empty other file-system.
Because I made a dump before switching the system off,
I don't care much about the cache nor about the (empty)
other file system, assuming that I can use 'recover main'
to reinitialise the cache.

Yes, avoiding not-intented ream is very important.
(Seemingly) a long time ago with disk/kfs I included a 
not-intended ream request, when I copied/pasted a
disk/kfs command from the man page without paying
attention to _all_ the options (i.e. overseeing the 'r' option);
luckily that was a very fresh file system,
just after installation -- it just took me time to
reinstall.

Axel.

> the configuration is stored where you tell it,
> and as you say, giving a new "config" command
> causes it to reset the configuration.
> you need to give it the filsys lines as before.
> DO NOT INCLUDE a ream request, or you WILL be sad.
> just the filsys




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] fs config problem: accidental config deletion?
@ 2002-02-22 12:37 forsyth
  2002-02-22 12:55 ` Axel Belinfante
  0 siblings, 1 reply; 3+ messages in thread
From: forsyth @ 2002-02-22 12:37 UTC (permalink / raw)
  To: 9fans

>>Does this mean that my only chance to gain acces to the fs
>>is to indeed re-specify the complete configuration,
>>including the filsys lines, exactely as I specified them before?

the configuration is stored where you tell it,
and as you say, giving a new "config" command
causes it to reset the configuration.
you need to give it the filsys lines as before.
DO NOT INCLUDE a ream request, or you WILL be sad.
just the filsys


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-22 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22 11:37 [9fans] fs config problem: accidental config deletion? Axel Belinfante
2002-02-22 12:37 forsyth
2002-02-22 12:55 ` Axel Belinfante

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).