netstack

TrueNAS Scale on virtualBox

PS C:\Windows\system32> Get-PhysicalDisk

Number FriendlyName         SerialNumber    MediaType CanPool OperationalStatus HealthStatus Usage            Size
------ ------------         ------------    --------- ------- ----------------- ------------ -----            ----
8      WDC  WDBNCE0010PNC   2017A5808811    SSD       False   OK                Healthy      Auto-Select 931.51 GB
3      ATA ST6000VN0033-2EE ZADB5XSN        HDD       False   OK                Healthy      Auto-Select   5.46 TB
11     WDC WD40EZRZ-00GXCB0 WD-WCC7K7ZHJNLJ HDD       False   OK                Healthy      Auto-Select   3.64 TB
4      ATA ST6000DX000-1H21 Z4D07ESL        HDD       False   OK                Healthy      Auto-Select   5.46 TB
1      ATA ST6000VN0033-2EE ZADB4512        HDD       False   OK                Healthy      Auto-Select   5.46 TB
7      ATA ST6000DX000-1H21 Z4D0830X        HDD       False   OK                Healthy      Auto-Select   5.46 TB
9      ST4000DM005-2DP166   ZGY0H29Y        HDD       False   OK                Healthy      Auto-Select   3.64 TB
10     ST4000DM005-2DP166   ZGY0H6BY        HDD       False   OK                Healthy      Auto-Select   3.64 TB
5      ATA ST6000DX000-1H21 Z4D0BSBQ        HDD       False   OK                Healthy      Auto-Select   5.46 TB
6      ATA ST6000DX000-1H21 Z4D0825P        HDD       False   OK                Healthy      Auto-Select   5.46 TB
2      ATA ST6000VN0033-2EE ZADB4Z76        HDD       False   OK                Healthy      Auto-Select   5.46 TB
0      ATA ST6000VN0033-2EE ZADB5FVJ        HDD       False   OK                Healthy      Auto-Select   5.46 TB
cd "$ENV:ProgramFiles\Oracle\VirtualBox"
# create a vmdk disk pointing to the target physical disk
.\VBoxManage.exe internalcommands createrawvmdk -filename "D:\VMs\SSD.vmdk" -rawdisk \\.\PhysicalDrive2

Removed all drive but primary and test zfs 4

PS C:\Windows\system32> Get-PhysicalDisk

Number FriendlyName         SerialNumber    MediaType CanPool OperationalStatus HealthStatus Usage            Size
------ ------------         ------------    --------- ------- ----------------- ------------ -----            ----
0      WDC  WDBNCE0010PNC   2017A5808811    SSD       False   OK                Healthy      Auto-Select 931.51 GB
4      ST4000DM005-2DP166   ZDH1XZRW        HDD       False   OK                Healthy      Auto-Select   3.64 TB
3      WDC WD40EZRZ-00GXCB0 WD-WCC7K7ZHJNLJ HDD       False   OK                Healthy      Auto-Select   3.64 TB
1      ST4000DM005-2DP166   ZGY0H29Y        HDD       False   OK                Healthy      Auto-Select   3.64 TB
2      ST4000DM005-2DP166   ZGY0H6BY        HDD       False   OK                Healthy      Auto-Select   3.64 TB
.\VBoxManage.exe internalcommands createrawvmdk -filename "C:\Users\ghadmin\VirtualBox VMs\catNAS\catboxD1-ZGY0H29Y.vmdk" -rawdisk \\.\PhysicalDrive1
.\VBoxManage.exe internalcommands createrawvmdk -filename "C:\Users\ghadmin\VirtualBox VMs\catNAS\catboxD2-ZGY0H6BY.vmdk" -rawdisk \\.\PhysicalDrive2
.\VBoxManage.exe internalcommands createrawvmdk -filename "C:\Users\ghadmin\VirtualBox VMs\catNAS\catboxD3-WD-WCC7K7ZHJNLJ.vmdk" -rawdisk \\.\PhysicalDrive3
.\VBoxManage.exe internalcommands createrawvmdk -filename "C:\Users\ghadmin\VirtualBox VMs\catNAS\catboxD4-ZDH1XZRW.vmdk" -rawdisk \\.\PhysicalDrive4




Running a TrueNAS SCALE VM in VirtualBox

  1. Download TrueNAS SCALE Download
  2. Launch Virtualbox
  3. Create a New VM by selecting Machine > New

    Name: TrueNAS SCALE
    Machine Folder: C:\VMs
    Type: Linux
    Version: Debian (64-bit)
    Memory Size: 8192 MB
    Hard disk: Create a virtual hard disk now

  4. Click Create
  5. On the Create Virtual Hard Disk dialog

    Name the virtual disk image TrueNAS SCALE.vdi
    File size: 16 GB
    Hard disk file type: VDI
    Storage on physical hard disk: Dynamically Allocated

  6. Click Create
  7. Select the VM and Click Settings
  8. Selec System
  9. Slide the Processor(s) to 2
  10. Select Display
  11. Slide the Video Memory to 128 MB
  12. Select Storage
  13. Click on the CD-ROM drive
  14. Select the disc dropdown to the right > Choose a virtual optical disc fileā€¦
  15. Browse to and select the downloaded TrueNAS SCALE .iso file
  16. Select Network
  17. Set the attached to dropdown to Bridged Adapter
  18. Click OK
  19. Make sure the TrueNAS SCALE VM is selected and click Start > Normal
  20. At the menu, press Enter to start the TrueNAS SCALE Installation
  21. Select Install/Upgrade > OK
  22. Press the space bar to select the VBOX HARDDISK > Press Enter
  23. Select Yes to continue the installation > Press Enter
  24. Enter a root password twice > Press Enter
  25. After the installation completes select Devices > Optical Drives > Remove disk from virtual drive
  26. Click Force Unmount
  27. Press Enter to reboot the VM
  28. Once TrueNAS SCALE has finished booting, note the URL on the screen
  29. Open a web browser and navigate to the TrueNAS SCALE URL
  30. Log into the Web UI with username root and the password set during the installation
  31. Welcome to TrueNAS SCALE

](https://discord.com/invite/EzenvmSHW8)](https://i12bretro.github.io/tutorials)](https://reddit.com/r/i12bretro)](https://twitter.com/i12bretro)](https://i12bretro.wordpress.com)](https://youtube.com/c/i12bretro)](https://i12bretro.wordpress.com/tools/)](https://i12bretro.wordpress.com/author/i12bretro/feed/)