How To Install netbsd-iscsi on Fedora 36

In this tutorial we learn how to install netbsd-iscsi in Fedora 36. netbsd-iscsi is User-space implementation of iSCSI target from NetBSD project

Introduction

In this tutorial we learn how to install netbsd-iscsi on Fedora 36.

What is netbsd-iscsi

NetBSD iSCSI is an iSCSI target following the iSCSI RFC 3720. It is based on the BSD-licensed Intel iSCSI reference model. It has been tried and tested with the Microsoft iSCSI initiator, version 1.06.

We can use yum or dnf to install netbsd-iscsi on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install netbsd-iscsi.

Install netbsd-iscsi on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install netbsd-iscsi using dnf by running the following command:

sudo dnf -y install netbsd-iscsi

Install netbsd-iscsi on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install netbsd-iscsi using yum by running the following command:

sudo yum -y install netbsd-iscsi

How To Uninstall netbsd-iscsi on Fedora 36

To uninstall only the netbsd-iscsi package we can use the following command:

sudo dnf remove netbsd-iscsi

netbsd-iscsi Package Contents on Fedora 36

/etc/iscsi
/etc/iscsi/targets
/etc/sysconfig/netbsd-iscsi
/usr/bin/iscsi-initiator
/usr/bin/iscsi-target
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/73d59a76c1783980f6bdfd74ec9f6035c80f6f
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/3d035cf6d6a8ab97d3fdaccbf385a2f73427ae
/usr/lib/systemd/system/netbsd-iscsi.service
/usr/share/doc/netbsd-iscsi
/usr/share/doc/netbsd-iscsi/COMPATIBILITY
/usr/share/doc/netbsd-iscsi/FAQ
/usr/share/doc/netbsd-iscsi/PERFORMANCE
/usr/share/doc/netbsd-iscsi/README
/usr/share/doc/netbsd-iscsi/README_OSD
/usr/share/doc/netbsd-iscsi/license
/usr/share/man/man5/targets.5.gz
/usr/share/man/man8/iscsi-initiator.8.gz
/usr/share/man/man8/iscsi-target.8.gz

References

Summary

In this tutorial we learn how to install netbsd-iscsi on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).