On 02/10/2016 02:56 PM, Mark Post wrote:
> As I've mentioned in the IBMVM mailing list (but not here), I'm working on a 
> combination NSS and DCSS rescue system.  Initially, I defined it as starting 
> and ending just under the 2G memory address because that seemed like a 
> reasonable place.  It turns out I needed to have it end below the 2047M 
> address so that the DCSSBKUP and DCSSRSAV CMS tools could be used.

sounds fun


> So, I defined a _new_ DCSS using the same name (RESCROOT) so that I could 
> populate it and save it at the necessary virtual storage address.  What I 
> found was that there was no way to tell Linux to use the new one versus the 
> existing one at the too-high virtual storage address.  At least I couldn't 
> find a way around that.

I suspect the name is the problem.


> I hated having to purge the DCSS before retrying because that meant the 
> rescue system was unusable (to anyone who wasn't already using it) until I 
> could get the new one re-saved.  Is there some z/VM or Linux incantation (or 
> combination of those two) that will let me create and populate the new one 
> without first purging the old one?

Dunno about segments with the same name, but there are several ways you
can copy from old segment to new. For this, I like Linux and 'dd'.

Guessing you already have a solid handle on lying to Linux about memory
layout. (So it will have tables to cover the segments even though
there's no storage actually there initially.) If so, then I'm again
guessing the name is the problem. OTHERWISE, you should be able to
activate both segments and 'dd' from one to the other.

Alan or Bit will chime in now and tell us there's a way to do it.   :-)

-- R; <><

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to