- Platform information:
- Hardware: _Raspberry PI 3B+
- OS: openhabian-pi-raspbian-201908050414-gitca0976f-crc6a66b5a1.img
- openHAB version:2.4
- Issue of the topic: Move Root to USB just keeps on copying. It doesn’t seem to end.
At the end of the current log, there’s a message saying the copying is 77% done. But this number goes up and down. It has been as high as 98% but now it is back down.
I have been waiting for 1h20mins now. This looks like a never ending loop.
Can anyone help?
Thanks in advance,
Wim
------------------------------------------------------------------ LOG --------------------------------
Log:
2019-08-16_18:28:10_CEST [openHABian] Checking for root privileges… OK
2019-08-16_18:28:10_CEST [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2019-08-16_18:28:11_CEST [openHABian] openHABian configuration tool version: [master]v1.5-502(1741bb7)
2019-08-16_18:28:11_CEST [openHABian] Checking for changes in origin… OK
max_usb_current already set, ok
stopping openHAB
1+0 records in
1+0 records out
512 bytes copied, 0.0192202 s, 26.6 kB/s
partitioning on ‘/dev/sda’
Checking that no-one is using this disk right now … OK
Disk /dev/sda: 57.8 GiB, 62058921984 bytes, 121208832 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Created a new DOS disklabel with disk identifier 0x725fb44d.
/dev/sda1: Created a new partition 1 of type ‘Linux’ and of size 57.8 GiB.
Partition #1 contains a ext4 signature.
/dev/sda2: Done.
New situation:
Disklabel type: dos
Disk identifier: 0x725fb44d
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 121208831 121206784 57.8G 83 Linux
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
creating filesys on ‘/dev/sda1’
mke2fs 1.44.5 (15-Dec-2018)
/dev/sda1 contains a ext4 file system labelled ‘oh_usb’
last mounted on /mnt on Fri Aug 9 14:05:02 2019
Creating filesystem with 15150848 4k blocks and 3792896 inodes
Filesystem UUID: 0ea8d7dd-4088-44c8-a6cb-a4ecab8afb2d
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
Writing inode tables: done
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done
mounting new root ‘/dev/sda1’
copying root sys, please be patient. Depending on the speed of your USB device, this can take 10 to 15 min
2,021,696,887 77% 16.08kB/s 10:03:46 ^Cr#47141, ir-chk=2877/66469)