Menu

Cloning smaller source disk to larger target disk

Help
2024-01-01
2024-01-10
  • manmath_pclos

    manmath_pclos - 2024-01-01

    Dear members, I want to clone a smaller source disk to a larger disk. Here's the details:
    Source disk: 256gb NVME SSD with three partitions: 100 MB EFI partition, 10 GB "/" partition, and some 230 GB "/home" partition.
    Target disk: 2TB NVME SSD
    I want the target disk to have the exact EFI and "/" partitin as the source, but the "/home" partition should fill rest of the disk space, not just the 230GB.

     
  • manmath_pclos

    manmath_pclos - 2024-01-06

    Well, finally I cloned. But after cloning I see abysmal disk read/write speed. I don't know what went wrong. Please have a look and suggest what to do:

    root@debian:~# hdparm -tT /dev/sda

    /dev/sda:
    Timing cached reads: 10590 MB in 2.00 seconds = 5301.14 MB/sec
    Timing buffered disk reads: 72 MB in 3.01 seconds = 23.88 MB/sec
    root@debian:~# dd if=/dev/zero of=test bs=1G count=1 oflag=direct
    1+0 records in
    1+0 records out
    1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.34009 s, 801 MB/s

     
  • Steven Shiau

    Steven Shiau - 2024-01-10

    You can use Clonezilla to clone the disk, or dd.
    Since what you want is not the scenario we have in Clonezilla, so I suggest you use GParted live (https://gparted.org) to resize the partitions on the destination disk after you have cloned that.

    Steven

     
  • manmath_pclos

    manmath_pclos - 2024-01-10

    Thanks Steven. I had reinstalled and the issue has been resolved.

     
    👍
    1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.