User Tools

Site Tools


howto:ssdpoolexpansion

๐Ÿ“„ TorresVault โ€“ SSD Pool Expansion Procedure (Mirror VDEVs) Overview

This document explains how to:

Add a new pair of SSDs to Proxmox

Passthrough each SSD directly to the TrueNAS VM

Wipe the disks clean inside TrueNAS

Add the SSDs as a new mirror vdev to the existing pool (ssd-pool)

Verify TRIM and health

This process is repeated for each new pair of SSDs until all 11 mirror vdevs are created.


๐Ÿงฉ STEP 1 โ€” Install the SSDs into pve-nas

Physically install the two new SSDs into your Proxmox host.

TrueNAS will show them as ~1.75 TiB after formatting. This is normal.


๐Ÿงฉ STEP 2 โ€” Identify the new SSDs in Proxmox

SSH or console into pve-nas:

ls -l /dev/disk/by-id/ | grep SAMSUNG

Look for the two new drives. They will look like:

ata-SAMSUNG_MZ7LM1T9HCJM-00003_S1YXXXXX12345 โ†’ ../../sdX ata-SAMSUNG_MZ7LM1T9HCJM-00003_S1YXXXXX67890 โ†’ ../../sdY

These by-id names will be used for passthrough.


๐Ÿงฉ STEP 3 โ€” Passthrough SSDs to TrueNAS VM

Assume your TrueNAS VM = 108 (If this changes, update the commands.)

Add SSD #1: qm set 108 -scsiX /dev/disk/by-id/ata-SAMSUNG_MZ7LM1T9HCJM-00003_S1YXXXXX12345 Add SSD #2: qm set 108 -scsiY /dev/disk/by-id/ata-SAMSUNG_MZ7LM1T9HCJM-00003_S1YXXXXX67890

Use increasing scsi numbers each time (scsi2, scsi3, scsi4, scsi5, etc).


๐Ÿงฉ STEP 4 โ€” Reboot TrueNAS VM (Fully)

Power off โ†’ Start, not reboot.

TrueNAS must perform a fresh device scan.


๐Ÿงฉ STEP 5 โ€” Wipe the SSDs in TrueNAS

Navigate to:

Storage โ†’ Disks

Find the two new 1.75 TiB SSDs.

For each disk:

Click โ‹ฎ (menu)

Select Wipe

Choose Quick

This removes old GPT/MBR signatures so ZFS can use them.


๐Ÿงฉ STEP 6 โ€” Add SSDs as New Mirror VDEV to ssd-pool Go to:

Storage โ†’ Pools โ†’ ssd-pool โ†’ Expand

Choose Manual Disk Selection

You will see:

2 ร— Unused Disks (1.75 TiB)

Select both disks โ†’ they will appear as a new VDEV.

Set layout: Mirror Then click: Add VDEVs

Your pool now grows by one mirror vdev.


๐Ÿงฉ STEP 7 โ€” Verify Pool Expansion

Go to:

Storage โ†’ Pools โ†’ ssd-pool โ†’ Status (or Topology)

You will see:

ssd-pool โ”œโ”€โ”€ mirror-0 (first pair) โ”œโ”€โ”€ mirror-1 (new pair) โ”œโ”€โ”€ mirror-2 โ””โ”€โ”€ โ€ฆ

Each time you add two SSDs, you get a new mirror vdev.


๐Ÿงฉ STEP 8 โ€” Enable TRIM (If Not Already On)

Go to:

Storage โ†’ Pools โ†’ ssd-pool โ†’ Edit Auto TRIM

Enable:

Auto-TRIM: On

This keeps SSD performance and lifespan optimal.


๐Ÿงฉ STEP 9 โ€” Verify SMART Health

Go to:

Storage โ†’ Disks โ†’ (select each new SSD) โ†’ S.M.A.R.T. Tests

Enable:

Short test (daily or weekly)

Long test (monthly)


๐Ÿงฉ STEP 10 โ€” Repeat for Each New Pair of SSDs

For each additional mirror:

Install SSDs

Identify by-id

qm set passthrough

Reboot TrueNAS

Wipe disks

Expand ssd-pool with new mirror vdev

Verify TRIM & SMART

Repeat until all 11 mirrors are added.

๐ŸŽ‰ End Result (11 mirror vdev pool)

Your final pool layout will be:

ssd-pool โ”œโ”€โ”€ mirror-0 โ”œโ”€โ”€ mirror-1 โ”œโ”€โ”€ mirror-2 โ”œโ”€โ”€ mirror-3 โ”œโ”€โ”€ mirror-4 โ”œโ”€โ”€ mirror-5 โ”œโ”€โ”€ mirror-6 โ”œโ”€โ”€ mirror-7 โ”œโ”€โ”€ mirror-8 โ”œโ”€โ”€ mirror-9 โ””โ”€โ”€ mirror-10

Total usable SSD space โ‰ˆ 21 TB Total raw = ~42 TB Insane read and write performance.

Monospaced Text

howto/ssdpoolexpansion.txt ยท Last modified: by 192.168.1.189

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki