[pve-devel] [PATCH storage] fix #5071: zfs over iscsi: iet, lio: use /dev/zvol as a base path if it exists
Fiona Ebner
f.ebner at proxmox.com
Tue May 27 13:59:15 CEST 2025
Am 27.05.25 um 12:59 schrieb Fiona Ebner:
> sub get_base {
> - return '/dev';
> + if (!$base_dir) {
> + $base_dir = -e '/dev/zvol' ? '/dev/zvol' : '/dev';
> + }
> + return $base_dir;
> }
>
Of course, this is completely wrong, because the path would need to be
checked on the remote system. I'll also go for the cleaner approach with
using a storage configuration property while at it.
More information about the pve-devel
mailing list