Replace NWSP2 disk while dd the content

Replace NWSP2 disk while dd the content

Postby mdi » Wed Feb 25, 2026 4:27 pm

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.
mdi
Donator VIP
Donator VIP
 
Posts: 195
Joined: Tue Oct 11, 2011 1:20 pm

Re: Replace NWSP2 disk while dd the content

Postby fvdw » Wed Feb 25, 2026 8:54 pm

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 be exactly the same. As the 2TB disk 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 console and putting the 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
fvdw
Site Admin - expert
 
Posts: 13506
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Replace NWSP2 disk while dd the content

Postby mdi » Mon Mar 02, 2026 10:44 am

I was able to install the firmware by using the Kirkwood kernel and ask the console to install the firmware on the new disk. I also had to completely disabled the wifi device, otherwise I couldn't load the kernel and properly connect to the NAS.

Now I'm copying the files for the partition 8 :)

Thanks!!!
mdi
Donator VIP
Donator VIP
 
Posts: 195
Joined: Tue Oct 11, 2011 1:20 pm


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: Baidu [Spider], Bing Bot and 1 guest