Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Starting /usr/sbin/ocs-sr at 2024-03-05 10:52:00 UTC...
- *****************************************************.
- Clonezilla image dir: /home/partimag
- Shutting down the Logical Volume Manager
- Finished Shutting down the Logical Volume Manager
- PS. Next time you can run this command directly:
- /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
- *****************************************************.
- Running: task_restoreparts "2024-03-05-12-img-dec" "nvme0n1p1 nvme0n1p2 nvme0n1p3" ""
- *****************************************************.
- 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"
- The image was created at: 2024-0305-1219
- WARNING. THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST:
- *****************************************************.
- Machine: 82JD
- nvme0n1 (512GB_SAMSUNG_MZVL2512HCJQ-00BL2__pci-0000_02_00_0-nvme-1_S64JNE0R320109)
- *****************************************************.
- This program is not started by clonezilla server.
- *****************************************************.
- Let me ask you again.
- 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"
- The image was created at: 2024-0305-1219
- WARNING. THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL BE LOST:
- *****************************************************.
- Machine: 82JD
- nvme0n1 (512GB_SAMSUNG_MZVL2512HCJQ-00BL2__pci-0000_02_00_0-nvme-1_S64JNE0R320109)
- *****************************************************.
- Shutting down the Logical Volume Manager
- Finished Shutting down the Logical Volume Manager
- Creating partition in /dev/nvme0n1...
- Trying to clean the MBR and GPT partition table on the destination disk first: /dev/nvme0n1
- Informing the OS of partition table changes... done!
- Running: dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=1
- 1+0 records in
- 1+0 records out
- 512 bytes copied, 0.00818627 s, 62.5 kB/s
- 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
- Checking that no-one is using this disk right now ... OK
- Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
- Disk model: SAMSUNG MZVL2512HCJQ-00BL2
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- >>> Script header accepted.
- >>> Script header accepted.
- >>> Script header accepted.
- >>> Script header accepted.
- >>> Script header accepted.
- >>> Script header accepted.
- >>> Created a new GPT disklabel (GUID: C6B1DF82-AAA3-429F-A04A-56816690E33C).
- /dev/nvme0n1p1: Created a new partition 1 of type 'EFI System' and of size 512 MiB.
- /dev/nvme0n1p2: Created a new partition 2 of type 'Linux filesystem' and of size 488 MiB.
- /dev/nvme0n1p3: Created a new partition 3 of type 'Linux filesystem' and of size 476 GiB.
- /dev/nvme0n1p4: Done.
- New situation:
- Disklabel type: gpt
- Disk identifier: C6B1DF82-AAA3-429F-A04A-56816690E33C
- Device Start End Sectors Size Type
- /dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
- /dev/nvme0n1p2 1050624 2050047 999424 488M Linux filesystem
- /dev/nvme0n1p3 2050048 1000214527 998164480 476G Linux filesystem
- The partition table has been altered.
- Calling ioctl() to re-read partition table.
- Syncing disks.
- 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
- Informing the OS of partition table changes.... done!
- The disk and partitions in this system now:
- *****************************************************.
- Model: SAMSUNG MZVL2512HCJQ-00BL2 (nvme)
- Disk /dev/nvme0n1: 512GB
- Sector size (logical/physical): 512B/512B
- Partition Table: gpt
- Disk Flags:
- Number Start End Size File system Name Flags
- 1 1049kB 538MB 537MB boot, esp
- 2 538MB 1050MB 512MB
- 3 1050MB 512GB 511GB
- *****************************************************.
- Restoring partition /dev/nvme0n1p1...
- *****************************************************.
- Starting unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p1...
- If this action fails or hangs, check:
- * Is the saved image /home/partimag/2024-03-05-12-img-dec/nvme0n1p1.vfat-ptcl-img.zst corrupted ?
- *****************************************************.
- 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
- Opening User Interface mode.
- Partclone v0.3.27 http://partclone.org
- Starting to restore image (-) to device (/dev/nvme0n1p1)
- memory needed: 21102596 bytes
- bitmap 131072 bytes, blocks 2*10485760 bytes, checksum 4 bytes
- Calculating bitmap... Please wait...
- get device size 536870912 by ioctl BLKGETSIZE64,
- done!
- File system: FAT32
- Device size: 536.9 MB = 1048576 Blocks
- Space in use: 22.4 MB = 43832 Blocks
- Free Space: 514.4 MB = 1004744 Blocks
- Block size: 512 Byte
- Total Time: 00:00:02, Ave. Rate: 673.26MB/min, 100.00% completed!
- Syncing... OK!
- Partclone successfully restored the image (-) to the device (/dev/nvme0n1p1)
- >>> Time elapsed: 6.25 secs (~ .104 mins)
- Finished unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p1.
- Informing the OS of partition table changes.... done!
- *****************************************************.
- Restoring partition /dev/nvme0n1p2...
- *****************************************************.
- Starting unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p2...
- If this action fails or hangs, check:
- * Is the saved image /home/partimag/2024-03-05-12-img-dec/nvme0n1p2.ext2-ptcl-img.zst corrupted ?
- *****************************************************.
- 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
- Opening User Interface mode.
- Partclone v0.3.27 http://partclone.org
- Starting to restore image (-) to device (/dev/nvme0n1p2)
- memory needed: 20987140 bytes
- bitmap 15616 bytes, blocks 2*10485760 bytes, checksum 4 bytes
- Calculating bitmap... Please wait...
- get device size 511705088 by ioctl BLKGETSIZE64,
- done!
- File system: EXTFS
- Device size: 511.7 MB = 124928 Blocks
- Space in use: 203.4 MB = 49663 Blocks
- Free Space: 308.3 MB = 75265 Blocks
- Block size: 4096 Byte
- Total Time: 00:00:02, Ave. Rate: 6.10GB/min, 100.00% completed!
- Syncing... OK!
- Partclone successfully restored the image (-) to the device (/dev/nvme0n1p2)
- >>> Time elapsed: 6.28 secs (~ .104 mins)
- Finished unicast restoring image 2024-03-05-12-img-dec to /dev/nvme0n1p2.
- Informing the OS of partition table changes.... done!
- *****************************************************.
- Finding swap partition(s) in GPT table /home/partimag/2024-03-05-12-img-dec/nvme0n1-pt.parted...
- *****************************************************.
- LUKS device exists, restoring it.
- *****************************************************.
- *****************************************************.
- Running: ocs-restore-mbr --ocsroot /home/partimag 2024-03-05-12-img-dec nvme0n1
- Setting the TERM as linux
- Restoring the first 446 bytes of MBR data (executable code area) for nvme0n1 by:
- dd if=/home/partimag/2024-03-05-12-img-dec/nvme0n1-mbr of=/dev/nvme0n1 bs=446 count=1
- done.
- *****************************************************.
- *****************************************************.
- Now tuning the file system size on partition /dev/nvme0n1p1 to fit the partition size...
- Running: ocs-resize-part --batch /dev/nvme0n1p1
- fatresize 1.1.0 (20221231)
- .part(start=2048, end=1050623, length=1048576)
- Resizing file system.
- .....Done.
- Committing changes.
- *****************************************************.
- Now tuning the file system size on partition /dev/nvme0n1p2 to fit the partition size...
- Running: ocs-resize-part --batch /dev/nvme0n1p2
- e2fsck -f -y /dev/nvme0n1p2; resize2fs -p -f /dev/nvme0n1p2
- Pass 1: Checking inodes, blocks, and sizes
- Pass 2: Checking directory structure
- Pass 3: Checking directory connectivity
- Pass 4: Checking reference counts
- Pass 5: Checking group summary information
- /dev/nvme0n1p2: 353/124928 files (16.1% non-contiguous), 49663/124928 blocks
- *****************************************************.
- Now tuning the file system size on partition /dev/nvme0n1p3 to fit the partition size...
- Running: ocs-resize-part --batch /dev/nvme0n1p3
- [1;33mUnknown or unsupported partition (/dev/nvme0n1p3) found! Skip this partition /dev/nvme0n1p3.
- [0;39m*****************************************************.
- Processing the PV/LV if necessary...
- Running: ocs-expand-lvm -b /dev/nvme0n1p1
- Found the disk(s) and partition(s) list for input device /dev/nvme0n1p1: /dev/nvme0n1p1
- *****************************************************.
- [1;33mNo any VG on /dev/nvme0n1p1 was found.
- [0;39mSkip processing /dev/nvme0n1p1.
- *****************************************************.
- Running: ocs-expand-lvm -b /dev/nvme0n1p2
- Found the disk(s) and partition(s) list for input device /dev/nvme0n1p2: /dev/nvme0n1p2
- *****************************************************.
- [1;33mNo any VG on /dev/nvme0n1p2 was found.
- [0;39mSkip processing /dev/nvme0n1p2.
- *****************************************************.
- Running: ocs-expand-lvm -b /dev/nvme0n1p3
- Found the disk(s) and partition(s) list for input device /dev/nvme0n1p3: /dev/nvme0n1p3
- *****************************************************.
- [1;33mNo any VG on /dev/nvme0n1p3 was found.
- [0;39mSkip processing /dev/nvme0n1p3.
- *****************************************************.
- *****************************************************.
- Running: ocs-tux-postprocess nvme0n1p1 nvme0n1p2 nvme0n1p3
- Trying to remove udev hardware record in the restored OS...
- The specified destination device: nvme0n1p1 nvme0n1p2 nvme0n1p3
- Trying to remove udev persistent files. The devices to be searched: nvme0n1p1 nvme0n1p2 nvme0n1p3...
- Skip /dev/nvme0n1p1 (vfat).
- Now searching possible device /dev/nvme0n1p2...
- Skip /dev/nvme0n1p3 (No file system. Extended partition?).
- done!
- *****************************************************.
- Running: ocs-update-syslinux -b nvme0n1p1 nvme0n1p2 nvme0n1p3
- Device /dev/nvme0n1p2 is not a FAT partition.
- Skip updating syslinux on that.
- Device /dev/nvme0n1p3 is not a FAT partition.
- Skip updating syslinux on that.
- *****************************************************.
- Running: ocs-install-grub -p "nvme0n1p1 nvme0n1p2 nvme0n1p3 " auto
- Found grub partition: /dev/nvme0n1p2
- Found grub partition "/dev/nvme0n1p2", which is on the restored partitions list (nvme0n1p1 nvme0n1p2 nvme0n1p3). Will run grub-install later.
- [1;33mDisk /dev/nvme0n1 is not MBR format or GPT disk with a special 'bios_boot' partition. Skip the reinstallation of grub-pc (MBR) program.
- [0;39m*****************************************************.
- Running: ocs-update-initrd -p "nvme0n1p1 nvme0n1p2 nvme0n1p3 " auto
- Found boot and grub partition: /dev/nvme0n1p2
- Found grub partition "/dev/nvme0n1p2", which is on the restored partitions list (nvme0n1p1 nvme0n1p2 nvme0n1p3).
- [1;33mThere is a separate boot partition in target device. Trying to mount root partition for to work with that...
- [0;39mSetting up the Logical Volume Manager
- [1;33mNo root partition is mounted! You'd better to make sure the running kernel does support the file system of root partition!
- [0;39mNo "root_prt" assigned in function do_run_update_initrd_from_restored_os.
- No "root_prt" assigned in function do_run_update_initrd_from_restored_os.
- Program terminated.
- Program terminated.
- *****************************************************.
- Running: run_ntfsreloc_part -p "nvme0n1p1 nvme0n1p2 nvme0n1p3" auto
- The NTFS boot partition was not found or not among the restored partition(s). Skip running partclone.ntfsfixboot.
- *****************************************************.
- 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
- End of restoreparts job for image 2024-03-05-12-img-dec.
- End of restoredisk job for image 2024-03-05-12-img-dec.
- Checking if udevd rules have to be restored...
- This program is not started by Clonezilla server, so skip notifying it the job is done.
- This program is not started by Clonezilla server, so skip notifying it the job is done.
- Finished!
- Finished!
- Now syncing - flush filesystem buffers...
- Ending /usr/sbin/ocs-sr at 2024-03-05 10:54:54 UTC...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement