On 11/25/06, Andree Leidenfrost <[EMAIL PROTECTED]> wrote:
[Bruno: If you have anything to add or correct, please let us know.]

Hi Hugo,

Would be great if you could cc the bug report. Other than that, thanks a
lot for sending the additional information through! I think I know what
is going on now: The key point is that all filesystems that are not part
of the mountlist have the 'noauto' flag set. I assume that they are not
mounted when mondoarchive/mindi runs.

mindi's behaviour is actually as designed: Filesystems that have the
'noauto' option set in /etc/fstab and that are NOT mounted will not be
included in the mountlist. So, the mountlist you are getting is actually
correct in that it only contains the filesystems that don't have the
'noauto' option set and assuming that none of the filesystems that have
the 'noauto' option set are mounted. (I have tested this on my end and
it works as expected. It would be great if you could confirm that you
have none of the 'noauto' filesystems mounted when mindi runs, though.)

For the record, the code to explicitly check the above condition went
into mindi in SVN revision 717:
http://trac.mondorescue.org/changeset/717

I don't think that mindi's behaviour is a bug or could be improved
really: mondoarchive (and with it mindi) is not mounting or unmounting
any filesystems of the system it runs on. This is left to the
administrator and, as I believe rightfully so - bad things can happen if
filesystems are willy-nilly mounted and unmounted. So, in your
situation, in order to get everything archived you want to, my
recommendation would be to manually (or using a script) mount the
filesystems in question prior to running mondoarchive. (Alternatively,
in case you don't want to mount them, you might also be able to use '-x'
but that would create rather inflexible dd images of those partitions.)

Also, please note that the mountlist generated is only used for the
restore process. /etc/fstab in a restored system will look exactly the
same as before.

I may have overlooked something, and if so would be keen to find out.
Either way I'd much appreciate your feedback on the above.

Best regards & thanks a lot,
Andree


Thanks a lot Andree. That explains it. The partitions in fstab are
indeed not mounted because if they were mondo would try to back them
up, unless I exclude them with the -E option, if I am not mistaken.
Great job!

Hugo



