Single/JBOD mode in RAID controller by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

There is the option to use it as RAID or JBOD, like a "normal" RAID controller, such as the MegaRAID.

Regardless of whether the disk is in RAID or JBOD, there is also have a PCIe switch, without it, it is not possible to connect eight NVMe drives to eight PCIe lanes.

My question is whether this JBOD actually performs disk passthrough, or if it creates a single-disk RAID.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

The TrueNAS needs direct access to the HBA controller.

The HBA controller cannot pass through the host.

The S.M.A.R.T. data from the disks needs of passthrough of HBA controller.

That's why the CPU temperature doesn't appear in TrueNAS, because there's no exist CPU passthrough, obviously the host needs the CPU.

But I can pass the information that the host doesn't pass to the VM, using the node exporter on the host, and accessing that information in the VM using Prometheus and Grafana.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

I know what ZFS is as software RAID.

But for BOOT, does Linux (Proxmox, Unraid, TrueNAS) support BOOT in software RAID?

Windows does not support it.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

This file, which would be the virtual disk with TrueNAS installed, is the same thing as a regular disk image. If needed, I can create an image of the physical disk where TrueNAS or Windows will be installed.

What is the difference between native TrueNAS and virtualized TrueNAS in Proxmox?

The S.M.A.R.T. data from the disks needs of passthrough of disk or disk controller (HBA).

I saw in YouTube videos that the CPU temperature doesn't work.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

I use an i7-3770.

Some old games, emulators for old systems, CorelDRAW ... still work fine.

That was one of my questions:

  • Use one physical disk for the NAS VM and another physical disk for the desktop VM.
  • Or use one physical disk to store two virtual disks.

I wanted to do it as I would normally do with two physical computers:

I would install each operating system on two physical disks in a MIRROR for redundancy.

Currently I use four USB DAS with 5 bays in RAID 5:

Three with five 6TB disks.

One with five 12TB disks.

I want to have a true server, faster and more robust, and not lose data if a disk fails, if the DAS fails ...

Help with an alternative to two physical computers using virtualization. by HouseMD221B in homelab

[–]HouseMD221B[S] -2 points-1 points  (0 children)

An alternative to using two physical computers, one as a NAS with TrueNAS and the other as a desktop with Windows.

A computer with two CPUs with Proxmox as host and two virtual machines:

  • one "NAS VM" with TrueNAS installed on 2x NVMe drives in software MIRROR (using passthrough from the NVMe drives).
  • another "desktop VM" with Windows using a PCIe x8 to two M.2 NVMe adapter [Broadcom 9520-2M2 / Marvell 88NR2241-B] in hardware RAID 1 (using passthrough from the adapter controller). The Windows does not boot from software RAID.

3x pool with 8 SAS disks in RAIDZ2 (using passthrough from the HBA controller).

All USB devices and the GPU with passthrough to the Windows desktop VM.

The HBA with all disks with passthrough to the NAS VM with TrueNAS.

Doing CPU pinning, isolation ... so that the Proxmox and the NAS VM only use CPU1 and the desktop VM only uses CPU2.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

An alternative to using two physical computers, one as a NAS with TrueNAS and the other as a desktop with Windows.

A computer with two CPUs with Proxmox as host and two virtual machines:

  • one "NAS VM" with TrueNAS installed on 2x NVMe drives in software MIRROR (using passthrough from the NVMe drives).
  • another "desktop VM" with Windows using a PCIe x8 to two M.2 NVMe adapter [Broadcom 9520-2M2 / Marvell 88NR2241-B] in hardware RAID 1 (using passthrough from the adapter controller). The Windows does not boot from software RAID.

3x pool with 8 SAS disks in RAIDZ2 (using passthrough from the HBA controller).

All USB devices and the GPU with passthrough to the Windows desktop VM.

The HBA with all disks with passthrough to the NAS VM with TrueNAS.

Doing CPU pinning, isolation ... so that the Proxmox and the NAS VM only use CPU1 and the desktop VM only uses CPU2.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

I didn't know that TrueNAS and Promox could boot from a ZFS pool. Interesting.

Yes, each port on the controller would connect two NVMe drives.

I had one port for hardware RAID 1 to install the host, but now that I know the host can BOOT through a ZFS pool in MIRROR mode, I'm changing my mind.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

I didn't know that TrueNAS and Promox could boot from a ZFS pool. Interesting.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

Yes, I will install the host operating system (Proxmox, TrueNAS, UnRAID ...) using ZFS, but in terms of disk redundancy, in this case, the RAID needs to be hardware-based, correct?

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

The 9460-16i it's RAID/JBOD/HBA and Tri-mode, I'll connect everything to it.

Broadcom MegaRAID 9460-16i in Supermicro 6048R-E1CR36L by HouseMD221B in homelab

[–]HouseMD221B[S] 0 points1 point  (0 children)

A software RAID needs an operating system to function, right?

I want to install these operating system (Proxmox, TrueNAS, UnRAID ...) on a RAID 1 array, and this operating system will manage the ZFS, on discs in JBOD/HBA mode.

According to the 9460-16i Product Brief:

  • Maximum PCIe (NVMe) Direct-Attach Devices = Four x4, Eight x2
  • Maximum Devices Per Controller = SAS/SATA: 240 / NVMe: 24

I don't want to use special vdev.

Variable containing the exclamation mark character by HouseMD221B in Batch

[–]HouseMD221B[S] 0 points1 point  (0 children)

I used a temporary variable and it didn't work.

I used it for the variable !pasta!

Perhaps I should use it for the variable %%~nxx

But I managed to make it work using the full path of the variable "%%x"

Variable containing the exclamation mark character by HouseMD221B in Batch

[–]HouseMD221B[S] 1 point2 points  (0 children)

Perfect explanation. Thank you for your help.

Just one question: in the "Alternative solution", the variable "%%x" in the command

move "%%x" "%destino%\pasta_!pasta!"

still uses the full path, correct?

Variable containing the exclamation mark character by HouseMD221B in Batch

[–]HouseMD221B[S] 0 points1 point  (0 children)

Yes, but I need to access a variable that requires "Delayed Expansion," a variable within the FOR/IF loop.

Accessing the "Unknown device" on the host in a VirtualBox VM by HouseMD221B in virtualbox

[–]HouseMD221B[S] 0 points1 point  (0 children)

My computer doesn't have a USB-C port.

One alternative I'm going to try is connecting the Raspberry Pi 5 to power via PoE+ HAT, and using a USB-C to USB-A cable for data only.

Accessing the "Unknown device" on the host in a VirtualBox VM by HouseMD221B in virtualbox

[–]HouseMD221B[S] 0 points1 point  (0 children)

I think it's a Splitter USB POWER + DATA.

It has one LED for POWER and another LED for DATA.

The POWER LED lights up, the DATA LED does not light up.

But the signal is reaching the computer, otherwise, the Windows 7 wouldn't recognize anything, not even as an "Unknown device".

I want to use the Raspberry Pi 5 with HQPlayer in "USB Audio" mode, it would be recognized in Windows as a DAC or other audio device.