ISCSI-GEN-INITIATORNAME(8)

okay bestie, this is the ISCSI_GEN...TIATORNAME(8) page from the Linux Administrator's Manual β€” welcome to the group chat about iscsi-gen-initiatorname ✨.

πŸŽ€ NAME πŸŽ€

iscsi-gen-initiatorname β€” smart iSCSI initiator name generation tool πŸ’…

✨ SYNOPSIS ✨

iscsi-gen-initiatorname [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so iscsi-gen-initiatorname generates an iSCSI Initiator Name in the initiatorname.iscsi file. It is an error to try to overwrite an existing Initiator Name, unless the -f (force) option is supplied. no cap, do not just stomp on it πŸ™ˆ.

The Initiator Name will be taken from the kernel command line, if present (from the rd.initiatorname parameter), else from the iBFT subsystem (if present in sysfs), else it will be generated using the iscsi-iname command. it is literally giving priority order, bestie ✨.

It is an error if both the kernel command-line Initiator Name and the iBFT Initiator Name are both set, and they are different. it is also an error to try to write over an Initiator Name file if it's read-only, or to create one if its directory is not writable. so yeah, permissions matter, periodt πŸ’….

You must be root to run this command. πŸ‘‘

πŸ’… OPTIONS πŸ’…

  • [-h] β€” display a help message and exit. so helpful 🫢
  • [-f] β€” force overwrite of an existing initiator name, if present. use with intent, bestie πŸ”₯
  • [-p]IQN-PREFIX β€” use IQN-PREFIX as the prefix to the IQN generated, instead of the default of iqn.2016-04.com.open-iscsi. cute custom prefix moment πŸŽ€

πŸ“ FILES πŸ“

  • /etc/iscsi/initiatorname.iscsi β€” the file containing the initiator name. Do not edit manually. seriously, hands off πŸ™ˆ

🌈 SEE ALSO 🌈

iscsi-iname(8) β€” go check it out, bestie πŸ‘‘

πŸ’œ AUTHORS πŸ’œ


mwah πŸ’‹ this page is dated APR 2022, and it's from the Linux Administrator's Manual β€” the ISCSI_GEN...TIATORNAME(8) page, signed off with love 🫢