Re: Retaining software RAID devices during automated installation with autoyast

Thomas Fehr <[email protected]>
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
On Thu, Jun 20, Anton Altaparmakov wrote:

> Doing automated installation of server with / on ext3 on software RAID 1 mirror of /dev/sda2 and /dev/sdb2 and /home on xfs on software RAID 10 of /dev/sda3, /dev/sdb3, /dev/sdc3, /dev/sdd3.
> 
> I want to preserve /home when doing an automated reinstall of the machine.  I can keep the existing partitions fine and they get assigned to MD devices correctly.
> 
> However whilst the partitions are being kept fine, I see the messages "deleting MD device" (or some such wording), followed by "creating MD device" (or similar wording) and indeed it then fails to mount /home as the xfs file system is not there any more.  )-:
> 
> If I set <create config:type="boolean">false</create> for the partitions on the /dev/md device in the autoyast file then the md devices are still destroyed but then not created again so the install fails immediately as there is nowhere to install.  )-:
> 
> Is this a bug or a feature?
> 
> Is there any way I can get autoyast to preserve the existing md devices?

From a first glance, this looks like a bug to me.

I probably can try to reproduce this here next week and will
be able to tell more afterwards.

If you could provide log files (complete content of /var/log/YaST2) of
one or both of the failed installations this could be helpful. 

Bye, 
	Thomas Fehr
-- 
  Thomas Fehr, SuSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
  GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
  Tel: +49-911-74053-0,  Fax: +49-911-74053-482,  Email: [email protected]
  GPG public key available.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.