On Fri, 2006-11-24 at 07:50 -0600, hugo vanwoerkom wrote:
> On 11/23/06, Andree Leidenfrost <[EMAIL PROTECTED]> wrote:
> > reassign 400024 mindi
> >
> > thanks
> >
> >
> > Hello Hugo,
> >
> > Thank you for reporting this problem.
> >
> > It would be great if you could run the following command (as root):
> >
> > mindi --makemountlist /tmp/mount.lst
> >
> > and send me:
> > - the screen output
>
> Script started on Fri 24 Nov 2006 07:27:15 AM CST
> executing /root/.bashrc
> /Fri Nov 24-07:27:15HDC3# mindi --makemountlist /tmp/mount.lst
> lilo.real found; will be used instead of lilo (*grumble* *mutter*)
>
> Your mountlist will look like this:-
>
> Hang on...
>         DEVICE          MOUNTPOINT      FORMAT          SIZE (MB)       LABEL
>
> BLKGETSIZE ioctl failed on proc
>         /dev/hdc3       /               ext2               7632
>         /dev/hda9       swap            swap                953
>         /dev/sda7       /sda7           ext2              38154
> /Fri Nov 24-07:27:21HDC3# exit
> exit
>
> Script done on Fri 24 Nov 2006 07:27:27 AM CST
>
> > - /tmp/mount.lst
>
> /dev/hdc3 / ext2 7815622
> /dev/hda9 swap swap 976712
> /dev/sda7 /sda7 ext2 39070048
>
>
> > - /var/log/mindi
>
> mindi v2.2.0-r881
> i686 architecture detected
> mindi called with the following arguments:
> --makemountlist /tmp/mount.lst
> Start date : Fri Nov 24 07:27:19 CST 2006
> MINDI_LIB = /usr/lib/mindi
> MINDI_SBIN = /usr/sbin
> MINDI_CONF = /etc/mindi
> MONDO_SHARE =
> Found isolinux.bin at /usr/lib/syslinux/isolinux.bin
> lilo.real found; will be used instead of lilo (*grumble* *mutter*)
> Your raw fstab file looks like this:-
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>                             
<dump>  <pass>
> proc            /proc           proc    defaults                              
0       0
> /dev/hdc3       /               ext2    defaults,errors=remount-ro            
0       1
> /dev/hda9       none            swap    sw                                    
0       0
> /dev/hdd      /cdrom          iso9660 ro,user,noauto                          
0       0
> /dev/fd0        /media/floppy0  auto    rw,user,noauto                        
0       0
>
> # 80GB PATA Maxtor disk
>
> /dev/hda1       /hda1           ext2
> defaults,user,noauto,errors=remount-ro        0       1
> /dev/hda5       /hda5           ext2
> defaults,user,noauto,errors=remount-ro        0       1
> /dev/hda6       /hda6           ext2
> defaults,user,noauto,errors=remount-ro        0       1
> /dev/hda7       /hda7           ext2
> defaults,user,noauto,errors=remount-ro        0       1
> /dev/hda8     /mnt/win_F      vfat    user,noauto,exec,umask=0                
0       0
> #/dev/hda10   /hda10          ext2    auto,user,exec                          
0       0
> /dev/hda10      /hda10          ext2
> defaults,user,noauto,errors=remount-ro        0       1
>
> # 80GB PATA Seagate disk
> /dev/hdc1      /hdb1          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/hdc2      /hdb2          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> #/dev/hdc3     /hdb3          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/hdc5      /hdb5          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/hdc6      /hdb6          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/hdc7      /hdb7          ext2    defaults,user,noauto,errors=remount-ro  
0       1
>
> # 80GB SATA WD disk
> /dev/sda1      /sda1          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/sda2      /sda2          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/sda3      /sda3          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/sda5      /sda5          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/sda6      /sda6          ext2    defaults,user,noauto,errors=remount-ro  
0       1
> /dev/sda7      /sda7          ext2    auto,user,exec                          
0       0
>
> # external USB drive
> /dev/sdb1     /mnt/sdb/sdb1   vfat    user,noauto,exec,umask=0                
0       0
> /dev/sdb2     /mnt/sdb/sdb2   vfat    user,noauto,exec,umask=0                
0       0
> #/dev/sda1    /mnt/sda/sda1   vfat    user,noauto,exec,umask=0                
0       0
> #/dev/sda2    /mnt/sda/sda2   vfat    user,noauto,exec,umask=0                
0       0
> ------- /usr/sbin/parted2fdisk -l proc log ------------
> ------- /usr/sbin/parted2fdisk log end ------------
> ------- /usr/sbin/parted2fdisk -l /dev/hdc3 log ------------
> ------- /usr/sbin/parted2fdisk log end ------------
> Examining /dev/hdc3 (mount=/ fmt=ext2 psz=7815622)
> ------- /usr/sbin/parted2fdisk -l /dev/hda9 log ------------
> ------- /usr/sbin/parted2fdisk log end ------------
> Examining /dev/hda9 (mount=swap fmt=swap psz=976712)
> ------- /usr/sbin/parted2fdisk -l /dev/sda7 log ------------
> ------- /usr/sbin/parted2fdisk log end ------------
> Examining /dev/sda7 (mount=/sda7 fmt=ext2 psz=39070048)
>
>
> >
> > Also, unless I am mistaken you are not running a stock Debian kernel but
> > a custom one. Is there any particular reason for this? Could you retest
> > with a stock Debian?
> >
>
> I run a two-seater Debian Sid: 2 Nvidia
> cards/xservers/monitors/keybds/mice. That works with Etch or Sid and
> only xorg.conf  + gdm.conf changes.
> You can do it in Sarge but then you need http://www.ltn.lv/~aivils/
> faketty by Aivils Stoss. Prior to that you needed Ruby, prior to that
> Bruby: I have been doing that for years.
> I would love to use Debian but :-( the multi-user setup does not work.
> The last one I tried was linux-image-2.6.18-1-k7.
> So I stick with what works: 2.6.17-ck1 from Con Kolivas. I tried
> 2.6.18-ck1 also but the tleds package does not show LEDs anymore in X:
> #392237: tleds: no leds in X with 2.6.18-x.
> So the stock Debian is no use to me: it is an unusable system from the
> multi-seat perspective.
>
>
> > Finally, I'd just like to confirm that what you are saying is that if
> > you downgrade to 2.0.8 and run it on your *current* system, it works ok
> > but 2.0.9 and 2.2.0 don't.
> >
>
> That's correct. This system I am running now is a 2.08 CD restore of a
> mondoarchive run of 11/19 last sunday. I then did a massive Sid
> dist-upgrade that was successful, except :-( for mondo. If I run that
> now you get the wrong mountlist, which I also got trying 2.09 on Oct.
> 21st.
>
> > Best regards,
> > Andree
>
> Thanks Andree, be hearing from you.
> Hugo
--
Andree Leidenfrost
@ Debian Developer
Sydney - Australia






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

Reply via email to