[debian-lan-devel] Hanged 70-dirvish script (was Re: Convert a Minimal Debian Installation)

Richard C Hidalgo Lorite rich at argonauta.org
Tue Jan 12 13:49:56 UTC 2016


>Hm, I am not sure if I understand your problem.  You've installed
>jessie, then mounted the old partition and after that did the
>conversion?  And during the conversion 'scripts/SERVER_A/70-dirvish'
>failed?  Can you figure out from /var/log/fai/ ... what happened?

just as you've said. The process hangs and a kill is needed.

Attached all related info. At shell.log one can see this last lines, maybe
a permissions problem?:

=====   shell: SERVER_A/70-dirvish   =====
fcopy: copied /srv/fai/config/files/etc/cron.daily/backup/SERVER_A to
//etc/cron.daily/backup
«//etc/cron.d/dirvish» borrado
mkdir: se ha creado el directorio «///backup»
mkdir: se ha creado el directorio «///backup//tmp»
mkdir: se ha creado el directorio «///backup//tmp/misc/»
Creating dirvish config etc for /etc.
mkdir: se ha creado el directorio «///backup//etc»
mkdir: se ha creado el directorio «///backup//etc/dirvish/»
Initialize dirvish vault etc for /etc:
Creating dirvish config config for /srv/fai/config.
mkdir: se ha creado el directorio «///backup//config»
mkdir: se ha creado el directorio «///backup//config/dirvish/»
Initialize dirvish vault config for /srv/fai/config:
Creating dirvish config root for /root.
mkdir: se ha creado el directorio «///backup//root»
mkdir: se ha creado el directorio «///backup//root/dirvish/»
Initialize dirvish vault root for /root:
Creating dirvish config home0 for /lan/mainserver/home0.
mkdir: se ha creado el directorio «///backup//home0»
mkdir: se ha creado el directorio «///backup//home0/dirvish/»
Initialize dirvish vault home0 for /lan/mainserver/home0:



___________________________

Richard C. Hidalgo Lorite
Director de Sistemas
ISI Argonauta, S.L.
C/Alcalá 196, apto. 13, 28028 Madrid
Telf: +34 91 356 85 08
http://www.argonauta.org

2016-01-12 13:37 GMT+01:00 Andreas B. Mundt <andi.mundt at web.de>:

> Hi Richard,
>
> On Tue, Jan 12, 2016 at 11:26:02AM +0100, Richard C Hidalgo Lorite wrote:
> > I'm following @andi advise to use a convert for reusing my disk with
> debian
> > jeesie in one partition and /lan/mainserver/home0 in another following
> this
> > instructions:
> >
> >
> http://anonscm.debian.org/gitweb/?p=collab-maint/debian-lan.git;a=blob;f=debian/README.Debian
> >
> > Several questions:
> >
> > 1) Do I have to do all the stuff, convert and reboot plugged to the
> > internal net 10.0.0.0 without executing fai-setup -v nor
> fai-make-nfs-root?
>
> You need to connect the machine to a network providing a DHCP IP
> address to run the installation successfully (downloading packages).
> After that, the conversion modifies the network configuration to make
> the machine a Debian-LAN mainserver.
>
> > 2) It seems that scripts/SERVER_A/70-dirvish hangs if I have mounted
> > /lan/mainserver/home0 before convert. Attached fstab.
>
> Hm, I am not sure if I understand your problem.  You've installed
> jessie, then mounted the old partition and after that did the
> conversion?  And during the conversion 'scripts/SERVER_A/70-dirvish'
> failed?  Can you figure out from /var/log/fai/ ... what happened?
>
> > 3) https://wiki.debian.org/DebianLAN/bootstrap#preview convert minimal
> > debian is not c onsistent with
> >
> http://anonscm.debian.org/gitweb/?p=collab-maint/debian-lan.git;a=blob;f=debian/README.Debian
> > . Don't you think is better to delete wiki description and refer only the
> > README?
>
> I agree, thanks for the pointer.  I have updated the wiki page just
> now.
>
> Regards,
>
>         Andi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-lan-devel/attachments/20160112/06d11297/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hanged_70_dirvish_on_debian-lan-convert.tgz
Type: application/x-gzip
Size: 12654 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-lan-devel/attachments/20160112/06d11297/attachment-0001.bin>


More information about the debian-lan-devel mailing list