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

Problems with snapshot persistence (live-snapshot: error: unrecognized resync string)



Hi,

I'm using live-build version 2.0.12-2 in Debian GNU/Linux 6.0.3 (squeeze)

with auto/config


#!/bin/sh

lb config noauto \
       -a i386 \
       -b usb-hdd \
       --hostname liveDebian \
       --username miguel \
       --bootappend-live "persistent locales=es_ES.UTF-8 keyboard-layouts=es" \
       "${@}"


I'm trying snapshot persistence with image files:

I copy the live system image to my usb device:

dd if=binary.img of=/dev/sdb

Then, I use the remaining space for a partition called 'data' with an ext2 filesystem. In this partition, I create an image file called 'live-sn' with an ext2 filesystem labeled 'live-sn':

# dd if=/dev/null of=live-sn bs=1G seek=1
# mkfs.ext2 -L live-sn -F live-sn

When I halt the live system or when I try to resync the snapshot (sudo live-snapshot --refresh) I get the following error:

live-snapshot: error: unrecognized resync string

Snapshot persistence is working with an ext2 partition labeled live-sn but not with image files as I commented above.

Regards,

Miguel.



Reply to: