You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# FreeNAS ZFS over iSCSI interface [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TCLNEMBUYQUXN&source=url)
2
-
3
-
## Thank you for all that have donated to the project
1
+
# TrueNAS ZFS over iSCSI interface [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TCLNEMBUYQUXN&source=url)
2
+
3
+
### Updates 2023-02-12<br/> - Added `systemctl restart pvescheduler.service` command to the package.
4
+
#### Roadmap
5
+
* Fix automated builds.
6
+
* Production - 'main' repo component.
7
+
* Package the patches with the deb package.
8
+
* Remove the need for the git dependency.
9
+
* Change to LWP::UserAgent
10
+
* Remove depenancy of the REST::Client because LWP::UserAgent is already installed and used by Proxmox VE.
11
+
* Change from FreeNAS to TrueNAS.
12
+
* Cleanup the FreeNAS repo and name everything to TrueNAS to be inline with the product.
13
+
* Add API key for direct TrueNAS services.
14
+
* Will be a new enable field and API key and will only be used by the plugin.
15
+
* You will still need the SSH keys, username, and password because of Proxmox VE using `iscsiadm` to get the list of disks.
16
+
* This is tricky because the format needs to be that of the output of 'zfs list' which is not part of the LunCmd but that of the backend Proxmox VE system and the API's do a bunch of JSON stuff.
17
+
18
+
## Thank you for all that have recently donated to the project - Updated 2022-06-04
19
+
Alexander Finkhäuser - Recurring
20
+
Bjarte Kvamme - Recurring
21
+
Jonathan Schober - Recurring
22
+
Frederic Silvi
23
+
Security Camera
24
+
Vincent Cui
25
+
Jakub Jochec
26
+
27
+
Mark Komarinski
28
+
Jesse Bryan
29
+
Maksym Vasylenko
30
+
Daniel Most
31
+
Velocity Host
32
+
Robert Hancock
4
33
Clevvi Technology
5
-
Mark Elkins - Reoccuring
34
+
Mark Elkins
6
35
Marc Hodler
7
36
Martin Gonzalez
8
37
38
+
### 'main' repo (Follows a release branch - Current 2.x) Currently unavailable.
39
+
Will be production ready code that has been tested (as best as possible) from the 'testing' repo.
9
40
10
-
I have created a debian repo that holds a package to install scripts into the Proxmox VE system that will automatically do all the necessary patching when one or any combo of the following files are changed in the Proxmox VE stream:
11
-
```
12
-
/usr/share/pve-manager/js/pvemanagerlib.js <- From package pve-manager
13
-
/usr/share/pve-docs/api-viewer/apidoc.js <- From package pve-docs
14
-
/usr/share/perl5/PVE/Storage/ZFSPlugin.pm <- From package libpve-storage-perl
15
-
```
16
-
It will also install the /usr/share/perl5/PVE/Storage/LunCmd/FreeNAS.pm (The FreeNAS API plugin), git and librest-client-perl
41
+
### 'testing' repo (Follows the master branch)
42
+
Will be 'beta' code for features, bugs, and updates.
17
43
18
-
If you wish, you may remove the directory 'freenas-proxmox' where your system is currently
19
-
housing the repo and then issue the following to have a clean system before installing the
### I will be using a 'testing' repo to develop the new phase of the Proxmox VE FreeNAS plugin.
39
-
#### This next phase will introduce the following...
40
-
* Auto detection of the Proxmox VE version
41
-
* Auto detection of the FreeNAS version so it will use the V1 or V2 API's or you can select it manually via the Proxmox VE FreeNAS modal
42
-
* Remove the need for SSH keys and use the API
43
-
* This is tricky because the format needs to be that of the output of'zfs list' which is not part of the LunCmd but that of the backend Proxmox VE system and the API's do a bunch of JSON stuff.
44
-
45
-
#### If you'd like, you may also issue the following commands now or later to use the 'testing' repo.
46
-
#### Just comment the 'stable' line and uncomment the 'testing' line in
47
-
#### /etc/apt/sources.list.d/ksatechnologies-repo.list to use. 'testing' is disabled be default.
echo"# deb http://repo.ksatechnologies.com/debian/pve testing freenas-proxmox">> /etc/apt/sources.list.d/ksatechnologies-repo.list
53
+
apt update
54
+
apt install freenas-proxmox
51
55
```
52
56
53
-
Then issue the following to install the package
57
+
Before freenas-proxmox-2.2.0-0-beta8 please issue the following:
54
58
```
55
-
apt update
56
-
apt install freenas-proxmox
59
+
systemctl restart pvescheduler.service
57
60
```
61
+
due to this post https://github.com/TheGrandWazoo/freenas-proxmox/issues/109#issuecomment-1367527917
58
62
59
-
Then just do your regular upgrade via apt to your system; the package will automatically
60
-
issue all commands to patch the files.
63
+
Then just do your regular upgrade via apt at the command line or the Proxmox Update subsystem; the package will automatically issue all commands to patch the files.
61
64
```bash
62
65
apt update
63
66
apt [full|dist]-upgrade
@@ -67,16 +70,16 @@ If you wish not to use the package you may remove it at anytime with
67
70
```
68
71
apt [remove|purge] freenas-proxmox
69
72
```
70
-
This will place you back to a normal and unpatched Proxmox VE install.
73
+
This will place you back to a normal and non-patched Proxmox VE install.
71
74
72
-
Please be aware that this plugin uses the FreeNAS APIs and NOT the ssh/scp interface like the other plugins use, but...
75
+
#### NOTE: Please be aware that this plugin uses the TrueNAS APIs but still uses SSH keys due to the underlying Proxmox VE perl modules that use the ```iscsiadm``` command.
73
76
74
-
You will still need to configure the SSH connector for listing the ZFS Pools because this is currently being done in a Proxmox module (ZFSPoolPlugin.pm). To configure this please follow the steps at https://pve.proxmox.com/wiki/Storage:_ZFS_over_iSCSI that have to do with SSH between Proxmox VE and FreeNAS. The code segment should start out `mkdir /etc/pve/priv/zfs`.
77
+
You will still need to configure the SSH connector for listing the ZFS Pools because this is currently being done in a Proxmox module (ZFSPoolPlugin.pm). To configure this please follow the steps at https://pve.proxmox.com/wiki/Storage:_ZFS_over_iSCSI that have to do with SSH between Proxmox VE and TrueNAS. The code segment should start out `mkdir /etc/pve/priv/zfs`.
75
78
76
79
1. Remember to follow the instructions mentioned above for the SSH keys.
77
80
78
-
1. Refresh the Proxmox GUI in your browser to load the new Javascript code.
81
+
2. Refresh the Proxmox GUI in your browser to load the new Javascript code.
79
82
80
-
1. Add your new FreeNAS ZFS-over-iSCSI storage using the FreeNAS-API.
83
+
3. Add your new TrueNAS ZFS-over-iSCSI storage using the TrueNAS-API.
0 commit comments