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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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
Thanks Steven. I had reinstalled and the issue has been resolved.