Read-only file? #32

Open
opened 2016-11-04 21:02:14 +01:00 by robustini · 2 comments
robustini commented 2016-11-04 21:02:14 +01:00 (Migrated from github.com)

I try the latest version of your script and i've a lot of error during the cloning.
I execute the script as root:

Starting the filesystem rsync to sda
(This may take several minutes)...rsync: write failed on "/mnt/clone/usr/bin/git-upload-pack": Read-only file system (30)

Another if i use "-f" option:

rsync: chown "/mnt/clone/boot/bootcode.bin" failed: Operation not permitted (1)

rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [sender=3.1.1]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) [generator=3.1.1]
./rpi-clone: line 494: /mnt/clone//var/log/rpi-clone.log: No such file or directory

I try the latest version of your script and i've a lot of error during the cloning. I execute the script as root: Starting the filesystem rsync to sda (This may take several minutes)...rsync: write failed on "/mnt/clone/usr/bin/git-upload-pack": Read-only file system (30) Another if i use "-f" option: rsync: chown "/mnt/clone/boot/bootcode.bin" failed: Operation not permitted (1) rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [sender=3.1.1] rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) [generator=3.1.1] ./rpi-clone: line 494: /mnt/clone//var/log/rpi-clone.log: No such file or directory
robustini commented 2016-11-05 15:51:20 +01:00 (Migrated from github.com)

For help you in a possible debug this simply manual step work fine here:

http://sysmatt.blogspot.it/2014/08/backup-restore-customize-and-clone-your.html

The important switch for rsync imho is this one, it doesn't use "dd" for clone both the partition:

rsync -av --one-file-system / /boot /tmp/newpi/

For help you in a possible debug this simply manual step work fine here: http://sysmatt.blogspot.it/2014/08/backup-restore-customize-and-clone-your.html The important switch for rsync imho is this one, it doesn't use "dd" for clone both the partition: rsync -av --one-file-system / /boot /tmp/newpi/
SpoddyCoder commented 2017-05-27 12:57:22 +02:00 (Migrated from github.com)

Hi @robustini - this issue should be resolved by the 1.6 release, please download & install latest rpi-clone. If this fixes your issue, please click close thanks! :)

Hi @robustini - this issue should be resolved by the 1.6 release, please download & install latest rpi-clone. If this fixes your issue, please click close thanks! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lerking/rpi-clone#32
No description provided.