xbiancopy never stop
|
13th Dec, 2020, 11:14 PM
Post: #1
|
|||
|
|||
xbiancopy never stop
Hi,
I am willing to make a clone of my SD card. So I get using Terminal sudo xbian-config xbiancopy start /dev/root file:/media/A07C-31DD/xbian20201212.img It makes the img file, but the process never ends... In my process list there is: Terminal sfdisk -uS -N1 -f -q /media/A07C-31DD/xbian20201212.img I have wait a full night... But still not finished. My SD card is 64GB, img file is 1,8GB and is empty I also tryed from Kodi/Xbian interface, same issue. Any idea? Can I use another tool (clonezilla seems to handle btrfs)? |
|||
14th Dec, 2020, 06:35 AM
(This post was last modified: 14th Dec, 2020 06:41 AM by Nachteule.)
Post: #2
|
|||
|
|||
RE: xbiancopy never stop
/media/A07C-31DD/xbian20201212.img << whats that?
Is /media mounted to an external device or network folder? if not, that is your issue: The image cannot be saved on the medium that is to be backed up This makes absolutely no sense |
|||
14th Dec, 2020, 06:41 AM
Post: #3
|
|||
|
|||
RE: xbiancopy never stop | |||
14th Dec, 2020, 06:42 AM
(This post was last modified: 14th Dec, 2020 06:42 AM by Nachteule.)
Post: #4
|
|||
|
|||
RE: xbiancopy never stop
What's a USB memory mount.
Anyway, seems that sfdisk can not deal with it |
|||
14th Dec, 2020, 06:47 AM
Post: #5
|
|||
|
|||
RE: xbiancopy never stop
(14th Dec, 2020 06:42 AM)Nachteule Wrote: What's a USB memory mount. This is a regular (sandisk) 64MB usb stick. It runs fine when accessing/writing file on it. I was thinking this could be a (power consumption) "spin down" option that breaks the process? |
|||
14th Dec, 2020, 06:58 AM
Post: #6
|
|||
|
|||
RE: xbiancopy never stop
No idea
If you still have the stick mounted and the image is on that stick, you could run the command sudo sfdisk -uS -N1 -f -q /media/A07C-31DD/xbian20201212.img to see what happens |
|||
14th Dec, 2020, 07:27 AM
Post: #7
|
|||
|
|||
RE: xbiancopy never stop
(14th Dec, 2020 06:58 AM)Nachteule Wrote: No idea it replies Terminal /media/A07C-31DD/xbian20201212.img1: I hit enter... no verbosity then... |
|||
14th Dec, 2020, 07:30 AM
Post: #8
|
|||
|
|||
RE: xbiancopy never stop
Remove the '-q' parameter an try again
You see that sfdisk seems to want a user entry and this is the reason why the process stucks |
|||
14th Dec, 2020, 07:36 AM
Post: #9
|
|||
|
|||
RE: xbiancopy never stop
(14th Dec, 2020 07:30 AM)Nachteule Wrote: Remove the '-q' parameter an try again Removing -q option, and choosing "write" Terminal /media/A07C-31DD/xbian20201212.img1: write New situation: Disklabel type: dos Disk identifier: 0x3f165629 Device Boot Start End Sectors Size Id Type /media/A07C-31DD/xbian20201212.img1 * 2048 206847 204800 100M b W95 FAT32 The partition table has been altered. Syncing disks. It should consume CPU but I do not see sfdisk in "top" process list. I have added some services to xbian: fail2ban and ipfs Maybe this is creating some changes on filesystem meanwhile it is copied?? I will try to stop those services and try again |
|||
14th Dec, 2020, 08:21 AM
Post: #10
|
|||
|
|||
RE: xbiancopy never stop
Hmmm, absolutely no idea what happens
Seems that the sync process never ends What about if you run sudo sync from the cmdline? |
|||
14th Dec, 2020, 12:20 PM
Post: #11
|
|||
|
|||
RE: xbiancopy never stop
(14th Dec, 2020 08:21 AM)Nachteule Wrote: Hmmm, absolutely no idea what happens This command is just running without any output. I have added --syslog --verbose to btrfs-auto-snapshot command Terminal sudo /usr/sbin/btrfs-auto-snapshot xbiancopy --syslog --verbose --img /dev/root /media/usb0/xbian.img But nothing is happening looking in dmesg output, I found this Code: [ 34.326845] 8<--- cut here --- My Rpi4 is 8GB version... Maybe this is the problem? This is it On a Rpi4 with 4GB RAM, my backup is running fine !! Too bad.... backup finished with error Terminal ... Cloning root/@, 1347211523 of 1360819721, 99% done Cloning subvolume root snapshot @ failed Operation failed with error E_COPY_DATA! |
|||
14th Dec, 2020, 01:30 PM
Post: #12
|
|||
|
|||
RE: xbiancopy never stop
Is it because of manual backup run from Kodi/Xbian addon as mentioned in http://forum.xbian.org/thread-4017-post-36096.html#pid36096 ?
I settled a daily backup and will check tomorrow 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) /etc/cron.daily/xbian-backup @Nachteule thanks for all |
|||
14th Dec, 2020, 11:50 PM
Post: #13
|
|||
|
|||
RE: xbiancopy never stop
Hmmm, but I can hardly imagine that the size of the RAM should have an influence on it.
|
|||
15th Dec, 2020, 01:02 AM
Post: #14
|
|||
|
|||
RE: xbiancopy never stop
(14th Dec, 2020 11:50 PM)Nachteule Wrote: Hmmm, but I can hardly imagine that the size of the RAM should have an influence on it. Me neither. Maybe the Rpi4 have a defect ? About my new try, I still have a problem Code: Error during copying data occoured (87) Even by cron.daliy, there is no file created.... What would you suggest me to do? Using a Rpi3 to make my backup? |
|||
15th Dec, 2020, 01:09 AM
Post: #15
|
|||
|
|||
RE: xbiancopy never stop
I'm not sure if this helps.
I think the problem lies somewhere else. I've been using this function for many years on 4 different devices and have never seen such problems. However, I don't back up to a usb stick or usb disk, but exclusively to network shares (nfs, samba, sshfs). |
|||
« Next Oldest | Next Newest »
|