[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#477356: marked as done (mdcfg: errors if a pre-existing RAID device is inactive)



Your message dated Mon, 28 Apr 2008 06:32:02 +0000
with message-id <E1JqMuA-0006bh-MJ@ries.debian.org>
and subject line Bug#477356: fixed in mdcfg 1.25
has caused the Debian Bug report #477356,
regarding mdcfg: errors if a pre-existing RAID device is inactive
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
477356: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477356
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mdcfg
Version: 1.24

During an installation test I was working in a virtual machine with two 
disks. The second harddisk still had two partitions previously used for 
RAID tests while the first hard disk had been reused in the mean time.

For the second hard disk one of the partitions was part of a RAID1, the 
other of RAID0. The first was correctly started (degraded), but the second 
obviously failed to start.

# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : inactive hdd2[1]
      xxxxx blocks

md0 : active raid1 hdd1[1]
      yyyyy blocks [2/1] [_U]

unused devices: <none>

This resulted in a broken dialog when selecting to delete a RAID device:
     Multidisk device to be deleted:
              md1
              :
              inactive
              hdd2[1]
              md0_raid1
              Cancel

The first 4 lines are clearly due to incorrect parsing from /proc/mdstat.

After selecting the first line (md1), the next confirmation dialog did look 
OK, but the actual deletion failed partially and resulted in an error 
dialog. From the syslog:
mdcfg: Removing /dev/md/1 (Started /dev/hdd2)
kernel: md: md1 stopped.
kernel: md: unbind<hdd2>
kernel: md: export_rdev(hdd2)
mdcfg: mdadm: stopped /dev/md/1
mdcfg: mdadm: Couldn't open Started for write - not zeroing

Again this looks like a parse error.

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: mdcfg
Source-Version: 1.25

We believe that the bug you reported is fixed in the latest version of
mdcfg, which is due to be installed in the Debian FTP archive:

mdcfg-utils_1.25_all.udeb
  to pool/main/m/mdcfg/mdcfg-utils_1.25_all.udeb
mdcfg_1.25.dsc
  to pool/main/m/mdcfg/mdcfg_1.25.dsc
mdcfg_1.25.tar.gz
  to pool/main/m/mdcfg/mdcfg_1.25.tar.gz
mdcfg_1.25_all.udeb
  to pool/main/m/mdcfg/mdcfg_1.25_all.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 477356@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated mdcfg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 28 Apr 2008 08:15:47 +0200
Source: mdcfg
Binary: mdcfg mdcfg-utils
Architecture: source all
Version: 1.25
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description: 
 mdcfg      - Configure MD devices (udeb)
 mdcfg-utils - Configure MD devices (udeb)
Closes: 477356
Changes: 
 mdcfg (1.25) unstable; urgency=low
 .
   * Fix deletion of inactive RAID devices. Closes: #477356.
   * Use /dev/mdX instead of /dev/md/X while version 0 superblocks are default.
     This is also more consistent with the installed system.
 .
   [ Updated translations ]
   * Kurdish (ku.po) by Erdal Ronahi
   * Malayalam (ml.po) by Praveen|പ്രവീണ്‍ A|എ
   * Marathi (mr.po)
Files: 
 f739115a8b868e91ab516cd17d67731c 659 debian-installer optional mdcfg_1.25.dsc
 25a85cf8954ffdaacaf57ccbfd8b6d56 119985 debian-installer optional mdcfg_1.25.tar.gz
 c9a107f97974b60cabcd26ee12fa08ec 3984 debian-installer optional mdcfg_1.25_all.udeb
 0d42b6f3e87d2cacb5f524ceed09d69f 120152 debian-installer optional mdcfg-utils_1.25_all.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIFWurgm/Kwh6ICoQRAsgSAJ4w3W+3FCltldiE2kWPJrU0gIrpjwCeJGsL
OWccl/0b0pKomurS+OqJzio=
=Fx7l
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: