Wich ISCSI package used?

Issues related to applications and software problems
Post Reply
maxx_sys
Posts: 1
Joined: 2022/06/03 19:21:33

Wich ISCSI package used?

Post by maxx_sys » 2022/06/03 19:37:37

Hi everyone!

I have a storage server with CentOS 7. And the iSCSi targets are already set there by the previous sysadmin.
I'm actually new to Linux and I need to understand what package is being used and how to backup the config so I can restore it in the future if needed. where to begin? :roll:

Thanks in advance for your help.
And please go easy on me.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Wich ISCSI package used?

Post by jlehtone » 2022/06/06 11:30:18

The tool that I have used to discover targets and login to then has been 'iscsiadm'.

Code: Select all

$ which iscsiadm
/sbin/iscsiadm
$ rpm -qf /sbin/iscsiadm
iscsi-initiator-utils-6.2.0.874-22.el7_9.x86_64
$ rpm -qcf /sbin/iscsiadm
/etc/iscsi/iscsid.conf
$ rpm -qlf /sbin/iscsiadm
The command is in package 'iscsi-initiator-utils'. The only file in it tagged as "config" does not have the sessions.
I did not include the output of tho last command that lists all files in the package.
Session data is probably in /var/lib/iscsi but /etc/iscsi/initiatorname.iscsi can also be important.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wich ISCSI package used?

Post by TrevorH » 2022/06/06 11:54:11

Are you _using_ iSCSI connections from another server on this one (i.e. are you mapping the storage that belongs to another machine so that it can be used by this one?) or is this server providing iSCSI storage to other servers?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply