ansitest/proxmox/zpool-add-to-proxmox-gui.sh

11 lines
263 B
Bash
Raw Normal View History

2024-02-18 09:53:23 -07:00
#!/bin/bash
2024-02-18 09:55:34 -07:00
# this is for when the zfs pool was created / imported commandline and GUI does not detect it
2024-02-18 09:53:23 -07:00
2024-02-18 09:55:34 -07:00
# xxx TODO EDITME or use $1 / $2
pvesm add zfspool zfs2nvme -pool znvme
2024-02-18 09:53:23 -07:00
2024-02-18 09:55:34 -07:00
# zfs2nvme = proxmox name you want displayed in gui
2024-02-18 09:53:23 -07:00
# znvme = actual zpool name
2024-02-18 09:55:34 -07:00