Omega Destroyer
Cadet
- Joined
- Jan 15, 2023
- Messages
- 6
I've spent the past 2 weeks trying to sort this out. I have replaced all kinds of hardware, cables etc., but I can't seem to get this to work. I have also extensively testing many settings and without making this thread too long with everything I've tried, I just want to see if anyone else can replicate this potential bug.
Setup - Proxmox (both V 7.4-3 and 7.3-3) TrueNAS 13.0 U4
1) SMB shares set up on TrueNAS (I've tried with both Mirrored and Z2 datasets)
2) Proxmox connects to the TrueNAS shares in the datacenter and adds it as a storage (permissions is not an issue because I can verify read/write to the disk using Proxmox console and I can see that the disk image is created by Proxmox.)
3) Add a hard disk to the a Windows or Linux guest VM in the hardware tab (I've tried Ubuntu and Windows 10, and 11 Enterprise). How the virtual disk is connected (SATA, VirtIO doesn't seem to matter, nor does the SCSI controller selection). Make sure you choose the storage that was added from the TrueNAS share.
4) Boot the VM and try to initialize the disk.
In Windows I get an I/O error when I initialize the disk. In Ubuntu I also get an I/O error when I format it to Ext4. Gparted ISO gives me an error as well.
However, I have confirmed that can map the same share using the guest OS as a network drive on the guest OS (as opposed to being passed through as a disk through Proxmox). In both cases I can verify that I can read and write to the network folder.
It's unlikely to be a Proxmox issue because if I create an SMB share on a different computer and follow steps 2 - 4 - it works as expected. Only if Proxmox creates the virtual disk on a TrueNAS SMB share do I get the I/O error.
I use the same accounts to log into everything, so I'm fairly certain it's not an ACL issue.
Happy to provide more information, I just didn't want to make this thread too long.
The odd thing is that this used to work before! I had mapped the same SMB shares in Proxmox and created disk images to pass through to guest OS and they were able to initialize the disks and format them without issue.
Then I noticed some file corruption (which is why I replaced HBAs, backplanes, cables (ethernet, SATA, SFF 8088 etc), ethernet cards (10 GbE and 1 Gbe), my switch, etc. Since then it hasn't been working properly. Based on that, I know you're thinking this is probably a hardware issue, but I've basically replaced everything on both the Proxmox server and the TrueNAS server.
Setup - Proxmox (both V 7.4-3 and 7.3-3) TrueNAS 13.0 U4
1) SMB shares set up on TrueNAS (I've tried with both Mirrored and Z2 datasets)
2) Proxmox connects to the TrueNAS shares in the datacenter and adds it as a storage (permissions is not an issue because I can verify read/write to the disk using Proxmox console and I can see that the disk image is created by Proxmox.)
3) Add a hard disk to the a Windows or Linux guest VM in the hardware tab (I've tried Ubuntu and Windows 10, and 11 Enterprise). How the virtual disk is connected (SATA, VirtIO doesn't seem to matter, nor does the SCSI controller selection). Make sure you choose the storage that was added from the TrueNAS share.
4) Boot the VM and try to initialize the disk.
In Windows I get an I/O error when I initialize the disk. In Ubuntu I also get an I/O error when I format it to Ext4. Gparted ISO gives me an error as well.
However, I have confirmed that can map the same share using the guest OS as a network drive on the guest OS (as opposed to being passed through as a disk through Proxmox). In both cases I can verify that I can read and write to the network folder.
It's unlikely to be a Proxmox issue because if I create an SMB share on a different computer and follow steps 2 - 4 - it works as expected. Only if Proxmox creates the virtual disk on a TrueNAS SMB share do I get the I/O error.
I use the same accounts to log into everything, so I'm fairly certain it's not an ACL issue.
Happy to provide more information, I just didn't want to make this thread too long.
The odd thing is that this used to work before! I had mapped the same SMB shares in Proxmox and created disk images to pass through to guest OS and they were able to initialize the disks and format them without issue.
Then I noticed some file corruption (which is why I replaced HBAs, backplanes, cables (ethernet, SATA, SFF 8088 etc), ethernet cards (10 GbE and 1 Gbe), my switch, etc. Since then it hasn't been working properly. Based on that, I know you're thinking this is probably a hardware issue, but I've basically replaced everything on both the Proxmox server and the TrueNAS server.