Re-Installation of a System with md-raid

Daniel Spannbauer <[email protected]> Mon, 11 Jul 2016 13:11:35 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Hello,

we have successfully installed a opensuse 12.3 with autoyast.
The System contains 3 md-raid-sets, all are a raid1.

When I try to install the same system again, I get an error message
Failure occurred during the following action:
Setting disk label of /dev/sda to MSDOS

System error code was: -1013

Continue despite the error?


Here the complete messages from y2log:
--------------------------------------------------------
2016-07-11 13:00:42 <1> dh136(3694) [libstorage]
SystemCmd.cc(execute):90 SystemCmd Executing:"/sbin/mdadm
--zero-superblock --force '/dev/sda'"
2016-07-11 13:00:42 <1> dh136(3694) [libstorage]
SystemCmd.cc(addLine):592 Adding Line 1 "mdadm: Unrecognised md
component device - /dev/sda"
2016-07-11 13:00:42 <1> dh136(3694) [libstorage]
SystemCmd.cc(getUntilEOF):558 pid:4675 added lines:1 stderr:true
2016-07-11 13:00:42 <1> dh136(3694) [libstorage]
SystemCmd.cc(doExecute):279 stopwatch 0.008789s for "/sbin/mdadm
--zero-superblock --force '/dev/sda'"
2016-07-11 13:00:42 <1> dh136(3694) [libstorage]
SystemCmd.cc(doExecute):299 system() Returns:0
2016-07-11 13:00:42 <3> dh136(3694) [libstorage]
Disk.cc(checkSystemError):417 cmd:/sbin/mdadm --zero-superblock --force
'/dev/sda'
2016-07-11 13:00:42 <3> dh136(3694) [libstorage]
Disk.cc(checkSystemError):418 err:mdadm: Unrecognised md component
device - /dev/sda
2016-07-11 13:00:42 <1> dh136(3694) [libstorage]
SystemCmd.cc(execute):90 SystemCmd Executing:"/usr/sbin/parted -s
'/dev/sda' mklabel msdos"
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
SystemCmd.cc(addLine):592 Adding Line 1 "Error: Partition(s) 2 on
/dev/sda have been written, but we have been unable to inform the kernel
of the change, probably because it/they are in use.  As a result, the
old partition(s) will remain in use.  You should reboot now before
making further changes."
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
SystemCmd.cc(getUntilEOF):558 pid:4676 added lines:1 stderr:false
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
SystemCmd.cc(doExecute):279 stopwatch 2.151067s for "/usr/sbin/parted -s
'/dev/sda' mklabel msdos"
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
SystemCmd.cc(doExecute):299 system() Returns:1
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
SystemCmd.cc(logOutput):625 stdout:Error: Partition(s) 2 on /dev/sda
have been written, but we have been unable to inform the kernel of the
change, probably because it/they are in use.  As a result, the old
partition(s) will remain in use.  You should reboot now before making
further changes.
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
Disk.cc(checkSystemError):423 cmd:/usr/sbin/parted -s '/dev/sda' mklabel
msdos
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
Disk.cc(checkSystemError):424 out:Error: Partition(s) 2 on /dev/sda have
been written, but we have been unable to inform the kernel of the
change, probably because it/they are in use.  As a result, the old
partition(s) will remain in use.  You should reboot now before making
further changes.
2016-07-11 13:00:44 <3> dh136(3694) [libstorage]
Disk.cc(checkSystemError):445 retcode:1
2016-07-11 13:00:44 <2> dh136(3694) [libstorage]
Container.cc(setExtError):366 called with empty stderr
cmd:/usr/sbin/parted -s '/dev/sda' mklabel msdos
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
Disk.cc(doCreateLabel):1654 ret:-1013
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
Disk.cc(commitChanges):1574 ret:-1013
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
Storage.cc(commitPair):5236 err at stage:0 type:DISK cont:true
dest:false name:sda
2016-07-11 13:00:44 <1> dh136(3694) [libstorage]
Storage.cc(commitErrorPopupCb):6626 COMMIT ERROR POPUP error:-1013
last_action:Setting disk label of /dev/sda to MSDOS extended_message:
2016-07-11 13:00:44 <1> dh136(3694) [YCP] StorageClients.ycp:111
CommitErrorPopup error:-1013 last_action:Setting disk label of /dev/sda
to MSDOS extended_message:
2016-07-11 13:00:44 <1> dh136(3694) [YCP] Report.ycp:370 Failure
occurred during the following action:
Setting disk label of /dev/sda to MSDOS

System error code was: -1013

Continue despite the error?
--------------------------------------------------------------------

Any hints?

Regards

Daniel
-- 
Daniel Spannbauer                         Systemadministration
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen     Mobil +49 171 4033220
http://www.marco.de/                      Email [email protected]
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]