This repository provides a Proxmox (PVE) storage plugin for QuantaStor, enabling integration of QuantaStor-managed ZFS over ISCSI storage into your Proxmox environment.
- Integrates QuantaStor storage pools with Proxmox VE
- Detects current PVE version and installs correct packages
- Simple installation and rollback
- Safe backup/restore of original Proxmox files
- Proxmox VE 8.4 or later
- Bash shell
- Root privileges for installation
- Install
patchscripting dependency (not included by default on ProxmoxVE ISO)# NOTE: `--fullcopy` option can still be used if patch is not installed. sudo apt update sudo apt install patch -y
-
Clone this repository (or download the plugin source):
git clone <repo-url> cd pve-quantastor-plugin
-
Run the installer script:
The installer will:
-
Copy plugin files to the correct Proxmox directories
-
On first run, back up original files (except the new QuantaStor plugin file)
-
Optionally print checksums before/after install
-
Optionally rollback to backup files or reverse patches.
-
'install' or 'fullcopy' option must be included to perform installation
sudo ./install-qs-pve.sh --install
- Perform a full copy install (overwrite all files). Default install mode is patching:
sudo ./install-qs-pve.sh --fullcopy
- Note: checksums might not match when installing in patch mode due to minor differences. This option is mainly for developement using the 'fullcopy' install.
- To verify file integrity before/after install:
sudo ./install-qs-pve.sh --checksum
- To restore original files (rollback):
sudo ./install-qs-pve.sh --rollback
- To reverse plugin patches (reversepatch):
sudo ./install-qs-pve.sh --reversepatch
- Reload services to use new source scripts:
sudo service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart
-
- Runnning script with no args will print usage.
- On first run, the script creates backups of all target files (except the new plugin file) in
/var/tmp/pve-quantastor-backup. - The
--installoption executes patch based install. - The
--fullcopyoption overwrites full source files. - The
--reversepatchoption reverses plugin patch files. - The
--rollbackoption restores these files, undoing any changes made by the plugin. - The plugin file
Storage/LunCmd/QuantaStorPlugin.pmis only added, never backed up or rolled back.
- Perl plugin files:
/usr/share/perl5/PVE/Storage/ - JavaScript files:
/usr/share/pve-manager/js/ - API doc files:
/usr/share/pve-docs/api-viewer/
To update the plugin, simply re-run the installer script with the new version of the source files.
To remove the plugin and restore the original Proxmox files, run:
sudo ./install-qs-pve.sh --rollback- Ensure you have root privileges (
sudo) when running the script. - If you encounter issues, check the backup directory at
/var/tmp/pve-quantastor-backup.
See LICENSE file for details.