Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_config_iscsi [2019/11/01 09:41] – andonovj | linux_config_iscsi [2019/11/07 00:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 44: | Line 44: | ||
====Windows==== | ====Windows==== | ||
- | In Windows server, you can create it via the wizzard: | + | In Windows server, you can create it via the wizzard |
+ | |||
+ | {{ : | ||
Line 149: | Line 151: | ||
===Login=== | ===Login=== | ||
We can login to the iSCSI target and start a session as follows: | We can login to the iSCSI target and start a session as follows: | ||
- | |||
<sxh bash> | <sxh bash> | ||
Line 158: | Line 159: | ||
You can also list the current setting for the initiator and target as follows: | You can also list the current setting for the initiator and target as follows: | ||
- | |||
<sxh bash> | <sxh bash> | ||
Line 268: | Line 268: | ||
</ | </ | ||
+ | That information is also available on: | ||
+ | / | ||
+ | |||
+ | <sxh bash> | ||
+ | [root@matar 10.200.15.30, | ||
+ | / | ||
+ | [root@matar 10.200.15.30, | ||
+ | total 4 | ||
+ | -rw------- 1 root root 2155 Nov 1 12:40 default | ||
+ | drw------- 3 root root 32 Nov 1 12:40 .. | ||
+ | drw------- 2 root root 20 Nov 1 12:40 . | ||
+ | [root@matar 10.200.15.30, | ||
+ | </ | ||
+ | |||
+ | Once the Login was successfully, | ||
+ | <sxh bash> | ||
+ | [root@matar 10.200.15.30, | ||
+ | sdf 3: | ||
+ | </ | ||
+ | |||
+ | Or you can just grep in the / | ||
+ | |||
+ | <sxh bash> | ||
+ | [root@oraback log]# grep " Attached scsi disk" / | ||
+ | Nov 6 16:49:22 oraback kernel: sd 4:0:0:0: Attached scsi disk sdf | ||
+ | [root@oraback log]# | ||
+ | </ | ||
+ | |||
+ | Then we can create the file system: | ||
+ | |||
+ | <sxh bash> | ||
+ | [root@matar 10.200.15.30, | ||
+ | [root@matar 10.200.15.30, | ||
+ | /dev/sdf: UUID=" | ||
+ | </ | ||
+ | |||
+ | Add the following to the /etc/fstab: | ||
+ | |||
+ | <sxh bash> | ||
+ | [root@matar 10.200.15.30, | ||
+ | [root@matar 10.200.15.30, | ||
+ | </ | ||
+ | |||
+ | And then we can mount the file system: | ||
+ | |||
+ | <sxh bash> | ||
+ | [root@matar 10.200.15.30, | ||
+ | [root@matar 10.200.15.30, | ||
+ | UUID=6a1c44d0-3e2f-49fc-85ba-ced3e44bb5b0 | ||
+ | </ | ||
===Logout=== | ===Logout=== | ||
Line 277: | Line 327: | ||
Logout of [sid: 16, target: iqn.1991-05.com.microsoft: | Logout of [sid: 16, target: iqn.1991-05.com.microsoft: | ||
</ | </ | ||
+ | |||
+ | |||
===Delete configuration=== | ===Delete configuration=== | ||
Line 296: | Line 348: | ||
iscsiadm: No active sessions. | iscsiadm: No active sessions. | ||
</ | </ | ||
+ | |||
+ | =====Performance===== | ||
+ | I've found that iSCSI isn't particulary fast. I've found that my environment isn't so much loaded. That can be because the clients aren't using Jumbo frames so that might be the reson. | ||
+ | |||
+ | <sxh bash> | ||
+ | [root@server Logs]# ip link show | grep mtu | ||
+ | 1: lo: < | ||
+ | 2: eno16780032: | ||
+ | 3: virbr0: < | ||
+ | 4: virbr0-nic: < | ||
+ | [root@server Logs]# ls -lart | ||
+ | </ | ||
+ | |||
+ | Here is a good article of how to speed up the performance of the iSCSI: | ||
+ | |||
+ | https:// |