NTFS to EXT4 (windows to raspberry)

Hello,
I’m having multiples nodes, some running on windows and some on a few raspberry, I’m willing to stop my windows nodes and go full rasp (less watts usage, energy crisis here in EU etc)
but do to this i’ll need to swap all the TB from the NTFS disks (windows) to the ext4 partitions (raspberry).

my plan:
-from disk A (16tb, NTFS) → copy to disk B (16tb NTFS)
-format disk A to ext4
-from disk B (NTFS) → copy to disk A (ext4)

Would that be right?
Any software you guys use or recommend to copy NTFS files to ext4 from a windows machine?

(I know there’s another way to do it: shrink the disk(s), copy the data, shrink again etc but it seems way more dangerous to me.)

On a powerful PC with Linux using rsync
-format disk B to ext4
-from disk A (16tb, NTFS) → copy to disk B (16tb ext4)
then connect the drive B to the raspberry

2 Likes

(According to what i’ve read) Using rsync to copy NTFS files over an ext4 partition will make me lose all the file permissions, could that be a problem for the node on the rasp?

Hi ! Kindly use samba on your raspberry to share your new hard disk to windows trough the network and let copy trough robocopy. If you plan to use root to launch your container, permission would not be a issue because root have access to all data. You could also use NFS on windows to copy, or maybe just create virtual machine with linux and map in raw device your disks to be able to do the file transfer locally with rsync and mount.nfs :wink: (after creating your ext4 filesystem on target device). Personnaly in your case i would copy though virtual machine because it’s local to your system, or maybe create VM with samba on target disk in local system. Copy can take hours and hours… Raw device mapping include the fact of the disk to won’t be accessible by your host OS (Windows) during mapping to the VM. Take care, Eioz.

You may enable WSL on Windows and use rsync from Windows disk (it will be mounted to /mnt/ (/mnt/x for disk X:) to the disk mounted on raspi, this way all data will have permissions of your raspi’s user.

2 Likes

Thanks to all of you for the answers!
Will probably use Alexey’s method.

Thread can be /closed

You can just mark an appropriate post as a solution and thread will be marked as solved automatically.

1 Like

@Alexey I have got a node on docker and want to move from my small drive (ntfs) to a bigger one (with ext4). Is there a problem? I’ve got mounted both on my Ubuntu host and want to move all data.

You may follow this guide:

2 Likes