Bug#429308: mondo: incorrectly guesses names for assembled RAID-1 devices during restore

2007-08-19 Thread Tim Freeman
From: Bruno Cornec [EMAIL PROTECTED]
Could you try adding [mdadm.conf] to your /etc/mindi/deplist.txt to see if that
workaround fixes your issue ?

No, it didn't.  Specifically, I saw the line

   mdadm mdrun mdadm.conf

(without the leading spaces) in /etc/mindi/deplist.txt.  I guessed
that maybe it failed to find mdadm.conf without the path, so I deleted
mdadm.conf from the line and added a new line with the full path:

   /etc/mdadm/mdadm.conf

I did a test backup, and booted it, and told it to verify.  The
problem was unchanged; specifically verification failed because the
raids were assembled wrong.  After exiting the verify, I saw that the
raids were /dev/md/0 and /dev/md/1 instead of 2 and 3.  I did see that
/etc/mdadm/mdadm.conf on the ramdisk populated by mindi had the
expected contents that said the raids were numbered 2 and 3, and that
the executable for mdadm did contain the string /etc/mdadm/mdadm.conf.

I haven't yet found the code that did the incorrect mounting.
-- 
Tim Freeman   http://www.fungible.com   [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429308: mondo: incorrectly guesses names for assembled RAID-1 devices during restore

2007-08-19 Thread Tim Freeman
I haven't yet found the code that did the incorrect mounting.

Oops, I meant:

I haven't yet found the code that did the incorrect assembling.
-- 
Tim Freeman   http://www.fungible.com   [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429308: mondo: incorrectly guesses names for assembled RAID-1 devices during restore

2007-07-26 Thread Bruno Cornec
Tim Freeman said on Sat, Jun 16, 2007 at 03:29:03PM -0700:

 The workaround was to give these commands:
 
mdadm --stop /dev/md0
mdadm --stop /dev/md1
mdadm --assemble /dev/md3 /dev/hda3 /dev/hdc3
mondoarchive
 
 I think mondoarchive should save /etc/mdadm/mdadm.conf during the
 backup and consult it during the restore so it can give the RAID
 devices the same names they had during backup.

Could you try adding it to your /etc/mindi/deplist.txt to see if that
workaround fixes your issue ?

Bruno.
-- 
Linux Profession Lead EMEA  / Open Source Evangelist \HP CI EMEA IET
http://www.mondorescue.org / HP/Intel Solution Center \  http://hpintelco.net
Des infos sur Linux?  http://www.HyPer-Linux.org  http://www.hp.com/linux
La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429308: mondo: incorrectly guesses names for assembled RAID-1 devices during restore

2007-06-16 Thread Tim Freeman
Package: mondo
Version: 2.20-1.1
Severity: normal

I have a system with two raid devices, swap on /dev/md2 and the main
filesystem on /dev/md3.  I backed up a directory with the following
command:

mondoarchive -O -i -s 700m -k FAILSAFE -F -I /home/root -d /backup/isos

Then I wrote the CD image from /backup/isos to a CD, and booted from
it to see if the bits compared.  I said compare at the boot prompt.
During the boot it started /dev/md0 and /dev/md1 instead of /dev/md2
and /dev/md3.  The compare failed with the message Could not mount
devices [sic.] /dev/md3 - shall I abort.  I did abort, and I refused
to run the cryptic and evil-sounding post-nuke script since I was just
doing a comparison.  This left me at a shell prompt, running from the
rescue CD.

The workaround was to give these commands:

   mdadm --stop /dev/md0
   mdadm --stop /dev/md1
   mdadm --assemble /dev/md3 /dev/hda3 /dev/hdc3
   mondoarchive

I think mondoarchive should save /etc/mdadm/mdadm.conf during the
backup and consult it during the restore so it can give the RAID
devices the same names they had during backup.

-- Package-specific info:

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mondo depends on:
ii  afio2.5-4archive file manipulation program
ii  buffer  1.19-8   Buffering/reblocking program for t
ii  cdrecord9:1.1.2-1Dummy transition package for wodim
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libfribidi0 0.10.7-4 Free Implementation of the Unicode
ii  libnewt0.52 0.52.2-10Not Erik's Windowing Toolkit - tex
ii  lzop1.01-4   fast compression program
ii  mindi   2.20-2   creates boot/root disks based on y

Versions of packages mondo recommends:
pn  dvd+rw-tools  none (no description available)

Versions of packages mindi depends on:
ii  binutils  2.17-3 The GNU assembler, linker and bina
ii  bzip2 1.0.3-6high-quality block-sorting file co
ii  dosfstools2.11-2.1+b1Utilities to create and check MS-D
ii  file  4.17-5etch1Determines file type using magic
ii  gawk  1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  mindi-busybox 1.2.1-2Collection of shell utilities in a
ii  mkisofs   9:1.1.2-1  Dummy transition package for genis
ii  module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo
ii  ms-sys2.1.0-1Write a Microsoft compatible boot 
ii  nano  2.0.2-1free Pico clone with some new feat
ii  parted1.7.1-5.1  The GNU Parted disk partition resi
ii  syslinux  1:3.31-4   Bootloader for Linux/i386 using MS

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]