lkcd
[Top] [All Lists]

Re: Which first? config or save

To: James Washer <washer@xxxxxxxxxx>
Subject: Re: Which first? config or save
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Fri, 26 Oct 2001 00:41:30 -0700
Cc: Tony Dziedzic <Tony.Dziedzic@xxxxxxxxxxxx>, lkcd@xxxxxxxxxxx
Organization: Alacritech, Inc.
References: <OF41287802.5936F1D0-ON88256AEE.00751C50@boulder.ibm.com>
Sender: owner-lkcd@xxxxxxxxxxx
'lkcd config' followed by 'lkcd save' was the order required
a long time ago, due to the way the dump parameters were set.
/proc/sys/vmdump/??* were used in the save case.

Today, that isn't the case.  When 5.0 comes out, dump devices
will have independent methods of retrieval based on their
configuration.  As long as that data doesn't change between
configuration and retrieval, it won't be a problem.

I can remove that sentence.  It's nice to see someone
re-validating the documentation based on the current
set of code.  :) My biggest concern is re-writing everything
now, as with 5.0 it's just going to change again to allow
for multiple dump devices.  Either way, it should be done.

The most important thing is to configure/save the dump before
swap space is enabled, otherwise you could potentially write
over the dump if you're using swap space for storage of a dump.

Thanks, guys.

--Matt

James Washer wrote:
> 
> Tony,
> 
> Are you sure that "Save relies on configuration parameters set by config"??
> 
> I've looked ( briefly ) at the dump save (lcrash) and don't see that it
> requires
> anything from the config step.
> 
> What did I miss?
> 
>  - jim
> 
> "Tony Dziedzic" <Tony.Dziedzic@xxxxxxxxxxxx>@oss.sgi.com on 10/23/2001
> 11:11:51 AM
> 
> Sent by:  owner-lkcd@xxxxxxxxxxx
> 
> To:   James Washer/Beaverton/IBM@IBMUS, <lkcd@xxxxxxxxxxx>
> cc:
> Subject:  RE: Which first? config or save
> 
> Correct order is in the sysinit patch: config first, then save.  (Save
> relies on configuration parameters set by config.)
> 
> Tony Dziedzic
> Storigen Systems, Inc.
> 
> > -----Original Message-----
> > From: James Washer [mailto:washer@xxxxxxxxxx]
> > Sent: Tuesday, October 23, 2001 1:15 PM
> > To: lkcd@xxxxxxxxxxx
> > Subject: Which first? config or save
> >
> >
> > The patch files for sysinit place '/sbin/lkcd config' before
> > '/sbin/lkcd
> > save',
> > however README.lkcd implies the opposite order.
> >
> > Which is correct?
> >
> >

<Prev in Thread] Current Thread [Next in Thread>