Advertisement
Guest User

Untitled

a guest
Mar 5th, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.76 KB | None | 0 0
  1. Starting /usr/sbin/ocs-sr at 2024-03-05 10:52:00 UTC...
  2. *****************************************************.
  3. Clonezilla image dir: /home/partimag
  4. Shutting down the Logical Volume Manager
  5. Finished Shutting down the Logical Volume Manager
  6. PS. Next time you can run this command directly:
  7. /usr/sbin/ocs-sr -g auto -e1 auto -e2 -c -r -j2 -srel -k0 -scr -p choose restoredisk 2024-03-05-12-img-dec nvme0n1
  8. *****************************************************.
  9. Running: task_restoreparts "2024-03-05-12-img-dec" "nvme0n1p1 nvme0n1p2 nvme0n1p3" ""
  10. *****************************************************.
  11. The following step is to restore an image to the hard disk/partition(s) on this machine: "/home/partimag/2024-03-05-12-img-dec" -> "nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3"
  12. The image was created at: 2024-0305-1219
  13. WARNING. THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST:
  14. *****************************************************.
  15. Machine: 82JD
  16. nvme0n1 (512GB_SAMSUNG_MZVL2512HCJQ-00BL2__pci-0000_02_00_0-nvme-1_S64JNE0R320109)
  17. *****************************************************.
  18. This program is not started by clonezilla server.
  19. *****************************************************.
  20. Let me ask you again.
  21. The following step is to restore an image to the hard disk/partition(s) on this machine: "/home/partimag/2024-03-05-12-img-dec" -> "nvme0n1 nvme0n1p1 nvme0n1p2 nvme0n1p3"
  22. The image was created at: 2024-0305-1219
  23. WARNING. THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST:
  24. *****************************************************.
  25. Machine: 82JD
  26. nvme0n1 (512GB_SAMSUNG_MZVL2512HCJQ-00BL2__pci-0000_02_00_0-nvme-1_S64JNE0R320109)
  27. *****************************************************.
  28. Shutting down the Logical Volume Manager
  29. Finished Shutting down the Logical Volume Manager
  30. Creating partition in /dev/nvme0n1...
  31. Trying to clean the MBR and GPT partition table on the destination disk first: /dev/nvme0n1
  32. Informing the OS of partition table changes... done!
  33. Running: dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=1
  34. 1+0 records in
  35. 1+0 records out
  36. 512 bytes copied, 0.00818627 s, 62.5 kB/s
  37. Running: LC_ALL=C grep -Ev '^last-lba:' /home/partimag/2024-03-05-12-img-dec/nvme0n1-pt.sf | sfdisk --wipe always --force /dev/nvme0n1 2>&1
  38. Checking that no-one is using this disk right now ... OK
  39.  
  40. Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
  41. Disk model: SAMSUNG MZVL2512HCJQ-00BL2
  42. Units: sectors of 1 * 512 = 512 bytes
  43. Sector size (logical/physical): 512 bytes / 512 bytes
  44. I/O size (minimum/optimal): 512 bytes / 512 bytes
  45.  
  46. >>> Script header accepted.
  47. >>> Script header accepted.
  48. >>> Script header accepted.
  49. >>> Script header accepted.
  50. >>> Script header accepted.
  51. >>> Script header accepted.
  52. >>> Created a new GPT disklabel (GUID: C6B1DF82-AAA3-429F-A04A-56816690E33C).
  53. /dev/nvme0n1p1: Created a new partition 1 of type 'EFI System' and of size 512 MiB.
  54. /dev/nvme0n1p2: Created a new partition 2 of type 'Linux filesystem' and of size 488 MiB.
  55. /dev/nvme0n1p3: Created a new partition 3 of type 'Linux filesystem' and of size 476 GiB.
  56. /dev/nvme0n1p4: Done.
  57.  
  58. New situation:
  59. Disklabel type: gpt
  60. Disk identifier: C6B1DF82-AAA3-429F-A04A-56816690E33C
  61.  
  62. Device Start End Sectors Size Type
  63. /dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
  64. /dev/nvme0n1p2 1050624 2050047 999424 488M Linux filesystem
  65. /dev/nvme0n1p3 2050048 1000214527 998164480 476G Linux filesystem
  66.  
  67. The partition table has been altered.
  68. Calling ioctl() to re-read partition table.
  69. Syncing disks.
  70. This was done by: LC_ALL=C grep -Ev '^last-lba:' /home/partimag/2024-03-05-12-img-dec/nvme0n1-pt.sf | sfdisk --wipe always --force /dev/nvme0n1 2>&1
  71. Informing the OS of partition table changes.... done!
  72. The disk and partitions in this system now:
  73. *****************************************************.
  74. Model: SAMSUNG MZVL2512HCJQ-00BL2 (nvme)
  75. Disk /dev/nvme0n1: 512GB
  76. Sector size (logical/physical): 512B/512B
  77. Partition Table: gpt
  78. Disk Flags:
  79.  
  80. Number Start End Size File system Name Flags
  81. 1 1049kB 538MB 537MB boot, esp
  82. 2 538MB 1050MB 512MB
  83. 3 1050MB 512GB 511GB
  84.  
  85. *****************************************************.
  86. Restoring partition /dev/nvme0n1p1...
  87. *****************************************************.
  88. Starting unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p1...
  89. If this action fails or hangs, check:
  90. * Is the saved image /home/partimag/2024-03-05-12-img-dec/nvme0n1p1.vfat-ptcl-img.zst corrupted ?
  91. *****************************************************.
  92. zstdmt -dc /home/partimag/2024-03-05-12-img-dec/nvme0n1p1.vfat-ptcl-img.zst 2> /tmp/unzip_cmd_error.gNuj3K | LC_ALL=C partclone.vfat -z 10485760 -N -L /var/log/partclone.log -s - -r -o /dev/nvme0n1p1
  93. Opening User Interface mode.
  94. Partclone v0.3.27 http://partclone.org
  95. Starting to restore image (-) to device (/dev/nvme0n1p1)
  96. memory needed: 21102596 bytes
  97. bitmap 131072 bytes, blocks 2*10485760 bytes, checksum 4 bytes
  98. Calculating bitmap... Please wait...
  99. get device size 536870912 by ioctl BLKGETSIZE64,
  100. done!
  101. File system: FAT32
  102. Device size: 536.9 MB = 1048576 Blocks
  103. Space in use: 22.4 MB = 43832 Blocks
  104. Free Space: 514.4 MB = 1004744 Blocks
  105. Block size: 512 Byte
  106. Total Time: 00:00:02, Ave. Rate: 673.26MB/min, 100.00% completed!
  107. Syncing... OK!
  108. Partclone successfully restored the image (-) to the device (/dev/nvme0n1p1)
  109. >>> Time elapsed: 6.25 secs (~ .104 mins)
  110. Finished unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p1.
  111. Informing the OS of partition table changes.... done!
  112. *****************************************************.
  113. Restoring partition /dev/nvme0n1p2...
  114. *****************************************************.
  115. Starting unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p2...
  116. If this action fails or hangs, check:
  117. * Is the saved image /home/partimag/2024-03-05-12-img-dec/nvme0n1p2.ext2-ptcl-img.zst corrupted ?
  118. *****************************************************.
  119. zstdmt -dc /home/partimag/2024-03-05-12-img-dec/nvme0n1p2.ext2-ptcl-img.zst 2> /tmp/unzip_cmd_error.n17BHZ | LC_ALL=C partclone.ext2 -z 10485760 -N -L /var/log/partclone.log -s - -r -o /dev/nvme0n1p2
  120. Opening User Interface mode.
  121. Partclone v0.3.27 http://partclone.org
  122. Starting to restore image (-) to device (/dev/nvme0n1p2)
  123. memory needed: 20987140 bytes
  124. bitmap 15616 bytes, blocks 2*10485760 bytes, checksum 4 bytes
  125. Calculating bitmap... Please wait...
  126. get device size 511705088 by ioctl BLKGETSIZE64,
  127. done!
  128. File system: EXTFS
  129. Device size: 511.7 MB = 124928 Blocks
  130. Space in use: 203.4 MB = 49663 Blocks
  131. Free Space: 308.3 MB = 75265 Blocks
  132. Block size: 4096 Byte
  133. Total Time: 00:00:02, Ave. Rate: 6.10GB/min, 100.00% completed!
  134. Syncing... OK!
  135. Partclone successfully restored the image (-) to the device (/dev/nvme0n1p2)
  136. >>> Time elapsed: 6.28 secs (~ .104 mins)
  137. Finished unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p2.
  138. Informing the OS of partition table changes.... done!
  139. *****************************************************.
  140. Finding swap partition(s) in GPT table /home/partimag/2024-03-05-12-img-dec/nvme0n1-pt.parted...
  141. *****************************************************.
  142. LUKS device exists, restoring it.
  143. *****************************************************.
  144. *****************************************************.
  145. Running: ocs-restore-mbr --ocsroot /home/partimag 2024-03-05-12-img-dec nvme0n1
  146. Setting the TERM as linux
  147. Restoring the first 446 bytes of MBR data (executable code area) for nvme0n1 by:
  148. dd if=/home/partimag/2024-03-05-12-img-dec/nvme0n1-mbr of=/dev/nvme0n1 bs=446 count=1
  149. done.
  150. *****************************************************.
  151. *****************************************************.
  152. Now tuning the file system size on partition /dev/nvme0n1p1 to fit the partition size...
  153. Running: ocs-resize-part --batch /dev/nvme0n1p1
  154. fatresize 1.1.0 (20221231)
  155. .part(start=2048, end=1050623, length=1048576)
  156. Resizing file system.
  157. .....Done.
  158. Committing changes.
  159. *****************************************************.
  160. Now tuning the file system size on partition /dev/nvme0n1p2 to fit the partition size...
  161. Running: ocs-resize-part --batch /dev/nvme0n1p2
  162. e2fsck -f -y /dev/nvme0n1p2; resize2fs -p -f /dev/nvme0n1p2
  163. Pass 1: Checking inodes, blocks, and sizes
  164. Pass 2: Checking directory structure
  165. Pass 3: Checking directory connectivity
  166. Pass 4: Checking reference counts
  167. Pass 5: Checking group summary information
  168. /dev/nvme0n1p2: 353/124928 files (16.1% non-contiguous), 49663/124928 blocks
  169. *****************************************************.
  170. Now tuning the file system size on partition /dev/nvme0n1p3 to fit the partition size...
  171. Running: ocs-resize-part --batch /dev/nvme0n1p3
  172. Unknown or unsupported partition (/dev/nvme0n1p3) found! Skip this partition /dev/nvme0n1p3.
  173. *****************************************************.
  174. Processing the PV/LV if necessary...
  175. Running: ocs-expand-lvm -b /dev/nvme0n1p1
  176. Found the disk(s) and partition(s) list for input device /dev/nvme0n1p1: /dev/nvme0n1p1
  177. *****************************************************.
  178. No any VG on /dev/nvme0n1p1 was found.
  179. Skip processing /dev/nvme0n1p1.
  180. *****************************************************.
  181. Running: ocs-expand-lvm -b /dev/nvme0n1p2
  182. Found the disk(s) and partition(s) list for input device /dev/nvme0n1p2: /dev/nvme0n1p2
  183. *****************************************************.
  184. No any VG on /dev/nvme0n1p2 was found.
  185. Skip processing /dev/nvme0n1p2.
  186. *****************************************************.
  187. Running: ocs-expand-lvm -b /dev/nvme0n1p3
  188. Found the disk(s) and partition(s) list for input device /dev/nvme0n1p3: /dev/nvme0n1p3
  189. *****************************************************.
  190. No any VG on /dev/nvme0n1p3 was found.
  191. Skip processing /dev/nvme0n1p3.
  192. *****************************************************.
  193. *****************************************************.
  194. Running: ocs-tux-postprocess nvme0n1p1 nvme0n1p2 nvme0n1p3
  195. Trying to remove udev hardware record in the restored OS...
  196. The specified destination device: nvme0n1p1 nvme0n1p2 nvme0n1p3
  197. Trying to remove udev persistent files. The devices to be searched: nvme0n1p1 nvme0n1p2 nvme0n1p3...
  198. Skip /dev/nvme0n1p1 (vfat).
  199. Now searching possible device /dev/nvme0n1p2...
  200. Skip /dev/nvme0n1p3 (No file system. Extended partition?).
  201. done!
  202. *****************************************************.
  203. Running: ocs-update-syslinux -b nvme0n1p1 nvme0n1p2 nvme0n1p3
  204. Device /dev/nvme0n1p2 is not a FAT partition.
  205. Skip updating syslinux on that.
  206. Device /dev/nvme0n1p3 is not a FAT partition.
  207. Skip updating syslinux on that.
  208. *****************************************************.
  209. Running: ocs-install-grub -p "nvme0n1p1 nvme0n1p2 nvme0n1p3 " auto
  210. Found grub partition: /dev/nvme0n1p2
  211. Found grub partition "/dev/nvme0n1p2", which is on the restored partitions list (nvme0n1p1 nvme0n1p2 nvme0n1p3). Will run grub-install later.
  212. Disk /dev/nvme0n1 is not MBR format or GPT disk with a special 'bios_boot' partition. Skip the reinstallation of grub-pc (MBR) program.
  213. *****************************************************.
  214. Running: ocs-update-initrd -p "nvme0n1p1 nvme0n1p2 nvme0n1p3 " auto
  215. Found boot and grub partition: /dev/nvme0n1p2
  216. Found grub partition "/dev/nvme0n1p2", which is on the restored partitions list (nvme0n1p1 nvme0n1p2 nvme0n1p3).
  217. There is a separate boot partition in target device. Trying to mount root partition for to work with that...
  218. Setting up the Logical Volume Manager
  219. No root partition is mounted! You'd better to make sure the running kernel does support the file system of root partition!
  220. No "root_prt" assigned in function do_run_update_initrd_from_restored_os.
  221. No "root_prt" assigned in function do_run_update_initrd_from_restored_os.
  222. Program terminated.
  223. Program terminated.
  224. *****************************************************.
  225. Running: run_ntfsreloc_part -p "nvme0n1p1 nvme0n1p2 nvme0n1p3" auto
  226. The NTFS boot partition was not found or not among the restored partition(s). Skip running partclone.ntfsfixboot.
  227. *****************************************************.
  228. Running: update-efi-nvram-boot-entry -r /home/partimag/2024-03-05-12-img-dec/efi-nvram.dat -f /tmp/efi_info.9DNrY2 /dev/nvme0n1
  229. End of restoreparts job for image 2024-03-05-12-img-dec.
  230. End of restoredisk job for image 2024-03-05-12-img-dec.
  231. Checking if udevd rules have to be restored...
  232. This program is not started by Clonezilla server, so skip notifying it the job is done.
  233. This program is not started by Clonezilla server, so skip notifying it the job is done.
  234. Finished!
  235. Finished!
  236. Now syncing - flush filesystem buffers...
  237. Ending /usr/sbin/ocs-sr at 2024-03-05 10:54:54 UTC...
  238.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement