|Summary help replacing me|
|How to access an iSCSI Target with an initiator.|
With Wikipedia:iSCSI you can access storage over an IP-based network.
The exported storage entity is the target and the importing entity is the initiator.
Setup With Open-iSCSI
Even Template:Package AUR is not in the official repositories, so you need to build it from AUR.
Using the Daemon
At the server (target) you might need to include the client iqn from Template:Filename in the acl configuration.
After both steps are finished you should be able to start the initiator with Template:Cli You can see the current sessions with Template:Cli You might want to include Template:Codeline in your rc.conf#Daemons.
Using the Tools
Template:Codeline has to be running.
Delete obsolete targets
Login to available targets
Online resize of volumes
If the iscsi blockdevice contains a partitiontable, you will not be able to do an online resize. In this case you have to unmount the filesystem and alter the size of the affected partition.
- Rescan active nodes in current session Template:Cli
- If you use multipath, you also have to rescan multipath volume information. Template:Cli
- Finally resize the filesystem. Template:Cli
You can also check where the attached iSCSI devices are located in the /dev tree with Template:Codeline.
- iSCSI Boot Booting Arch Linux with / on an iSCSI target.