diff options
-rw-r--r-- | _posts/2019-2-27-Fibrechannel-Linux.md | 6 | ||||
-rw-r--r-- | images/fcsan_config.png | bin | 0 -> 57676 bytes |
2 files changed, 5 insertions, 1 deletions
diff --git a/_posts/2019-2-27-Fibrechannel-Linux.md b/_posts/2019-2-27-Fibrechannel-Linux.md index 0caedeb..ef764a6 100644 --- a/_posts/2019-2-27-Fibrechannel-Linux.md +++ b/_posts/2019-2-27-Fibrechannel-Linux.md @@ -25,6 +25,10 @@ As a last step, we need to configure the target. To enter the configuration util First we need to set up a backstore by either choosing a block device or using an image file on disk as our storage. Run `cd backstores` and then change into the subdir you want (eg `cd fileio`). Then run `create <name> <path> [size]`. This creates our backstore wich we then need to target. Go to `/qla2xxx` and `create <WWN>`. Next we need to specify a lun (targetted backstore) by `cd <WWN>/luns` and then `create /backstores/<path to backstore>`. Finally we need to allow access by creating an access control entry by `cd /qla2xxx/<WWN>/acls` and then `create <initiator wwn> <lun>`. -After a reboot of the initiator machine, the device should show up as a blockdevice with `lsblk` and should behace like any other blockdevice. +After a reboot of the initiator machine, the device should show up as a blockdevice with `lsblk` and should behave like any other blockdevice. To permanently save your config go to `/` and type `saveconfig`. + +Your config could look something like this: + +![Config]({{ site.baseurl }}/images/fcsan_config.png) diff --git a/images/fcsan_config.png b/images/fcsan_config.png Binary files differnew file mode 100644 index 0000000..0da2843 --- /dev/null +++ b/images/fcsan_config.png |