sudo apt install targetcli-fb -y # Debian-based sudo dnf install targetcli -y # RHEL-based List available disks:
sudo apt update && sudo apt upgrade -y # If CakeOS is Debian-based sudo dnf update -y # If CakeOS is RHEL-based Now your CakeOS 18 is ready to become an iSCSI target. The keyword iscsi cake 18 install primarily refers to setting up the target side. We’ll use targetcli , the standard Linux userspace tool for managing iSCSI targets. Step 2.1: Install targetcli For most CakeOS 18 variants: iscsi cake 18 install
lsblk Assume /dev/sdb is our 100GB disk to share. Launch targetcli: sudo apt install targetcli-fb -y # Debian-based sudo
saveconfig exit sudo firewall-cmd --add-port=3260/tcp --permanent sudo firewall-cmd --reload sudo systemctl enable target --now Your iSCSI target on CakeOS 18 is now live! Part 3: Installing iSCSI Initiator on Client (Another CakeOS 18 or any Linux) The iscsi cake 18 install is incomplete without a working initiator. Let’s set up a client machine. Step 3.1: Install Initiator Packages sudo apt install open-iscsi -y # Debian-based sudo dnf install iscsi-initiator-utils -y # RHEL-based Step 3.2: Set Initiator Name Edit /etc/iscsi/initiatorname.iscsi : Step 2
But what exactly is "CakeOS 18"? While not a mainstream Linux distribution like Ubuntu or Fedora, CakeOS 18 often appears in niche communities as a customized, minimal-build Linux variant (sometimes based on CentOS 8 or Debian 18 “Buster”). It is favored for its small footprint, stability, and suitability for storage appliances.
sudo systemctl enable target For the initiator, enable automatic login:
InitiatorName=iqn.1994-05.com.redhat:client1 sudo iscsiadm -m discovery -t sendtargets -p 192.168.1.10 sudo iscsiadm -m node --login Verify connection: