Questions tagged [open-iscsi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
163 views

How a failover in Active/Passive SAN multipath should be properly handled on Linux multipath system?

I try to create a multipath configuration with SAN HPE EVA 6350 (2xHSV340 controllers with iSCSI mezzanines and FC/iSCSI multiplexers) and Linux debian 12 systems over iSCSI. Vdisks created on EVA ...
olegkrutov's user avatar
5 votes
1 answer
412 views

How to use targetcli to disable iSCSI write cache

I have exported a single disk as an iSCSI target using targetcli on a Linux host. On a remote machine I have connected to the device, and placed a ZFS volume on it (as a replication target with zrepl)...
Malvineous's user avatar
  • 1,145
0 votes
0 answers
201 views

iscsiadm doesn't run under root/sudo

When attempting to discover iscsi targets using the following command, I get (as expected not running with sudo) the following: iscsiadm -m discovery -t st -p 192.168.1.199 Result: iscsiadm: Could ...
J1raya's user avatar
  • 101
2 votes
0 answers
1k views

Steps to succesfully persistent iSCSI LUN using Open-iSCSI on Ubuntu Server?

Using Ubuntu Linux Server 22.04 minimal edition without GUI, I need some help in mounting the iSCSI LUN using Open-iSCSI so it is mapped to /dev/sdb with the below command: Could you please let me ...
Senior Systems Engineer's user avatar
1 vote
1 answer
766 views

iscsid broken mount after recovery

I am playing with Open-iSCSI and came across some troubles. When the network link between my initiator and the target fails, iscsid will recover the connection, which is good. But my mount is broken ...
dna's user avatar
  • 111
2 votes
1 answer
7k views

Proxmox VE: add a LVM storage on top of iSCSI: how to find "base" value for pvesm

I'm using Proxmox VE platform, version 6 or 7, and I'm currently documenting the initial setup with the idea of automating it later. So I'm looking for all command line commands to do all that I must ...
daks's user avatar
  • 673
2 votes
1 answer
396 views

ext4 errors with dm-crypt / LUKS on top of an iSCSI device

I have two oldish "NAS" devices, specifically Buffalo TeraStation Rackmount iSCSI ("TS-RIXL/R5"). Those are basically embedded computers running Linux with four SATA slots and two ...
ftc's user avatar
  • 91
0 votes
1 answer
348 views

Boot diskless client from iscsi target

I have a Ubuntu server 20.04 setup to run the service as an iscsi target. I've accessed and mounted the target from a client (running Debian) and installed a Debian on the mounted block/device. Making ...
palias's user avatar
  • 1
6 votes
3 answers
2k views

TRIM/UNMAP Zvol over iSCSI

I am currently setting up a SAN for diskless boot. My backend consists of ZFS-Vol shared via iSCSI. So far everything is working just fine except for TRIM/UNMAP. For test puposes I setup two VMs ...
CodyMouse's user avatar
1 vote
0 answers
371 views

iscsiadm deletes configured CHAP credentials; how to prevent this?

I have a home lab set up with libvirtd and iSCSI. I have most issues worked out/around but there's one issue that still puzzles me. I can't find an answer on Google or serverfault.com. Often when ...
Adam J Richardson's user avatar
6 votes
1 answer
1k views

Debian Buster: How to start ZFS after open-iscsi in systemd

I have Debian 10 (Buster) installed and have added ZFS from Backports. I have 4 iSCSI-LUNs that I use as disks for ZFS. Each LUN holds a separate zpool. So far the ZFS setup works. But the system is ...
Christian Rößner's user avatar
2 votes
1 answer
11k views

Start open-iscsi at startup (systemd)

I'm on debian 8, I have no a lot of knowledge on linux and the last time I used it it was a while again. (when systemd didn't exist). When I do manually start the open-iscsi service the iSCSI drive ...
0xCDCDCDCD's user avatar
9 votes
3 answers
857 views

Why has open-iscsi two times slower writes than Samba via 10G Ethernet?

On my local file server I have raid-6 on 7x HDD drives. dd if=/dev/zero of=tempfile bs=1M count=2048 conv=fdatasync Local speed test gives me 349 MB/s write speed. Remote writes to Samba from SSD (...
BarsMonster's user avatar
2 votes
1 answer
104 views

Is live migration causing data corruption?

We have two virtual hosts (Xen 4.9) and live migrate guests between them. The storage of the guests is accessible via iSCSI. That is, a guest running on host A has its storage presented as a straight ...
Theo Lassonder's user avatar
1 vote
0 answers
773 views

iSCSI initiator APIs

Situation: Writing an automatic file sorter to search for files in iSCSI connected disks. My program will be sitting on a client machine (iSCSI initiator), connected to a server (iSCSI target). ...
Timothy Wong's user avatar
1 vote
0 answers
190 views

Synology iSCSI not mounting after repair

We have a Synology NAS device which provides iSCSI services to a large disk array. We had a couple of drives replaced and it took long for the "Repairing..." to finish and now our Ubuntu 10.04.4 LTS ...
rwfitzy's user avatar
  • 233
1 vote
1 answer
105 views

iscsi add a new storage machine to the san network and configure as one large disk

I have looked around so much but still couldn't find a practical working answer/example about adding a new storage machine to the iscsi san network and instead increase storage capacity. What I have ...
Dennisrec's user avatar
  • 121
0 votes
5 answers
8k views

CentOS7 Targetcli Configuration lost after server reboot

Targetcli configuration got lost after server was rebooted, i tried to restore configuration from backup files with targetcli restoreconfig <backupFile> configuration is not restored output ...
ahmedjaad's user avatar
  • 137
0 votes
1 answer
1k views

How to add LVM logical volume data domain with iSCSI as storage type on oVirt?

I am trying to add a storage domain on oVirt with iSCSI as storage type, first i need to know whether i am doing this correctly.My understanding is there must be a storage server (target) and ...
ahmedjaad's user avatar
  • 137
2 votes
1 answer
752 views

low network performance between Citrix XenServer and Linux iSCSI storage

I have two SuperMicro servers directly connected (no switch) by two 10 GBit Intel X540-T2 NIC. One server runs Citrix XenServer 6.2, the other runs Debian 7. I then installed open-iscsi and ...
nn4l's user avatar
  • 1,336
4 votes
2 answers
3k views

Mounting iSCSI targets from 2 different iSCSI target servers on Ubuntu

I have two iSCSI target servers. The iSCSI Initiator is an Ubuntu host (Ubuntu 14.04). I am using Ubuntu's open-iscsi to mount the iSCSI targets from both iSCSI targets servers to my Initiator. The ...
SQA777's user avatar
  • 161
0 votes
1 answer
545 views

How to configure iscsi targets so they are on dedicated ports?

I have two hosts. One is the iSCSI initiator. The other is the iSCSI target. They are both running Ubuntu 16.04 LTS and both are using open-iscsi. Specifically, the target host (let's call it "...
SQA777's user avatar
  • 161
0 votes
1 answer
1k views

RHEL: iscsiadm is not able to login in any port except 3260

Discovery is successful: [root@ncdqd0110 iqn.11351.com.xxx:AAA]# iscsiadm -m discoverydb -t sendtargets -p 127.0.0.1:54541 --discover 127.0.0.1:54541,-1 iqn.2495.com.xxx:AAA Login is failing: [...
sss's user avatar
  • 1
1 vote
0 answers
188 views

ietd - spamming logs ietd: unable to connect (Connection refused) 2

I have a fileserver (debian wheezy, 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux) set up with open-iscsi, o2cb, ocfs2. 3 connected clients and the fileserver itself are working great, ...
Yenky's user avatar
  • 11
0 votes
1 answer
315 views

Can I Migrate An iSCSI Initiator Name To Another Server?

I am working on upgrading a virtual appliance in a datacenter and the upgrade process is a drop-in replacement of an update VM, but also a different disto (Debian -> CentOS). I am stuck waiting on an ...
TheGrandPackard's user avatar
1 vote
1 answer
3k views

Log in to a single LUN of a target with iscsiadm (open-iscsi)?

Is it possible to connect to only a single LUN of an iscsi target when using iscsiadm? I have a target like "iqn.0000-00.iscsi.foo:bar" this target has 1000 LUN's. If I do iscsiadm -m node -l -T iqn....
CR.'s user avatar
  • 216
3 votes
1 answer
2k views

Correctly mounting SAN volumes at boot time

I have a system running Debian Wheezy (7.8) that connects to a storage volume exported via iSCSI using the open-iscsi (version 2.0) software initiator. The iSCSI initiator correctly reconnects the ...
Jules's user avatar
  • 239
1 vote
0 answers
689 views

VMWare ESXi and iSCSI via FreeNAS

I've recently been setting up a sandbox ESXi environment with a VM running FreeNAS providing a volume which is connected as a datastore on the host via iSCSI. I've created a VM on this datastore and ...
dunks's user avatar
  • 11
2 votes
2 answers
1k views

iSCSI to NetApp FAS: high latency for write load

Problem A Linux iSCSI initiator is seeing high service times when writing to a NetApp FAS target exposing a bunch of LUNs. Where to look for the cause and how to resolve this? Reproduction I am ...
the-wabbit's user avatar
10 votes
1 answer
7k views

Poor iSCSI performance with SSD disks and 10 Gbe network

iSCSI Target Ubuntu 14.04 (Trusty Tahr) with 16 GB RAM and 16 core CPU as LVM backed iSCSI target using three Samsung SSD disks, each capable of doing 65k IOPS using an LSI 6 Gbit/s ...
Kevin Parker's user avatar
-1 votes
1 answer
701 views

MySQL on iscsi drive CentOS7 wont start on boot

I configured Mariadb on CentOS 7 to run on iscsi drive mounted on /mnt/iscsi, but it wont start on boot with following error (it can be started manually): mariadb.service - MariaDB database server ...
Hikaru's user avatar
  • 73
2 votes
1 answer
4k views

iSCSI enterprise target and client both on debian give invalid iniatorname error

I have two Debian Wheezy machines and am trying to set up storage for one of them on the other's disk using iSCSI (they do not have synchronized users, so NFS won't work for this application). I have ...
Jules's user avatar
  • 239
0 votes
1 answer
461 views

Live migration: is it possible to store image disks on a single iscsi target?

From redhat documentation: A guest virtual machine installed on shared storage using one of the following protocols: Fibre Channel-based LUNs iSCSI FCoE NFS SCSI RDMA protocols (SCSI RCP): the ...
user2358943's user avatar
1 vote
1 answer
2k views

VM iscsi disk crashes on one VM Host, not on the other

I have a VmWare solution running on a HP bladesystem with a Lefthand ISCSI san. There are currently two VmWare hosts in that environment. I have two Debian VM's sharing an ISCSI disk (with ocfs2), ...
Berzemus's user avatar
  • 1,192
0 votes
1 answer
2k views

Cannot see available disk space in LVM

I have iSCSI disks connected to my server. i want to resize their capacity. It has LVM on the disk. when i resize the disk in equallogic SAN, i gave it 700GB. and when it check its disk space by fdisk ...
Farhan's user avatar
  • 4,309
1 vote
1 answer
3k views

iscsi concurrent access / iscsi volume shared access on NAS

I having a 7-bay NAS box with Raid-5 (5.3TB usable) with netgear gigabit Ethernet switch to connect the hosts (3 windows7 machine Specs: i7 / 16GB RAM / 1TB HDD / gigabit Ethernet NIC). (All of the ...
yral's user avatar
  • 13
-4 votes
1 answer
2k views

how to configure ISCSI fault tolerance in ubuntu 12.04 [closed]

how to configure ISCSI fault tolerance in ubuntu 12.04 Anyone has a tutorial or steps to?! thanks in advance knowing that initiator and server are ubuntu
Maythux's user avatar
  • 101
3 votes
1 answer
8k views

CentOS Client - Unable to Establish iSCSI connection with multiple interfaces on the initiator

So after upgrading to CentOS 6.2, I am seemingly no longer able to login into my iSCSI targets. I have multiple interfaces on different subnets on the system, and I first thought that it had to do ...
slashdot's user avatar
  • 651