Ich brauche nochmal #Brainpower der #EDV #Bubble 🤣

Da mein bisheriges, betagtes, leistungsschwaches 1-Bay
#QNAP #NAS sehr langsam ist, z.B. beim #rsync, habe ich inzwischen das #Ugreen #NAS #DPX2800 gekauft, mit 32 GB #RAM aufgerüstet und 2 #NVNE mit je 2 TB eingebaut.

Azf den beiden M.2 ist
#Proxmox im #ZFS #RAID1 installiert. #Homeassistant und #TrueNAS laufen je in einer #VM.

TrueNAS soll nun einen
#Datenpool in Form eines verschlüsselten ZFS RAID 1 auf 2 16 TB Festplatten bekommen. So weit so gut.

Nur: Wie bekomme ich die
#Daten vom alten NAS, die in einer verschlüsselten #LUKS #Partition liegen, in den Datenpool?

Über
#Netzwerk kopieren ist keine wirkliche Option. Das ist für ~ 10 TB Nutzdaten viel zu langsam.

Bitte
#Boost für mehr Reichweite. 🙏

@crazy2bike Copying the data over the network is slow, but it’s also probably the only option. I suppose you could try using a USB SATA adapter. Proxmox is Linux-based, so it should be able to understand LUKS and whatever filesystem is on the old drive (ext4?).

A single spinning disk doesn’t go a whole lot faster than 1g network, though, so it’s probably not worth the hassle. Just set up your new mirror and rsync over the 1g network.

@bob_zim

Decrypting the disc with Proxmox is no problem. But I need to decrypt the disc inside the TrueNAS vm.

The speed over 1 gbit/s network is 12,5 MB/s maximum. A single sata disc is reading and writing at least about 8 to 10 times faster.

@crazy2bike You should be able to share the files from Proxmox into the VM (via SMB, NFS, etc.), but also TrueNAS Scale is Linux and should be able to decrypt LUKS and read the drive.

That said, I’m also really curious why a 1g network connection would only get 12.5 MB/s of throughput. 1 gigabit is 125 MB/s. Transferring lots of data will involve some seeking, but shouldn’t involve *that* much.

@bob_zim

If the TrueNAS Linux Distro has installed cryptsetup or if I can install it, this could work.

And the network speed: you're right. I confused with 100 Mbit/s, probably because the rsync speed to the old nas was ~ 5 to 8 Mbit/s.
@crazy2bike Looks like it’s installed. On a TrueNaS 25.04.1 system, cryptdisk_start, cryptdisk_stop, and luksformat are all present. I didn’t do anything to install them.

@crazy2bike

> Decrypting the disc with Proxmox is no problem. But I need to decrypt the disc inside the TrueNAS vm.

Warum? Du kannst doch die luks auf dem proxmox-host aufmachen: dann hast du ein /dev/mapper/foo in der Hand, dass du in die TrueNAS VM als device reinreichen kannst.

@jeichhor

Stimmt. Das geht ja auch. Manchmal sehe ich den Wald vor lauter Bäumen nicht
🤣🤦