Pass through drives are showing as 900gb instead of 1.8tb, and won't format into a storage pool.

twagoner

Cadet
Joined
May 5, 2023
Messages
2
We have a XCP-NG system that we pass SDD’s to our TrueNAS scale server, using a symlink. These drives are 1.8TB each, and we have 10 of them. They were used as a raid array before, but the system crash and we have to start from scratch. We are trying to do another raid array with how we had it before, but the drive are now showing up as 900gb instead of 1.8TB. We have erased and zero the drive completely, but we believe the TrueNAS Scale still see the old raid metadata on the drives. When we try to add them to a storage pool, we get this error “ [EFA[EFAULT] Failed to wipe disk xvdc: [Errno 16] Device or resource busy: '/dev/xvdc' “ Any help would be appreciated!

Here’s the video we use to pass the hard drives through to our TrueNAS system:
Xenserver Hard Drive / Whole Disk Passthrough with XCP-NG
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
We have a XCP-NG system that we pass SDD’s to our TrueNAS scale server, using a symlink. These drives are 1.8TB each, and we have 10 of them. They were used as a raid array before, but the system crash and we have to start from scratch. We are trying to do another raid array with how we had it before, but the drive are now showing up as 900gb instead of 1.8TB. We have erased and zero the drive completely, but we believe the TrueNAS Scale still see the old raid metadata on the drives. When we try to add them to a storage pool, we get this error “ [EFA[EFAULT] Failed to wipe disk xvdc: [Errno 16] Device or resource busy: '/dev/xvdc' “ Any help would be appreciated!

Here’s the video we use to pass the hard drives through to our TrueNAS system:
Xenserver Hard Drive / Whole Disk Passthrough with XCP-NG

That's not supported. Please review the virtualization guide and pass through the controller using PCIe passthru. Do NOT attempt to pass through individual drives.

 

robfied

Cadet
Joined
May 9, 2023
Messages
1
Hello, looking at the above link, is it correct that you are to install Truenas on bare metal and then install the hypervisor (Esxi or Xen) afterwards?
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Yes, you can, if you plan carefully. That's part of the point of the resource. Typically you might pass through a mainboard's six port SATA controller to get two boot devices and four data disks (think: a 1U 4xLFF platform) and then later boot ESXi from SAN or maybe from a NVMe disk or something like that. It needs to be thought out in advance how it will work.
 
Top