| 25 | |
| 26 | = Camera Computer = |
| 27 | * openiscsi package, ''iscsid'' should be started on boot |
| 28 | * Server node configuration |
| 29 | {{{ |
| 30 | iscsi_discovery 192.168.11.1 -t iser -f |
| 31 | iscsi_discovery 192.168.11.3 -t iser -f |
| 32 | }}} |
| 33 | * It will populate 2 extra ''/dev/sd?'' nodes |
| 34 | * Create softraid 0 for optimal performance |
| 35 | {{{ |
| 36 | mdadm --create /dev/md3 -n 2 -l 0 /dev/disk/by-path/pci-0000\:06\:00.0-ip-192.168.11.1\:3260-iscsi-iqn.ipepdvcompute1.fast-lun-1 /dev/disk/by-path/pci-0000\:06\:00.0-ip-192.168.11.3\:3260-iscsi-iqn.ipekatrinadei.fast-lun-1 |
| 37 | }}} |
| 38 | * Format it with XFS |
| 39 | {{{ |
| 40 | mkfs -t xfs /dev/md3 |
| 41 | }}} |
| 42 | * fstab entry |
| 43 | {{{ |
| 44 | /dev/md3 /mnt/server xfs noauto,noatime,allocsize=1GiB,largeio,swalloc,delaylog,nobarrier 0 0 |
| 45 | }}} |