Jump toUpdate content
How to mount an RPN SAN volume on Proxmox
Log in to your server as
/etc/network/interfacesfile, and replace the lines mentioning
eth1by these ones:
iface eth1 inet dhcpTip:
The interface may be named differently depending on your configuration. You can identify the RPN interface by running
ifconfigwhich allows you to check the MAC address of the interface which is available in your Dedibox console.
Reboot your Proxmox server to complete the RPN configuration.
Proxmox requires the Open-iSCSI software to support mounting of iSCSI volumes. It may not be installed by default in your system.
Log in to your server as root using SSH.
open-iscsiusing the APT package manager.
apt install open-iscsi
Open the file
/etc/iscsi/iscsid.confin a text editor, for example
- Adjust the following configuration directives:
node.conn.timeo.noop_out_interval = 0
node.conn.timeo.noop_out_timeout = 0
node.session.timeo.replacement_timeout = 86400
The purpose of this change is to prevent your file system from becoming read-only if the link is interrupted for more than two minutes (by default) between your server and the storage server, which can happen during maintenance periods.
- Configure the setting for automatic reconnection of targets:
node.startup = automatic
- Change the following settings to take advantage of the data integrity check, if available:
node.conn.iscsi.HeaderDigest = CRC32C,None
node.conn.iscsi.DataDigest = CRC32C,None
- Then save your configuration and quit the text editor.
Reboot your server.
In the Server View, click Datacenter, then Storage.
Click Add and then iSCSI Target. Fill in the form:
- ID: any identifier used to name this RPN SAN volume
- Portal: the server on which your space is available (ex: san-1.rpn.online.net)
- Target: click on the small arrow, and the list of available targets will be displayed (if it is not the case, no need to go further, there is a problem)
- Nodes: the nodes that can access this target
- Enable: check the box
- Use LUNs directly: do not check if you want to create a LVM Group above (recommended, see next step). Check if you want to use the LUN directly
- Shared: Leave the default option
- Add the LVM Group (Optional) This step only applies if you want to create a LVM Group to store VM images.
Click Add and then LVM or LVM-Thin. Fill in the form:
- ID: any identifier to name this LVM Group
- Base Storage: click on the small arrow, and select the previously mounted storage space
- Base Volume: click on the small arrow, and select the line that appears
- Volume Group an identifier of your choice to name the volume group in the system
- Nodes the nodes that will be able to access this space
- Enable check the box
Your RPN SAN is available for use.