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?
Thanks in advance for your help.
And please go easy on me.
Wich ISCSI package used?
Re: Wich ISCSI package used?
The tool that I have used to discover targets and login to then has been '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.
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
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.
Re: Wich ISCSI package used?
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
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