mandriva

Ticket #846 (closed defect: fixed)

Opened 20 months ago

Last modified 16 months ago

Support for MTFTP restoration

Reported by: cdelfosse Owned by: cdelfosse
Priority: Normal Milestone: Pulse 2 1.3.0
Component: pulse2-imaging-client Version:
Severity: Minor Keywords:
Cc:

Description

Pulse 1.3.0 must support multicast TFTP restoration.

Attachments

Change History

Changed 20 months ago by nrueff

  • component changed from general to pulse2-imaging-client

MTFTP restoration is done client-side (ATM, either "revorestorenfs" is given command-line, or we are doing mtftp restoration).

Depending on the requested behavior (NFS of MTFTP), autorestore.c uses different mechanisms to collect data :

    /* default: mtftp restore */
    fops.open = tftp_open;
    fops.close = tftp_close;
    fops.get = tftp_get;

    if (!mtftp) {
        /* nfs restore */
        fops.open = file_open;
        fops.close = file_close;
        fops.get = file_get;
    }

To introduce a new keyword would be handy ("revorestoremtftp" ?).

Some things have yet to be done :

  • the images have to be served by atftp,
  • some work has to be done within autorestore.c (tft_open()) for the client to request the right files

Changed 20 months ago by cdelfosse

The restore command line in the generated boot menus now contains the revorestoremtftp keyword when MTFTP has been selected.

Changed 19 months ago by nrueff

  • owner changed from cdelfosse to nrueff

Changed 19 months ago by cdelfosse

MTFTP restoration doesn't work. The imaging client boots but loops on these messages:

Option blksize = 4096
Option multicast =
Not connected.

Here is the GRUB command that was used:

title Backup of computer2
desc 2010-07-28T16:53:52Z, 117.6 MiB
kernel (nd)/diskless/kernel quiet revonospc revosavedir=masters revoinfodir=computers revooptdir=postinst revobase=/var/lib/pulse2/imaging revorestoremtftp revopost revomac=000C293FDC72 revoimage=6dde60ba-9a68-11df-848f-000c293fdc72 
initrd (nd)/diskless/initrd

Changed 16 months ago by ydroneaud@…

Fixed by commits r7534 r7535 r7536 r7537 and additionally r7571

Pulse 2 Imaging client now use the correct path scheme, with optional LRS compatibility. Use command line option --mode={lrs,pulse2} to select mode. default is pulse2.

Changed 16 months ago by cdelfosse

  • owner changed from nrueff to cdelfosse

Fix by Yann seems to work fine ! I will add now the needed code to generate the revowait option on the Pulse 2 client kernel command line.

Changed 16 months ago by cdelfosse

  • status changed from new to closed
  • resolution set to fixed

Done in r7666 r7667 r7668

Add/Change #846 (Support for MTFTP restoration)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.