Mark Mosher

A Synthesist Performing Original Electronic Music & Multimedia Concerts in Colorado and Beyond

Iscsi Cake 18 Install Info

sudo apt install targetcli-fb -y # Debian-based sudo dnf install targetcli -y # RHEL-based List available disks:

sudo systemctl enable target For the initiator, enable automatic login:

lsblk Assume /dev/sdb is our 100GB disk to share. Launch targetcli: iscsi cake 18 install

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:

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 : sudo apt install targetcli-fb -y # Debian-based sudo

sudo vi /etc/iscsi/initiatorname.iscsi Make it match the ACL you created earlier:

Introduction In the world of enterprise storage networking, iSCSI (Internet Small Computer System Interface) remains a cornerstone technology. It allows you to transport SCSI commands over TCP/IP networks, effectively turning remote disk storage into local block devices. When you pair iSCSI with a robust, lightweight operating system like CakeOS 18 , you get a powerful, cost-effective Storage Area Network (SAN) solution. Let’s set up a client machine

lsblk You should see a new disk (e.g., /dev/sdc ). sudo mkfs.ext4 /dev/sdc sudo mkdir /mnt/iscsi-storage sudo mount /dev/sdc /mnt/iscsi-storage To make it persistent, add to /etc/fstab using the UUID or _netdev option. Part 4: Advanced Configuration – CakeOS 18 as a Secure iSCSI SAN For production environments, a basic install isn’t enough. Here are advanced tweaks for your iscsi cake 18 install : 4.1 CHAP Authentication (Two-Way) On target, enable mutual CHAP:

Discover more from Mark Mosher

Subscribe now to keep reading and get access to the full archive.

Continue reading