Adding drives to Proxmox
I'm building out a homelab, and I'd physically added two 10TB drives to my Proxmox server, but I wasn't sure how to logically add them as a mirrored drive to Proxmox.
- From the web-gui, choose Server View from the top-left, then expand Datacenter, and select the host name
- Select "Disks"
- If the disk has already been formatted with partitions, select Wipe Disk
- Next, select Initialize Disk with GPT, and get an error:
- Possible ways to fix - in Shell - DON'T NAVIGATE AWAY[1]
wipefs -af /dev/sd#
- The issue continues even though the command succeeded
- Use Parted - Worked!
apt update && apt dist-upgrade
[2]apt install parted
parted /dev/sd#
mklabel gpt
unit TB
mkpart primary 0.00TB 10.00TB
print
- This just shows the results
- Or you can just skip straight to shell and create the zpool in Shell
zpool create (Pool name) (mirror/Raid10/etc.) /dev/sd1 /dev/sd2 /dev/sdetc.
- Or you can go to ZFS and just add it straight through there...