Page 1 of 1

Replace NWSP2 disk while dd the content

PostPosted: Wed Feb 25, 2026 4:27 pm
by mdi
Hi, I have my current NWSP2 running on a 2TB HDD. I'd like to replace it with a 4TB HDD and I was thinking about using DD to copy the entire disk content and then resize the partitions.

At the moment this is my fdisk output:
Code: Select all
root@NAS:/ # fdisk -l

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      242252  1953514583+ ee EFI GPT

Disk /dev/sdb: 960.1 GB, 960197124096 bytes
255 heads, 63 sectors/track, 116737 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               9      116736   937617660  83 Linux


I assume there would be no issue as today I already have GPT partition scheme and the approach should work.

Do you think I can proceed with the approach?

Thanks.

Re: Replace NWSP2 disk while dd the content

PostPosted: Wed Feb 25, 2026 8:54 pm
by fvdw
Assuming you want to do that on the nesp2 using new disk attached via usb.
Then using dd for the whole disk will take a loooo....ong time and the partition tables should he exactly the same. As the 2TB dusk uses msdos table and the new one gpt this will give problems with alignment of the sectors.
I would prepare a new disk with the correct partition table, for instance by installing fvdw-sl on your new disk using fvdw-sl consoleband putting new disk in your nwsp2.
After that remove the new disk from nwsp2 and put the old disk in and connect the new disk via usb connector, it will be recognized as sdb. Then use dd to copy the content of sda1 to 7 one by one to sdb 1 to 7. After that use copy command to copy your data from sda8 to sdb8. When finished remove the old disk and put the new one in abd all shoul be fine