lukasfazik
Cadet
- Joined
- Jun 9, 2021
- Messages
- 4
Version: TrueNAS-12.0-U4
Hardware config: TrueNAS is a virtual machine inside Hyper-V with attached 10TB disk via pass trough
Processor: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
RAM: 4GB virtual memory assigned via Hyper-V
Boot drive: Hyper-V virtual disk
This is temporary configuration until I move other VMs to the cluster
Hardware config: TrueNAS is a virtual machine inside Hyper-V with attached 10TB disk via pass trough
Processor: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
RAM: 4GB virtual memory assigned via Hyper-V
Boot drive: Hyper-V virtual disk
This is temporary configuration until I move other VMs to the cluster
What I have done:
- Joined TrueNAS to the domain via an administrator account
- Created pool and "test" dataset on the TrueNAS
- Created SMB share from that dataset, enabled ACL
- Granted my domain account (is in Domain Admins) full permissions to the TrueNAS share/dataset
- Granted via Windows explorer full permissions on that dataset to a machine domain account
- As my troubleshooting steps I have enabled in TrueNAS share: Time Machine, Export Recycle Bin, Enable FSRVP, Enable ACL, Browsable to Network Clients, Enable SMB2/3 Durable Handles, Enable Alternate Data Streams, Enable Shadow Copies
- To fix temporarily non-domain backups that use robocopy, in Domain services -> Active Directory I have enabled Allow Trusted Domains
- To troubleshoot I have enabled in Services -> SMB: Enable Apple SMB2/3 Protocol Extensions and added Domain Admins group as Administrators group
I can't export Hyper-V virtual machine on Windows Server 2019 to TrueNAS SMB share. The configuration level of virtual machines is 9.0. I receive an error:
I don't think it's a basic permission issue. I have full permission for the user account that exports the VM and also for the system account of the Hyper-V host. I have noticed that Hyper-V VMs with configuration level 8.0 export just fine. I think it's maybie some issue with samba that it doesn't support some commands that WIndows sends. Export to the Windows computer or server that hosts Windows share works fine.
I have found similar threads but no solution:
Exporting Hyper-V VM's using Export-VM to a Seagate NAS Device (microsoft.com)
Hyper-V Export von Windows Server 2019 auf Synology-NAS schlägt fehl. Event-ID 18350 (microsoft.com)
(I used google translate to translate the second thread to English)
Last words:
I don't want to export VMs locally and use robocopy to copy them over to the TrueNAS later because I want to create Hyper-V hyper-converged cluster with no shared storage. So it would require another machine to accepts exports and copy them to the NAS. Also, some VMs are large (One is 1,2TB for example)
To all readers, I wish good rest of the day and to replyers, I am thanking them in advance :)